Skip to main content
POST
/
v1
/
responses
Create a Model Response
curl --request POST \
  --url https://api.agipower.ai/v1/responses \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "model": "openai/gpt-5",
  "input": "Write a short API test.",
  "stream": false
}
'
{}

Documentation Index

Fetch the complete documentation index at: https://docs.agipower.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
model
string
required
Example:

"openai/gpt-5"

input
string
required
Example:

"Write a short API test."

stream
boolean
default:false

Response

200 - application/json

Response object or streaming event stream

The response is of type object.