Skip to main content
POST
Model Responses Compact

Authorizations

Authorization
string
header
required

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

Headers

x-tfy-metadata
string

Optional metadata for the request

x-tfy-provider-name
string

Name of the provider

Body

application/json

Parameters for compact model response.

model
string
required

Model identifier

input
any

Text, image, or file inputs to the model

instructions
string | null

System message as first item in context

previous_response_id
string | null

ID of previous response for multi-turn

Response

200 - application/json

Compacted response payload.