SabiPT Developer API Documentation & Live Playground
Explore every endpoint available on the SabiPT Developer Platform. Inspect complete request & response schemas with strict data types, configure parameters visually or via raw JSON, and click “Try it out → Execute” to test live calls directly in your browser.
Chat & Text Generation
Core AI4 endpointsSynchronous and real-time streaming chat completions, multimodal reasoning, grounded search, and structured text generation powered by Amara, Zanzibar, Akasha, Shango, and Kilima models.
Generates a complete model response for a given prompt and optional multimodal attachments (images, PDFs, audio). Automatically deducts consumed tokens from the authenticated project's balance.
URL Path & Query Parameters
| Parameter | Data Type | In | Description | Test Value |
|---|---|---|---|---|
| apiKeyoptional | string | query | Optional project API key passed via query string if not provided in the x-api-key request header. |
Request Body & Parameters
application/jsonThe primary user instruction, question, or conversation message to send to the model.
"amara-3-pro"Identifier of the SabiPT foundation model to execute.
System-level instructions defining persona, tone, domain constraints, or output formatting rules.
"1.0"Sampling temperature between 0.0 and 2.0. Lower values (e.g. 0.2) produce deterministic outputs; higher values increase creativity.
"0.95"Nucleus sampling threshold between 0.0 and 1.0. Controls cumulative probability mass of candidate tokens.
"32768"Maximum number of completion tokens to generate in the response.
Array of custom strings that will immediately halt token generation when encountered.
"High"Controls depth of internal chain-of-thought reasoning before emitting the final response.
"true"When true, enables live web search grounding to verify facts and cite up-to-date information.
"false"Enforces strict JSON structure formatting in the model output.
"false"Enables sandboxed code execution during model reasoning for math and data analysis.
"false"Enables structured tool and function call generation.
Optional Base64-encoded image, PDF, or audio payload for single-file multimodal inspection.
Optional public HTTPS URL pointing to an image, document, or media file to analyze.
MIME type of the provided mediaBase64 or mediaUrl (e.g. 'image/jpeg', 'image/png', 'application/pdf').
Array of multimodal file attachments. Each item supports { mimeType: string, dataBase64?: string, fileUrl?: string, inlineData?: { mimeType: string, data: string } }.
200 OK Response Fields & Data Types
| Field | Data Type | Description |
|---|---|---|
| id | string | Unique response identifier (e.g. resp_...). |
| model | string | Model ID used to generate the completion. |
| output | string | Generated markdown/text completion from the model. |
| done | boolean | Indicates whether generation completed. |
| timestamp | string (ISO-8601) | UTC timestamp of completion. |
| usage.estimatedTokens | integer | Total tokens deducted from the project balance. |
Live Interactive Tester
{
"id": "resp_1792228000123_a8f9k",
"model": "amara-3-pro",
"output": "Quantum entanglement occurs when two particles become deeply linked so that the state of one instantly determines the state of the other, no matter how far apart they are...",
"done": true,
"timestamp": "2026-10-17T09:30:00.000Z",
"usage": {
"estimatedTokens": 184
}
}Multimodal Media (Image, Audio, Video)
Generative Media7 endpointsPhotorealistic image generation (Zouk Art Pro), neural speech & music synthesis (Calypso Audio Pro), real-time duplex voice sessions (Oruko Live Audio), and 4K cinematic video synthesis (Bini Video Pro).
Autonomous Agents
Agentic AI2 endpointsMulti-step autonomous reasoning agents equipped with web search, sandboxed code execution, mathematical calculators, and indigenous knowledge retrieval.