Skip to content

Jobs 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 /jobs/webhooks/project/{projectId}

ParameterInTypeRequired
projectIdpathstringYes
Response 200 (application/json)
{
  deliveries: {
    id: string;
    status: string;
    attemptCount: number;
    lastAttemptAt: null | string (date-time);
    nextAttemptAt: null | string (date-time);
    responseStatus: null | number;
    createdAt: string (date-time);
  }[];
}

GET /jobs/webhooks/delivery/{deliveryId}

ParameterInTypeRequired
deliveryIdpathstringYes
Response 200 (application/json)
{
  delivery: {
    id: string;
    subscriptionId: string;
    eventId: string;
    status: string;
    attemptCount: number;
    lastAttemptAt: null | string (date-time);
    nextAttemptAt: null | string (date-time);
    responseStatus: null | number;
    responseBody: null | string;
    errorMessage: null | string;
    durationMs: null | number;
    createdAt: string (date-time);
  };
}

GET /jobs/dlq/project/{projectId}

ParameterInTypeRequired
projectIdpathstringYes
Response 200 (application/json)
{
  deliveries: {
    webhook_deliveries: {
      id: string;
      subscriptionId: string;
      eventId: string;
      status: string;
      attemptCount: number;
      lastAttemptAt: null | string (date-time);
      nextAttemptAt: null | string (date-time);
      responseStatus: null | number;
      responseBody: null | string;
      errorMessage: null | string;
      durationMs: null | number;
      createdAt: string (date-time);
    };
    events: {
      id: string;
      orgId: null | string;
      projectId: null | string;
      envId: null | string;
      name: string;
      source: string;
      actorType: string;
      actorId: null | string;
      payload: any;
      redactedPayload: any;
      createdAt: string (date-time);
    };
  }[];
}