Skip to main content
POST
Create response

Autorizaciones

Authorization
string
header
requerido

Your DGrid API key. All endpoints use Authorization: Bearer <DGRID_API_KEY>.

Cuerpo

application/json
model
string
requerido

Target model ID.

Ejemplo:

"openai/gpt-4o"

input

Input text or structured input items.

stream
boolean
predeterminado:false

Enable streaming.

Respuesta

Response object.

id
string

Response identifier.

object
string

Always response.

created_at
integer

Creation timestamp.

status
string

Response lifecycle state.

model
string

Model used for inference.

output
object[]

Output items.

usage
object

Token usage breakdown.