Base URL
Authentication
Send an API key as a Bearer token: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 anx-request-id header. Find the request in Logs by its ID, and include it when you contact support.