Skip to main content
GET
/
runs
/
{run_id}
Get Run
const options = {method: 'GET', headers: {'X-Browser-Use-API-Key': '<api-key>'}};

fetch('https://api.browser-use.com/api/v4/runs/{run_id}', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
curl --request GET \
--url https://api.browser-use.com/api/v4/runs/{run_id} \
--header 'X-Browser-Use-API-Key: <api-key>'
import requests

url = "https://api.browser-use.com/api/v4/runs/{run_id}"

headers = {"X-Browser-Use-API-Key": "<api-key>"}

response = requests.get(url, headers=headers)

print(response.text)
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "task": "<string>",
  "title": "<string>",
  "model": "<string>",
  "contextLimit": 123,
  "result": "<string>",
  "error": "<string>",
  "sessionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "workspaceId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "totalInputTokens": 123,
  "totalOutputTokens": 123,
  "totalCostUsd": "<string>",
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z",
  "attachedFileIds": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ],
  "judgement": {}
}
{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}

Authorizations

X-Browser-Use-API-Key
string
header
required

Path Parameters

run_id
string<uuid>
required

Response

Successful Response

id
string<uuid>
required
task
string
required
title
string | null
required
model
string
required
contextLimit
integer
required
status
enum<string>
required
Available options:
queued,
dispatching,
running,
completed,
failed,
cancelled
result
string | null
required
error
string | null
required
sessionId
string<uuid>
required
workspaceId
string<uuid> | null
required
totalInputTokens
integer
required
totalOutputTokens
integer
required
totalCostUsd
string
required
createdAt
string<date-time>
required
updatedAt
string<date-time>
required
attachedFileIds
string<uuid>[] | null
judgement
Judgement · object | null