Skip to main content
The API follows OpenAI’s Chat Completions and Responses APIs, so OpenAI’s SDKs work with only the base URL changed. The endpoint pages are generated from the OpenAPI document at .

Base URL

Authentication

Send an API key as a Bearer token:
A missing, invalid or revoked key gets 401 invalid_api_key.

Endpoints

Both generation endpoints stream with stream: true. See Streaming. The Responses API doesn’t keep conversation state for you: previous_response_id and conversation are rejected, store: true doesn’t make responses retrievable, and past responses can’t be fetched by ID, so send the full history with each request. Notra still stores every request to either endpoint, with its prompt, the model’s plan and answer, and the information your SDK sends about itself, in your workspace’s Logs. See Data and privacy.

Request limits

  • Up to messages and of JSON per request.
  • Text only: images, files and audio are rejected.
  • Output limits are bounded by the model’s maximum and the room left in the context window. See Long context.

Chat Completions parameters

Responses parameters

Request IDs

Every response has an x-request-id header. Find the request in Logs by its ID, and include it when you contact support.
Last modified on December 5, 2026