API specification
Reference for integrations across text, agent, media, and retrieval workflows.
https://cicora.ai/api/v1https://cicora.ai/apiIntegration reference: choose parameters and available capabilities from your account API settings and the model catalogue for your environment.
Send a first requestGet started
Send a first request, select a model from the catalogue, and retain a request identifier for diagnosis.
AuthenticationSend an API key in a Bearer header and keep production credentials separate from development credentials.
SDKs and HTTP clientsUse different base URLs for OpenAI-style and Messages clients: they target one specification but compose paths differently.
CLI and integrationsConfigure a client with a key, model, and base URL that matches its protocol; keep the secret in the environment.
Developer FAQShort practical answers about keys, base URLs, models, cost, and integration diagnosis.
Account and catalogue
Build model selection from catalogue data instead of a hard-coded list in your application.
Teams and API keysSeparate keys, owners, budgets, and usage traces across applications and workspaces.
LimitsTreat key, organization, model, and routing limits as part of the user workflow.
Usage and costConnect response metadata and your own request logs to real user actions.
Data and privacyMinimize transmitted data, separate an end-user identifier from content, and control retention in your product.
Text and agents
Create multi-turn conversations in the familiar messages format and select a model for each request.
Messages APIUse the Messages format for conversations with a top-level system instruction and an explicit output limit.
Responses APIUse one input object when your application benefits from handling output items and actions in a single data model.
StreamingReceive tokens and structured deltas through SSE without waiting for the complete response.
Tools and function callingDescribe functions with JSON Schema, execute the call in your application, and return the result to the conversation.
Structured outputsRequest a JSON object or JSON Schema when software, rather than a person, will consume the response.
ReasoningSet reasoning effort per request only for models that declare the capability.
RoutingExpress execution requirements in provider preferences and retain the actual outcome for observability.
Context cachingSeparate recurring context so a client can use compatible caching where the chosen model supports it.
Web searchRetrieve fresh sources through a client-executed `web_search` function and keep links separate from generated text.
Media and retrieval
Upload a file through a dedicated operation, retain its id, and pass a reference in a later compatible request.
ImagesCreate images through one route and select parameters from the capabilities of the chosen model.
VideoStart video as an asynchronous job, retain its job id, and keep creation separate from reading the result.
AudioUse separate operations for speech synthesis, transcription, and audio input to a model.
EmbeddingsTransform text or supported inputs into vectors for search, clustering, and recommendations.
RerankReorder a small set of candidates against a query to improve the precision of final retrieval.
Batch executionProcess independent operations in controlled groups when the workflow permits asynchronous delivery.