Section ID:
DOC-API-MODEL-schema-1f7d7kh0s1#overview
ErrorDetails
Typed error details container. Concrete fields instead of Any for type safety across languages. At most one of each detail type.
Meaning and usage
Section ID: DOC-API-MODEL-schema-1f7d7kh0s1#meaning
See the definition above.
Usage profiles
Section ID: DOC-API-MODEL-schema-1f7d7kh0s1#fields
| Usage | Fields and validation |
|---|---|
| In requests | View fields |
| In responses | View fields |
In requests
Section ID: DOC-API-MODEL-schema-1f7d7kh0s1#request
API JSON uses JSON field names (camelCase).
| Field | Type | Presence | Meaning |
|---|---|---|---|
Section ID: DOC-API-MODEL-schema-1f7d7kh0s1#request-field-errorinfoerrorInfo | ErrorInfo | Optional | Identifies the error for machine consumption. Required on all errors by this error contract. |
Section ID: DOC-API-MODEL-schema-1f7d7kh0s1#request-field-retryinforetryInfo | RetryInfo | Optional | Retry guidance for transient errors. |
Section ID: DOC-API-MODEL-schema-1f7d7kh0s1#request-field-fieldviolationsfieldViolations | Array of FieldViolation | Optional | Field-level validation failures. |
Section ID: DOC-API-MODEL-schema-1f7d7kh0s1#request-field-upstreamerrorupstreamError | UpstreamError | Optional | Upstream provider error context. |
Section ID: DOC-API-MODEL-schema-1f7d7kh0s1#request-field-modelerrormodelError | ModelError | Optional | Model-specific error context. |
Section ID: DOC-API-MODEL-schema-1f7d7kh0s1#request-field-helplinkshelpLinks | Array of HelpLink | Optional | Help links for error resolution. |
In responses
Section ID: DOC-API-MODEL-schema-1f7d7kh0s1#response
API JSON uses JSON field names (camelCase).
| Field | Type | Presence | Meaning |
|---|---|---|---|
Section ID: DOC-API-MODEL-schema-1f7d7kh0s1#field-errorinfoSection ID: DOC-API-MODEL-schema-1f7d7kh0s1#response-field-errorinfoerrorInfo | ErrorInfo | Optional | Identifies the error for machine consumption. Required on all errors by this error contract. |
Section ID: DOC-API-MODEL-schema-1f7d7kh0s1#field-retryinfoSection ID: DOC-API-MODEL-schema-1f7d7kh0s1#response-field-retryinforetryInfo | RetryInfo | Optional | Retry guidance for transient errors. |
Section ID: DOC-API-MODEL-schema-1f7d7kh0s1#field-fieldviolationsSection ID: DOC-API-MODEL-schema-1f7d7kh0s1#response-field-fieldviolationsfieldViolations | Array of FieldViolation | Optional | Field-level validation failures. |
Section ID: DOC-API-MODEL-schema-1f7d7kh0s1#field-upstreamerrorSection ID: DOC-API-MODEL-schema-1f7d7kh0s1#response-field-upstreamerrorupstreamError | UpstreamError | Optional | Upstream provider error context. |
Section ID: DOC-API-MODEL-schema-1f7d7kh0s1#field-modelerrorSection ID: DOC-API-MODEL-schema-1f7d7kh0s1#response-field-modelerrormodelError | ModelError | Optional | Model-specific error context. |
Section ID: DOC-API-MODEL-schema-1f7d7kh0s1#field-helplinksSection ID: DOC-API-MODEL-schema-1f7d7kh0s1#response-field-helplinkshelpLinks | Array of HelpLink | Optional | Help links for error resolution. |
Where used
Section ID: DOC-API-MODEL-schema-1f7d7kh0s1#where-used
| Reference | Relationship |
|---|---|
| Send a message and wait for the result | POST /api/v1/llm/send-message-sync |
| Submit client-side tool results and wait for the next segment | POST /api/v1/llm/submit-client-tool-results-sync |
| Submit client-side tool execution results | POST /api/v1/llm/submit-client-tool-results |
Download the public reference contract.
Document ID: DOC-API-MODEL-schema-1f7d7kh0s1