Introduction
Core Concepts
REST API
Integrations
Playground
List run events
Returns a list of events emitted by the run.
GET
/
runs
/
{run_id}
/
events
Copy
Ask AI
curl --request GET \
--url http://localhost:8000/runs/{run_id}/events
Copy
Ask AI
{
"events": [
{
"type": "<string>",
"message": {
"role": "user",
"parts": [
{
"name": "<string>",
"content_type": "<string>",
"content": "<string>",
"content_encoding": "plain",
"content_url": "<string>",
"metadata": {
"kind": "<string>",
"start_index": 123,
"end_index": 123,
"url": "<string>",
"title": "<string>",
"description": "<string>"
}
}
],
"created_at": "2023-11-07T05:31:56Z",
"completed_at": "2023-11-07T05:31:56Z"
}
}
]
}
Path Parameters
UUID of the run.
Response
200
application/json
List of run events
The response is of type object
.
Copy
Ask AI
curl --request GET \
--url http://localhost:8000/runs/{run_id}/events
Copy
Ask AI
{
"events": [
{
"type": "<string>",
"message": {
"role": "user",
"parts": [
{
"name": "<string>",
"content_type": "<string>",
"content": "<string>",
"content_encoding": "plain",
"content_url": "<string>",
"metadata": {
"kind": "<string>",
"start_index": 123,
"end_index": 123,
"url": "<string>",
"title": "<string>",
"description": "<string>"
}
}
],
"created_at": "2023-11-07T05:31:56Z",
"completed_at": "2023-11-07T05:31:56Z"
}
}
]
}
Assistant
Responses are generated using AI and may contain mistakes.