API reference

Every operation in the Sparq API, generated from the published OpenAPI document.

This reference is generated from the same OpenAPI document the API is built from, so it always matches the contract (version 0.5.0). Operations that are defined but not built yet are marked Not available yet; see API status.

  • Base URL: https://api.sparqhq.ai, or http://127.0.0.1:8000 for a local stack.
  • Authentication: Authorization: Bearer <token> on every /v1 operation. See authentication.
  • Errors: RFC 9457 problem details. See errors.
  • Lists: cursor pagination. See pagination.

Runtime API

Called by your application at run time: identity, sessions, runs and features.

Admin API

Paths under /v1/admin: tenancy, compliance, credentials, models, observability, knowledge, tools, changes, access and safety.

Health

Liveness and readiness probes, with no authentication.

On this page