responses

Count response input tokens

Changed on
post/v1/responses/input_tokens

Request

  • Base URL
    http://localhost:8080
  • URL
    http://localhost:8080/v1/responses/input_tokens
  • Auth
    HTTP bearer

Request body

context_managementunknown
includestring[]
instructionsstring
max_output_tokensinteger
metadataobject
modelstring
parallel_tool_callsboolean
previous_response_idstring
promptunknown
prompt_cache_retentionstring
providerstring

Gateway routing hint; stripped before upstream execution.

safety_identifierstring
service_tierstring
storeboolean
temperaturenumber
textunknown
tool_choiceunknown
toolsobject[]
top_logprobsinteger
top_pnumber
truncationstring
userstring

Response

OK

input_tokensinteger
objectstring

Changes

    • info

      added the new optional request property //////

    • warning

      added the new internal_error enum value to the / response property for the response status

    • warning

      added the new internal_error enum value to the / response property for the response status

    • warning

      added the new internal_error enum value to the / response property for the response status

    • warning

      added the new internal_error enum value to the / response property for the response status

    • info

      added the new optional request property ///