v1
latestOpenAPI 3.0.02026-07-174565114.3 KBthreads
put/threads/{id}/messages/{messageId}/component-state
Path parameters
idstring required
Example:thr_123.456
Id of the thread that contains the message
messageIdstring required
Example:msg_123.456
Id of the message to update component state for
Request body
Response
Example response
{
"content": [
{
"resource": {
"uri": "file:///path/to/document.pdf",
"name": "project-documentation.pdf",
"description": "Project documentation for Q4 2024",
"mimeType": "application/pdf",
"text": "The contents of the document...",
"blob": "SGVsbG8gV29ybGQh"
}
}
]
}