Skip to content

Get a Browser Use screenshot or task

GET
/api/v1/browser/runs/{id}
curl --request GET \
--url https://digize.com/api/v1/browser/runs/example \
--header 'x-api-key: <x-api-key>'

One screenshot or browsing task the workspace ran with Browser Use: a screenshot’s picture (a link that works for an hour), or a task’s answer, fields and steps.

Needs the settings:read permission.

id
required
string
>= 1 characters <= 64 characters

Done

Media typeapplication/json
object
id
required
string
kind
required
string
Allowed values: screenshot task
status
required
string
Allowed values: running done failed cancelled
source
required
string
Allowed values: page api agent automation module
by
required

Who ran it: a member, an API key, the agent.

string
target
required

A screenshot’s page, or a task’s instructions.

string
startUrl
required
string | null
country
required
string | null
imageUrl
required

A screenshot’s picture, a link that works for an hour.

string | null
width
required
number | null
height
required
number | null
title
required
string | null
result
required

A task’s answer in words.

string | null
output
required

A task’s fields, as it brought them back.

steps
required
Array<object>
object
at
required
string
type
required
string
text
required
string
error
required
string | null
minutes
required

The browser’s minutes, as Browser Use bills them.

number | null
costUsd
required

What Browser Use charged, in US dollars: the browser, its proxy and a task’s model.

number | null
startedAt
required
string format: date-time
finishedAt
required
Any of:
string format: date-time

Example

{
"kind": "screenshot",
"status": "running",
"source": "page"
}

What was sent isn’t valid (invalid).

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: invalid unauthorized forbidden not_found conflict too_large rate_limited unavailable internal
message
required
string
details
object
key
additional properties
any

Example

{
"error": {
"code": "invalid"
}
}

No key, or one that’s unknown, off or expired.

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: invalid unauthorized forbidden not_found conflict too_large rate_limited unavailable internal
message
required
string
details
object
key
additional properties
any

Example

{
"error": {
"code": "invalid"
}
}

The key doesn’t have the permission this needs.

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: invalid unauthorized forbidden not_found conflict too_large rate_limited unavailable internal
message
required
string
details
object
key
additional properties
any

Example

{
"error": {
"code": "invalid"
}
}

Nothing has that id (not_found).

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: invalid unauthorized forbidden not_found conflict too_large rate_limited unavailable internal
message
required
string
details
object
key
additional properties
any

Example

{
"error": {
"code": "invalid"
}
}

Over the rate limit; see retry-after.

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: invalid unauthorized forbidden not_found conflict too_large rate_limited unavailable internal
message
required
string
details
object
key
additional properties
any

Example

{
"error": {
"code": "invalid"
}
}