Gateway
Create batch
Creates an async batch job and returns the upstream batch object. Batch creation supports OpenAI, Anthropic, Google Gemini, Mistral, xAI, Groq, and Together AI through the requested model. The gateway infers the upstream provider from the model and also accepts session_id and webhook for observability and async notifications. Use provider only as an advanced routing constraint.
post/batches
Request
- Base URL: https://api.phaseo.app/v1
- URL: https://api.phaseo.app/v1/batches
- Auth: HTTP bearer
Request body
Response
Batch status response
Example response
{
"webhook": {
"delivery": {
"delivered_event_types": [
"video.completed"
]
},
"attempts": [
{
"delivery_key": "video.completed",
"event_type": "video.completed"
}
]
}
}Changes
No recorded changes to this operation across all 1 revision of this API.