retrieve_stateful_response
Fetch previously saved conversation responses from xAI servers to review past interactions or recover lost conversations from the last 30 days using response IDs.
Instructions
Fetches a previously saved stateful conversation response from xAI's servers.
Use this to look up old conversations or check what was said in a previous
exchange. Helpful if you lost track of a conversation or want to review past
interactions. Works with any response_id from the last 30 days.
Args:
response_id: The ID of the response you want to retrieve
Returns a dict with all the details: 'content', 'response_id', 'model',
'created_at', 'status', 'reasoning' (if available), 'usage', and
'previous_response_id' (if it was part of a chain).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| response_id | Yes |
Input Schema (JSON Schema)
{
"properties": {
"response_id": {
"title": "Response Id",
"type": "string"
}
},
"required": [
"response_id"
],
"type": "object"
}