Logs endpoints
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 /logs/project/{projectId}
List logs for a project
| Parameter | In | Type | Required |
|---|---|---|---|
limit | query | number | No |
level | query | "debug" | "info" | "warn" | "error" | No |
projectId | path | string (uuid) | Yes |
Response 200 (application/json)
{
id: string;
projectId: string | null;
level?: string | null;
message?: string | null;
createdAt?: string | string (date-time);
}[]Errors: 400, 401, 403, with the error body.
GET /logs/project/{projectId}/feed
Read a project's log feed (data API requests, platform requests, function lines) with server filters and cursors
| Parameter | In | Type | Required |
|---|---|---|---|
envId | query | string | No |
since | query | string (date-time) | No |
until | query | string (date-time) | No |
level | query | string | No |
source | query | string | No |
q | query | string | No |
request | query | string | No |
before | query | string | No |
after | query | string | No |
limit | query | number | No |
projectId | path | string (uuid) | Yes |
Response 200 (application/json)
{
entries: {
id: string;
time: string;
level: string;
source: "api" | "platform" | "functions";
message: string;
requestId: string | null;
envId: string | null;
functionName: string | null;
meta: { [key: string]: any };
}[];
hasMore: boolean;
cursor: {
before: string | null;
after: string | null;
};
window?: {
since: string;
};
}Errors: 400, 401, 403, 404, 429, with the error body.
GET /logs/project/{projectId}/stream
Stream live logs for a project (SSE)
| Parameter | In | Type | Required |
|---|---|---|---|
projectId | path | string (uuid) | Yes |
Response 200
No body.