Skip to main content
GET
/
threads
/
{thread_id}
/
runs
/
{run_id}
Get Run
curl --request GET \
  --url https://api.b-bot.space/v2/threads/{thread_id}/runs/{run_id}
{
  "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.

run_id
string<uuid>
required

The ID of the run.

Response

Success

run_id
string<uuid>
required

The ID of the run.

thread_id
string<uuid>
required

The ID of the thread.

assistant_id
string<uuid>
required

The assistant that was used for this run.

created_at
string<date-time>
required

The time the run was created.

updated_at
string<date-time>
required

The last time the run was updated.

status
enum<string>
required

The status of the run. One of 'pending', 'running', 'error', 'success', 'timeout', 'interrupted'.

Available options:
pending,
running,
error,
success,
timeout,
interrupted
metadata
object
required

The run metadata.

kwargs
object
required
multitask_strategy
enum<string>
required

Strategy to handle concurrent runs on the same thread.

Available options:
reject,
rollback,
interrupt,
enqueue
I