1curl https://api.letta.com/v1/messages/batches/batch_id/messages \2 -H "Authorization: Bearer <token>"
1{2 "messages": [3 {4 "role": "assistant",5 "created_by_id": "string",6 "last_updated_by_id": "string",7 "created_at": "2024-01-15T09:30:00Z",8 "updated_at": "2024-01-15T09:30:00Z",9 "id": "message-123e4567-e89b-12d3-a456-426614174000",10 "agent_id": "string",11 "model": "string",12 "content": [13 {14 "type": "omitted_reasoning"15 }16 ],17 "name": "string",18 "tool_calls": [19 {20 "id": "string",21 "function": {22 "arguments": "string",23 "name": "string"24 },25 "type": "string"26 }27 ],28 "tool_call_id": "string",29 "step_id": "string",30 "run_id": "string",31 "otid": "string",32 "tool_returns": [33 {34 "status": "success",35 "stdout": [36 "string"37 ],38 "stderr": [39 "string"40 ]41 }42 ],43 "group_id": "string",44 "sender_id": "string",45 "batch_item_id": "string",46 "is_err": true,47 "approval_request_id": "string",48 "approve": true,49 "denial_reason": "string"50 }51 ]52}
Header authentication of the form Bearer <token>
Bearer <token>
100
desc
created_at