Skip to main content
POST
{base_url}
/
v1
/
responses
/
input_tokens
Error
A valid request URL is required to generate request examples
{
  "input_tokens": 123,
  "object": "<string>"
}

Authorizations

Authorization
string
header
required

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

Body

application/json

Response input token request

context_management
any
conversation

Conversation accepts either a conversation ID string or an object with id.

include
string[]
input

string or []ResponsesInputElement — see docs for array form

instructions
string
max_output_tokens
integer
metadata
object
model
string
parallel_tool_calls
boolean
previous_response_id
string
prompt
any
prompt_cache_retention
string
provider
string

Gateway routing hint; stripped before upstream execution.

reasoning
object
safety_identifier
string
service_tier
string
store
boolean
temperature
number
text
any
tool_choice
any

string or object

tools
object[]
top_logprobs
integer
top_p
number
truncation
string
user
string

Response

OK

input_tokens
integer
object
string