Skip to main content
Section ID: DOC-API-MODEL-schema-1geaq4stvt#overview

ProviderMaxPrice

Routing / provider preferences (generic superset)

Type-reference view: API Schema 9frhv4euve, API Schema 9ftjkkjhfa. Request and response views describe this type; they do not declare an endpoint.

Meaning and usage​

Section ID: DOC-API-MODEL-schema-1geaq4stvt#meaning

See the definition above.

Usage profiles​

Section ID: DOC-API-MODEL-schema-1geaq4stvt#fields

UsageFields and validation
In requestsView fields
In responsesView fields

In requests​

Section ID: DOC-API-MODEL-schema-1geaq4stvt#request

API JSON uses JSON field names (camelCase).

FieldTypePresenceMeaning
Section ID: DOC-API-MODEL-schema-1geaq4stvt#request-field-promptpromptnumber (double) or string (NaN, Infinity, -Infinity)Optional$/1M prompt tokens.
Section ID: DOC-API-MODEL-schema-1geaq4stvt#request-field-completioncompletionnumber (double) or string (NaN, Infinity, -Infinity)Optional$/1M completion tokens.
Section ID: DOC-API-MODEL-schema-1geaq4stvt#request-field-requestrequestnumber (double) or string (NaN, Infinity, -Infinity)OptionalSee meaning below.
Section ID: DOC-API-MODEL-schema-1geaq4stvt#request-field-imageimagenumber (double) or string (NaN, Infinity, -Infinity)OptionalSee meaning below.
Section ID: DOC-API-MODEL-schema-1geaq4stvt#request-field-audioaudionumber (double) or string (NaN, Infinity, -Infinity)Optional$/1M audio tokens.

request

Maximum provider cost allowed per request, in US dollars.

$/request

image

Maximum provider cost allowed per image, in US dollars.

$/image

In responses​

Section ID: DOC-API-MODEL-schema-1geaq4stvt#response

API JSON uses JSON field names (camelCase).

FieldTypePresenceMeaning
Section ID: DOC-API-MODEL-schema-1geaq4stvt#field-promptSection ID: DOC-API-MODEL-schema-1geaq4stvt#response-field-promptpromptnumber (double) or string (NaN, Infinity, -Infinity)Optional$/1M prompt tokens.
Section ID: DOC-API-MODEL-schema-1geaq4stvt#field-completionSection ID: DOC-API-MODEL-schema-1geaq4stvt#response-field-completioncompletionnumber (double) or string (NaN, Infinity, -Infinity)Optional$/1M completion tokens.
Section ID: DOC-API-MODEL-schema-1geaq4stvt#field-requestSection ID: DOC-API-MODEL-schema-1geaq4stvt#response-field-requestrequestnumber (double) or string (NaN, Infinity, -Infinity)OptionalSee meaning below.
Section ID: DOC-API-MODEL-schema-1geaq4stvt#field-imageSection ID: DOC-API-MODEL-schema-1geaq4stvt#response-field-imageimagenumber (double) or string (NaN, Infinity, -Infinity)OptionalSee meaning below.
Section ID: DOC-API-MODEL-schema-1geaq4stvt#field-audioSection ID: DOC-API-MODEL-schema-1geaq4stvt#response-field-audioaudionumber (double) or string (NaN, Infinity, -Infinity)Optional$/1M audio tokens.

request

Maximum provider cost allowed per request, in US dollars.

$/request

image

Maximum provider cost allowed per image, in US dollars.

$/image

Where used​

Section ID: DOC-API-MODEL-schema-1geaq4stvt#where-used

ReferenceRelationship
Create an agent profilePOST /api/v1/agent-profiles/create
Get an agent profilePOST /api/v1/agent-profiles/get
Import a prompt libraryPOST /api/v1/agent-profiles/import
List agent profilesPOST /api/v1/agent-profiles/list
Update an agent profilePOST /api/v1/agent-profiles/update
Withdraw your rating on a messagePOST /api/v1/llm/delete-message-rating
Get full conversation statePOST /api/v1/llm/conversation-state
Rate an assistant messagePOST /api/v1/llm/rate-message
Send a message and wait for the resultPOST /api/v1/llm/send-message-sync
Submit client-side tool results and wait for the next segmentPOST /api/v1/llm/submit-client-tool-results-sync
Update context management settingsPOST /api/v1/llm/update-context-management-settings
Update default generation configPOST /api/v1/llm/update-default-generation-config
Get the caller's end-user profilePOST /api/v1/enduser/get
Append a message without generatingPOST /api/v1/llm/append-message
Create a new conversation threadPOST /api/v1/llm/create-thread
Send a message to a conversationPOST /api/v1/llm/send-message
Update the caller's default generation configPOST /api/v1/enduser/update-generation-config
ReceiveMessageRequestAPI JSON uses JSON field names (camelCase).
ClientToolDispatchAPI JSON uses JSON field names (camelCase).
Models containing this value
ModelRelationship
ProviderPreferencesNested in model
ProviderPreferencesNested in model

Download the public reference contract.

Document ID: DOC-API-MODEL-schema-1geaq4stvt