3 endpoints at https://api.vaif.studio, generated from the API's OpenAPI document. The REST API page covers authentication, and All endpoints lists every group.
GET /security/overview/{projectId}
| Parameter | In | Type | Required |
|---|
projectId | path | string | Yes |
Response 200 (application/json)
{
overview: {
apiKeysActive: number;
secretsCount: number;
ciTokensActive: number;
envVarsCount: number;
lastSecurityEvent: string;
lastSecurityAction: string;
};
}
GET /security/audit/{projectId}
| Parameter | In | Type | Required |
|---|
projectId | path | string | Yes |
limit | query | string | No |
offset | query | string | No |
Response 200 (application/json)
{
logs: { [key: string]: any }[];
total: number;
retentionDays: number;
}
GET /security/variables/project/{projectId}
| Parameter | In | Type | Required |
|---|
projectId | path | string | Yes |
envId | query | string | No |
Response 200 (application/json)
{
envId: string;
variables: {
id: string;
store: "env_var" | "function_secret";
name: string;
kind: "public" | "secret";
value: null | string;
envId: null | string;
environment: string;
usedBy: string[];
updatedAt: null | string;
createdAt: string;
}[];
}