Saved schemas endpoints
2 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.
POST /schemas/
Save a project schema
Request body (application/json, required)
{
projectId: string (uuid);
envId?: string (uuid);
name?: string;
schema: any;
}Response 200 (application/json)
{
id: string;
projectId: string;
envId?: string | null;
name: string;
schema?: any;
createdAt: string | string (date-time);
}Errors: 400, 401, 403, 404, 409, with the error body.
GET /schemas/project/{projectId}
List schemas for a project
| Parameter | In | Type | Required |
|---|---|---|---|
projectId | path | string (uuid) | Yes |
Response 200 (application/json)
{
id: string;
projectId: string;
envId?: string | null;
name: string;
schema?: any;
createdAt: string | string (date-time);
}[]Errors: 401, 403, with the error body.