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

ModelError

Model-specific error context.

Meaning and usage​

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

See the definition above.

Usage profiles​

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

UsageFields and validation
In requestsView fields
In responsesView fields

In requests​

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

API JSON uses JSON field names (camelCase).

FieldTypePresenceMeaning
Section ID: DOC-API-MODEL-schema-1f2939tg20#request-field-modelidmodelIdstringOptionalThe model ID that caused the error.
Section ID: DOC-API-MODEL-schema-1f2939tg20#request-field-reasonreasonstringOptionalWhy the model failed (e.g., "invalid", "unavailable", "moderation_flagged").
Section ID: DOC-API-MODEL-schema-1f2939tg20#request-field-alternativestriedalternativesTriedArray of stringOptionalAlternative models that were tried or could be tried.

In responses​

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

API JSON uses JSON field names (camelCase).

FieldTypePresenceMeaning
Section ID: DOC-API-MODEL-schema-1f2939tg20#field-modelidSection ID: DOC-API-MODEL-schema-1f2939tg20#response-field-modelidmodelIdstringOptionalThe model ID that caused the error.
Section ID: DOC-API-MODEL-schema-1f2939tg20#field-reasonSection ID: DOC-API-MODEL-schema-1f2939tg20#response-field-reasonreasonstringOptionalWhy the model failed (e.g., "invalid", "unavailable", "moderation_flagged").
Section ID: DOC-API-MODEL-schema-1f2939tg20#field-alternativestriedSection ID: DOC-API-MODEL-schema-1f2939tg20#response-field-alternativestriedalternativesTriedArray of stringOptionalAlternative models that were tried or could be tried.

Where used​

Section ID: DOC-API-MODEL-schema-1f2939tg20#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-1f2939tg20