Interactive Swagger UIv1.0.0OAS 3.1.013 Live Endpoints

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 endpoints

Synchronous 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

ParameterData TypeInDescriptionTest Value
apiKeyoptionalstringqueryOptional project API key passed via query string if not provided in the x-api-key request header.

Request Body & Parameters

application/json
promptstringrequired

The primary user instruction, question, or conversation message to send to the model.

modelstringoptionaldefault: "amara-3-pro"

Identifier of the SabiPT foundation model to execute.

Allowed values:
systemInstructionstringoptional

System-level instructions defining persona, tone, domain constraints, or output formatting rules.

temperaturenumber (float)optionaldefault: "1.0"

Sampling temperature between 0.0 and 2.0. Lower values (e.g. 0.2) produce deterministic outputs; higher values increase creativity.

topPnumber (float)optionaldefault: "0.95"

Nucleus sampling threshold between 0.0 and 1.0. Controls cumulative probability mass of candidate tokens.

maxTokensintegeroptionaldefault: "32768"

Maximum number of completion tokens to generate in the response.

stopSequencesstring[]optional

Array of custom strings that will immediately halt token generation when encountered.

thinkingLevelstringoptionaldefault: "High"

Controls depth of internal chain-of-thought reasoning before emitting the final response.

Allowed values:
groundingbooleanoptionaldefault: "true"

When true, enables live web search grounding to verify facts and cite up-to-date information.

structuredOutputsbooleanoptionaldefault: "false"

Enforces strict JSON structure formatting in the model output.

codeExecutionbooleanoptionaldefault: "false"

Enables sandboxed code execution during model reasoning for math and data analysis.

functionCallingbooleanoptionaldefault: "false"

Enables structured tool and function call generation.

mediaBase64string (base64)optional

Optional Base64-encoded image, PDF, or audio payload for single-file multimodal inspection.

mediaUrlstring (uri)optional

Optional public HTTPS URL pointing to an image, document, or media file to analyze.

mimeTypestringoptional

MIME type of the provided mediaBase64 or mediaUrl (e.g. 'image/jpeg', 'image/png', 'application/pdf').

filesMediaPartInput[]optional

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

FieldData TypeDescription
idstringUnique response identifier (e.g. resp_...).
modelstringModel ID used to generate the completion.
outputstringGenerated markdown/text completion from the model.
donebooleanIndicates whether generation completed.
timestampstring (ISO-8601)UTC timestamp of completion.
usage.estimatedTokensintegerTotal tokens deducted from the project balance.

Live Interactive Tester

https://staging-sabipt-developer-api-qvk2.encr.app/api/v1/chat
Example 200 OK Response (Click Execute for live response)
{
  "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 endpoints

Photorealistic 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 endpoints

Multi-step autonomous reasoning agents equipped with web search, sandboxed code execution, mathematical calculators, and indigenous knowledge retrieval.