Skip to content

API

This section contains the Xylolabs HTTP API reference.

The API is documented in two languages, with identical surface and semantics:

Health endpoints

Authentication

The API supports two authentication mechanisms:

  1. Session cookie — issued by the admin dashboard POST /api/auth/login flow.
  2. API key — issued via /api-keys in the admin dashboard. Sent as Authorization: Bearer <key>.

See the language-specific reference for the full authentication, role, and rate-limit details.