Introduction
Core Concepts
REST API
Python SDK
Integrations
Playground
Get Run
Playground
Get Run
Read state of a run
GET
/
runs
/
{run_id}
curl --request GET \
--url http://localhost:8000/runs/{run_id}
{
"agent_name": "chat",
"session_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"run_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "created",
"await_request": {},
"output": [
{
"parts": [
{
"name": "<string>",
"content_type": "text/plain",
"content": "<string>",
"content_encoding": "plain",
"content_url": "<string>"
}
],
"created_at": "2023-11-07T05:31:56Z",
"completed_at": "2023-11-07T05:31:56Z"
}
],
"error": {
"code": "server_error",
"message": "<string>"
},
"created_at": "2023-11-07T05:31:56Z",
"finished_at": "2023-11-07T05:31:56Z"
}
Response
200
application/json
Status successfully read
The response is of type object
.
curl --request GET \
--url http://localhost:8000/runs/{run_id}
{
"agent_name": "chat",
"session_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"run_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "created",
"await_request": {},
"output": [
{
"parts": [
{
"name": "<string>",
"content_type": "text/plain",
"content": "<string>",
"content_encoding": "plain",
"content_url": "<string>"
}
],
"created_at": "2023-11-07T05:31:56Z",
"completed_at": "2023-11-07T05:31:56Z"
}
],
"error": {
"code": "server_error",
"message": "<string>"
},
"created_at": "2023-11-07T05:31:56Z",
"finished_at": "2023-11-07T05:31:56Z"
}