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

UpstreamError

Context from an upstream provider error, including the provider name when reported.

Meaning and usage​

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

See the definition above.

Usage profiles​

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

UsageFields and validation
In requestsView fields
In responsesView fields

In requests​

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

API JSON uses JSON field names (camelCase).

FieldTypePresenceMeaning
Section ID: DOC-API-MODEL-schema-1f66rlcp5a#request-field-providerproviderstringOptionalName of the upstream provider that reported the error.
Section ID: DOC-API-MODEL-schema-1f66rlcp5a#request-field-statuscodestatusCodestring (int64)OptionalHTTP status code returned by the provider. Pattern: ^-?\d+$.
Section ID: DOC-API-MODEL-schema-1f66rlcp5a#request-field-rawbodyrawBodystringOptionalRaw error body from the provider, truncated to 512 bytes.

In responses​

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

API JSON uses JSON field names (camelCase).

FieldTypePresenceMeaning
Section ID: DOC-API-MODEL-schema-1f66rlcp5a#field-providerSection ID: DOC-API-MODEL-schema-1f66rlcp5a#response-field-providerproviderstringOptionalName of the upstream provider that reported the error.
Section ID: DOC-API-MODEL-schema-1f66rlcp5a#field-statuscodeSection ID: DOC-API-MODEL-schema-1f66rlcp5a#response-field-statuscodestatusCodestring (int64)OptionalHTTP status code returned by the provider. Pattern: ^-?\d+$.
Section ID: DOC-API-MODEL-schema-1f66rlcp5a#field-rawbodySection ID: DOC-API-MODEL-schema-1f66rlcp5a#response-field-rawbodyrawBodystringOptionalRaw error body from the provider, truncated to 512 bytes.

Where used​

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

ReferenceRelationship
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
Submit client-side tool execution resultsPOST /api/v1/llm/submit-client-tool-results
Models containing this value
ModelRelationship
ErrorDetailsNested in model
ErrorDetailsNested in model

Download the public reference contract.

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