Recover a conversation
GET
/api/intake/{conversation_id}/recover
const url = 'https://example.com/api/intake/example/recover';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/api/intake/example/recover \ --header 'Authorization: Bearer <token>'Returns the full recovery payload for a conversation: state, files, messages (last 50), progress info, and canvas_url if complete. Used to restore the chat UI after a page refresh or tab close.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” conversation_id
required
Conversation Id
string
Responses
Section titled “ Responses ”Successful Response
Media type application/json
RecoverResponse
object
conversation_id
required
Conversation Id
string
status
required
Status
string
stage_slug
required
Stage Slug
string
files
Files
object
key
additional properties
any
messages
Messages
Array<object>
object
key
additional properties
any
created_at
Any of:
Created At
null
file_count
File Count
integer
progress_step
Progress Step
string
archived
Archived
boolean
Example
{ "files": {}, "messages": [], "file_count": 0, "progress_step": "Unknown", "archived": false}Validation Error
Media type application/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object
Example generated
{ "detail": [ { "loc": [ "example" ], "msg": "example", "type": "example", "input": "example", "ctx": {} } ]}