Authorization
Your bearer token:
Bearer <token>. See Authentication.Request body
The prompt to send. Must be a non-empty string.
Request
Response
A unique identifier (UUID) for this request/response exchange.
The generated response text.
200 OK
Errors
| Status | Code | When |
|---|---|---|
400 | VALIDATION_ERROR | The body is missing prompt or it is empty. |
401 | UNAUTHORIZED | The bearer token is missing, invalid, or expired. |
502 | UPSTREAM_ERROR | The generation provider could not be reached. |
503 | DATABASE_ERROR | The request could not be persisted; retry. |