API reference sections
Schema
AttemptResponse
Type object
Shape
| Field | Type | Description |
|---|---|---|
| attemptrequired | InferenceAttempt |
{
"attempt": {
"id": "00000000-0000-4000-8000-000000000000",
"operation_id": "string",
"chat_id": "00000000-0000-4000-8000-000000000000",
"assistant_message_id": "00000000-0000-4000-8000-000000000000",
"surface": "standalone",
"intent": "chat",
"provider": "string",
"requested_model": "string",
"resolved_model": "string",
"requested_reasoning": "default",
"effective_reasoning": "default",
"prompt_template_version": "string",
"status": "pending",
"queued_at": 0,
"context_started_at": 0,
"context_completed_at": 0,
"provider_started_at": 0,
"first_token_at": 0,
"completed_at": 0,
"request_payload_bytes": 0,
"web_search_requested": false,
"web_search_calls": 0,
"context_payload_bytes": 0,
"message_count": 0,
"context_document_count": 0,
"context_message_block_count": 0,
"usage": {
"prompt_tokens": 0,
"cached_prompt_tokens": 0,
"completion_tokens": 0,
"reasoning_tokens": 0,
"total_tokens": 0,
"source": "provider_reported"
},
"context_used_tokens": 0,
"context_limit_tokens": 0,
"stop_reason": "string",
"error_class": "configuration",
"provider_response_id": "string"
}
}The contract has no example values, so example bodies are generated from each schema: every field is shown with a placeholder of its type.
Used by
Generated from contract version 1. Last updated .
