Skip to main content
POST
Create response

인증

Authorization
string
header
필수

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

본문

application/json
model
string
필수

Target model ID.

예시:

"openai/gpt-4o"

input

Input text or structured input items.

stream
boolean
기본값:false

Enable streaming.

응답

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.