Create a chat
POST/api/v1/chats
Creates a new chat resource bound to an AI provider.
Request
Responses
- 201
- 400
- 401
- 403
- 404
- 413
- 429
- 500
Chat created
Bad Request
Unauthorized
Forbidden
AI provider not found
REQUEST_REJECTED — the request body is over the size the body parser accepts
QUOTA_EXCEEDED — a requests quota on the calling API key or its project is spent for the window; Retry-After says when it reopens
Response Headers
Retry-After
Seconds until the quota window admits a request again
Unexpected server error — INTERNAL_ERROR, with the raw message never forwarded