GET
/
threads
/
{thread_id}
/
runs
List Runs
curl --request GET \
  --url https://api.b-bot.space/v2/threads/{thread_id}/runs
[
  {
    "run_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "thread_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "assistant_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z",
    "status": "pending",
    "metadata": {},
    "kwargs": {},
    "multitask_strategy": "reject"
  }
]

Path Parameters

thread_id
string<uuid>
required

The ID of the thread.

Query Parameters

limit
integer
default:10
offset
integer
default:0
status
enum<string>
Available options:
pending,
error,
success,
timeout,
interrupted
select
enum<string>[]

Specify which fields to return. If not provided, all fields are returned.

Response

200
application/json

Success

The response is of type Run · object[].