Skip to main content

Base URL

Moderation and platform endpoints are under /api/v1. The health check is at the root (/health).

Authentication

All endpoints except /health require a Bearer token in the Authorization header. See authentication for details.

Content types

  • Moderation submissions: multipart/form-data (prompt text and image/video URLs sent as form fields)
  • Other requests: application/json
  • All responses: application/json (except SSE progress streams which return text/event-stream)

Versioning

The API is versioned via URL path. The current version is v1. All moderation, job, usage, and webhook endpoints are prefixed with /api/v1/.

Endpoints

Client endpoints

Admin endpoints

Requires the admin:config scope. See authentication.