Synthorai management API
API by Synthorai · rest
The management API is everything under /api/v1. It is separate from the inference API (/v1), which model calls use. Credentials. An admin key (sk-syn-admin-...), created in the console by an admin or the owner, sent as Authorization: Bearer <key>. A key holds scopes named resource.action; a .write scope includes its .read. An inference key is refused here with 401 (code: wrong_key_kind), and an admin key without the scope a route needs with 403 (code: insufficient_scope). Answers. A success is {"data": ..., "meta": {...}}. A failure is {"error": {"type", "code", "message", "hint", "request_id"}}: branch on type, then on code. Paging. Lists take limit and cursor. Pass meta.next_cursor of one page as the cursor of the next; meta.has_more says whether there is one. Limits. Each family of routes has a budget per workspace per minute. Every answer carries X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset (seconds…
Endpoint: https://synthorai.io/
Verification: observed. Source: crawl.
Capabilities (42)
- List audit log entries
- What the workspace can spend now
- How complete the usage data is
- One row per request for incremental sync
- The same rows as a stream of NDJSON
- Totals the top keys and models and anomalies
- Usage in time buckets
- Read the provider credentials in use
- List export destinations
- List invitations
- List inference keys
- Create an inference key
- Read one key
- Change a key
- Delete a key
- Give a key a new secret
- List members
- This document
- Grade answers with text checks
- List prompts
- Create a prompt
- Read a prompt
- Delete a prompt
- List runs
- Start a run