v3

latestOpenAPI 3.1.0raw.githubusercontent.com2026-05-122117.1 KB
Responses

Send input to a model and receive a response

post/responses

Request body

modelstring required

Model identifier from the ZeroGPU dashboard (e.g. summarization or IAB classify).

metadataobject

Optional model-specific parameters (e.g. PII mask, usecase). Omit when not required.

Example request

{
  "text": {
    "format": {
      "type": "text"
    }
  }
}

Response

Success

idstring required
objectstring required
createdinteger required

Unix timestamp when the response was created

modelstring required

Example response

{
  "id": "resp_abc123",
  "object": "response",
  "output": [
    {
      "type": "message",
      "role": "assistant",
      "content": [
        {
          "type": "output_text"
        }
      ]
    }
  ]
}
All 2 operations