Agentyk API documentation
The Agentyk API gives you the AgentykLM model lineup, speech, knowledge and decision services through one API, hosted in the EU. The inference endpoints are compatible with the OpenAI API, so existing clients work by changing the base URL to https://api.agentyk.xyz/v1. This page is the interactive reference; it loads the live OpenAPI specification, so it always matches the running API.
Authentication
Authenticate every request with an agk_ API key, sent as Authorization: Bearer agk_... or in the X-API-Key header. Create and revoke keys in your dashboard. One key works across every model tier and service in your plan.
Errors and retries
Errors are JSON with the HTTP status. 401 means a missing or invalid key, 403 means the feature is not in your plan, and 429 means a rate, quota or capacity limit: honour Retry-After when present. 502, 503 and 504 are temporary and safe to retry. Failed requests are not billed.
Inference
Chat completions, model listing, embeddings and reranking, compatible with the OpenAI API so existing clients and SDKs work by changing the base URL.
POST /v1/chat/completions: Chat completion, with streaming, tools and strict JSON schema outputGET /v1/models: List the available AgentykLM model tiersPOST /v1/embeddings: Create embeddingsPOST /v1/rerank: Rerank documents against a query
Audio
Transcription with Agentyk Scribe, speech synthesis and your own cloned voices.
POST /v1/audio/transcriptions: Transcribe audioPOST /v1/audio/speech: Synthesize speechPOST /v1/voices: Register a cloned voice from a reference clipGET /v1/voices: List your cloned voices
Realtime
Live sessions over WebSocket for live transcription, voice and avatar.
GET /v1/realtime: Open a realtime session
Knowledge
Agentyk Knowledge: ingest documents into your own knowledge graph and get grounded, cited answers in which every claim traces to its source sentence.
POST /v1/knowledge/ingest/file: Ingest a file (PDF, Office, text, HTML, email, audio)POST /v1/knowledge/ground: Grounded retrieval over your knowledge graphPOST /v1/knowledge/ground/answer: A cited natural-language answerGET /v1/knowledge/verify/{code}: Verify a claimPOST /v1/knowledge/sparql: Read-only SPARQL query
Decision
Agentyk Decision answers yes/no, choice and score questions about a text, with probabilities.
POST /v1/decisions: Ask one or more questions about a text
Account
Manage API keys, read your usage and costs, and read the public plan and rate information.
GET /api/keys: List API keysPOST /api/keys: Create an API keyGET /v1/usage: Your usage and cost by day and productGET /api/subscriptions/plans: List plansGET /api/credits/rates: Published rate card