OpenAI Responses
Relayed to an OpenAI model as sent, apart from model; store is sent as false. previous_response_id, conversation, prompt, item references, file_search and image_generation are refused.
post/v1/responses
Request
- Base URLhttps://api.agentlab.cresclab.com
- Auth
- HTTP bearer
- or API key in header x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
X-AgentLab-Routing'auto' | 'auto:cost' | 'auto:balanced' | 'auto:quality'
Let the Gateway choose the model although the body names one, with that preference.
Idempotency-Keystring
Request body
Response
The model's answer, or a text/event-stream when stream is true.
object required
Changes
No recorded changes to this operation across all 1 revision of this API.