Api Keys
create
apiKeys.create
Create an API key. Create a project-scoped API key using a global (organization-scoped) API key. Supply projectId for an active project in the authenticated organization; scopeType must be project or omitted. Project-scoped API keys cannot create keys, and global keys cannot create other global keys. Mints a new API key.
Risk: destructive · Irreversible
await corsair.steel.api.apiKeys.create({});
| Name | Type | Required | Description |
|---|---|---|---|
name | string | No | A human-readable label for the new key. Defaults to Default. |
projectId | string | No | The active project to bind the new key to, belonging to the authenticated organization. Required when authenticating with a global API key. Dashboard users may omit it to use their default project. |
scopeType | project | global | No | Defaults to project. Global API keys may only create project-scoped keys. Only organization admins using dashboard authentication may create a global key; projectId is ignored for those keys. |
| Name | Type | Required | Description |
|---|---|---|---|
createdAt | string | null | No | — |
id | string | null | No | — |
key | string | null | No | The full secret on creation or rotation only. Metadata reads return a masked preview. Store a newly created secret securely; it cannot be retrieved later. |
name | string | null | No | — |
projectId | string | null | null | No | The pinned project, or null for a global key, which binds to no project. |
scopeType | string | null | No | project pins the key to one project. global authorizes access across the organization and has no project binding. |
updatedAt | string | null | No | — |
Auth
jwks
auth.jwks
Get Public Keys (JWKS). Provides the JSON Web Key Set (JWKS) for verifying JWTs issued by this service.
Risk: read
await corsair.steel.api.auth.jwks({});
| Name | Type | Required | Description |
|---|---|---|---|
keys | object[] | null | No | A list of JSON Web Keys. |
keys full type
keys full type
{
alg?: string | null,
e?: string | null,
kid?: string | null,
kty?: string | null,
n?: string | null,
use?: string | null
}[] | null
Credentials
create
credentials.create
Stores credentials. Encrypts and stores credentials for an origin.
Risk: write
await corsair.steel.api.credentials.create({
value: {},
});
| Name | Type | Required | Description |
|---|---|---|---|
additionalOrigins | string[] | No | Canonical http(s) origins, besides origin, this credential may be filled on, such as its login host or identity provider (e.g. https://login.example.com). Only the credential’s origin and these ever match a page, exactly; at most 20. |
label | string | No | Label for the credential |
namespace | string | No | The namespace the credential is stored against. Defaults to “default”. |
origin | string | No | Website origin the credential is for |
projectId | string | No | Project to store the credential in. |
value | Record<string, string> | Yes | Value for the credential |
| Name | Type | Required | Description |
|---|---|---|---|
additionalOrigins | string[] | null | No | Canonical http(s) origins, besides origin, this credential may be filled on, such as its login host or identity provider (e.g. https://login.example.com). Only the credential’s origin and these ever match a page, exactly; at most 20. |
createdAt | string | null | No | Date and time the credential was created |
label | string | null | No | Label for the credential |
namespace | string | null | No | The namespace the credential is stored against. Defaults to “default”. |
origin | string | null | No | Website origin the credential is for |
updatedAt | string | null | No | Date and time the credential was last updated |
delete
credentials.delete
Deletes credentials. Deletes encrypted credentials from the database. Cannot be undone.
Risk: destructive · Irreversible
await corsair.steel.api.credentials.delete({ origin: 'example' });
| Name | Type | Required | Description |
|---|---|---|---|
namespace | string | No | The namespace the credential is stored against. Defaults to “default”. |
origin | string | Yes | Website origin the credential is for |
projectId | string | No | Project to delete the credential from. |
| Name | Type | Required | Description |
|---|---|---|---|
success | boolean | null | No | — |
list
credentials.list
List all credential metadata. Fetches all credential metadata for the current organization.
Risk: read
await corsair.steel.api.credentials.list({});
| Name | Type | Required | Description |
|---|---|---|---|
projectId | string | No | Project to query credentials from. |
namespace | string | No | namespace credential is stored against |
origin | string | No | website origin the credential is for |
| Name | Type | Required | Description |
|---|---|---|---|
credentials | object[] | null | No | — |
credentials full type
credentials full type
{
additionalOrigins?: string[] | null,
createdAt?: string | null,
label?: string | null,
namespace?: string | null,
origin?: string | null,
updatedAt?: string | null
}[] | null
update
credentials.update
Updates credentials. Encrypts and updates credentials for an origin.
Risk: write
await corsair.steel.api.credentials.update({});
| Name | Type | Required | Description |
|---|---|---|---|
additionalOrigins | string[] | No | Canonical http(s) origins, besides origin, this credential may be filled on, such as its login host or identity provider (e.g. https://login.example.com). Only the credential’s origin and these ever match a page, exactly; at most 20. Replaces the current list; [] clears it. |
label | string | No | Label for the credential |
namespace | string | No | The namespace the credential is stored against. Defaults to “default”. |
origin | string | No | Website origin the credential is for |
projectId | string | No | Project to update the credential in. |
value | Record<string, string> | No | Value for the credential |
| Name | Type | Required | Description |
|---|---|---|---|
additionalOrigins | string[] | null | No | Canonical http(s) origins, besides origin, this credential may be filled on, such as its login host or identity provider (e.g. https://login.example.com). Only the credential’s origin and these ever match a page, exactly; at most 20. |
createdAt | string | null | No | Date and time the credential was created |
label | string | null | No | Label for the credential |
namespace | string | null | No | The namespace the credential is stored against. Defaults to “default”. |
origin | string | null | No | Website origin the credential is for |
updatedAt | string | null | No | Date and time the credential was last updated |
Extensions
delete
extensions.delete
Delete extension. Delete an extension by ID. Cannot be undone.
Risk: destructive · Irreversible
await corsair.steel.api.extensions.delete({ extensionId: 'example' });
| Name | Type | Required | Description |
|---|---|---|---|
extensionId | string | Yes | Extension ID |
| Name | Type | Required | Description |
|---|---|---|---|
message | string | null | No | — |
deleteAll
extensions.deleteAll
Delete all extensions. Delete all extensions for the organization. Cannot be undone.
Risk: destructive · Irreversible
await corsair.steel.api.extensions.deleteAll({});
| Name | Type | Required | Description |
|---|---|---|---|
message | string | null | No | — |
download
extensions.download
Download extension. Download an extension file by extension ID.
Risk: read
await corsair.steel.api.extensions.download({ extensionId: 'example' });
| Name | Type | Required | Description |
|---|---|---|---|
extensionId | string | Yes | Extension ID |
| Name | Type | Required | Description |
|---|---|---|---|
contentBase64 | string | No | The file, base64-encoded. Missing when the file came back as text or contentOmitted is set. |
text | string | No | The file as text, in place of contentBase64, when it is a text file (CSV, JSON, Markdown, XML and the like) in UTF-8. |
contentType | string | Yes | Media type of the file, for example application/pdf. |
byteLength | number | Yes | Size of the file in bytes. |
filename | string | No | The file name, when known. |
contentOmitted | not_requested | over_limit | No | Set when the content was left out: the caller did not ask for it, or the file was over the limit. |
fileId | string | No | Where the host saved the file. Over the limit it comes in place of the content; a host that keeps every file sets it beside the content too. On Corsair it is a Files id (fil_…): pass it to another app wherever that app takes a file URL, or read a text file or PDF with files.read_text. |
list
extensions.list
List extensions. List all extensions for the organization.
Risk: read
await corsair.steel.api.extensions.list({});
| Name | Type | Required | Description |
|---|---|---|---|
count | number | null | No | Total number of extensions |
extensions | object[] | null | No | List of extensions for the organization |
extensions full type
extensions full type
{
createdAt?: string | null,
id?: string | null,
name?: string | null,
updatedAt?: string | null
}[] | null
update
extensions.update
Update extension. Update a Chrome extension (.zip/.crx file or Chrome Web Store URL) for the organization.
Risk: write
await corsair.steel.api.extensions.update({ extensionId: 'example' });
| Name | Type | Required | Description |
|---|---|---|---|
extensionId | string | Yes | Extension ID |
file | string | object | custom | No | Extension .zip/.crx file |
url | string | No | Extension URL |
file full type
file full type
string | {
url: string,
filename?: string,
contentType?: string
} | {
base64: string,
filename?: string,
contentType?: string
} | custom
| Name | Type | Required | Description |
|---|---|---|---|
createdAt | string | null | No | Creation timestamp |
id | string | null | No | Unique extension identifier (e.g., ext_12345) |
name | string | null | No | Extension name |
updatedAt | string | null | No | Last update timestamp |
upload
extensions.upload
Upload extension. Upload a Chrome extension (.zip/.crx file or Chrome Web Store URL) for the organization.
Risk: write
await corsair.steel.api.extensions.upload({});
| Name | Type | Required | Description |
|---|---|---|---|
file | string | object | custom | No | Extension .zip/.crx file |
url | string | No | Extension URL |
file full type
file full type
string | {
url: string,
filename?: string,
contentType?: string
} | {
base64: string,
filename?: string,
contentType?: string
} | custom
| Name | Type | Required | Description |
|---|---|---|---|
createdAt | string | null | No | Creation timestamp |
id | string | null | No | Unique extension identifier (e.g., ext_12345) |
name | string | null | No | Extension name |
updatedAt | string | null | No | Last update timestamp |
Files
delete
files.delete
Delete a global file. Delete a file from global storage. Cannot be undone.
Risk: destructive · Irreversible
await corsair.steel.api.files.delete({ path: 'example' });
| Name | Type | Required | Description |
|---|---|---|---|
path | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
success | true | Yes | Steel accepted the call; it answered with no body. |
download
files.download
Download a global file. Download a file from global storage.
Risk: read
await corsair.steel.api.files.download({ path: 'example' });
| Name | Type | Required | Description |
|---|---|---|---|
path | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
contentBase64 | string | No | The file, base64-encoded. Missing when the file came back as text or contentOmitted is set. |
text | string | No | The file as text, in place of contentBase64, when it is a text file (CSV, JSON, Markdown, XML and the like) in UTF-8. |
contentType | string | Yes | Media type of the file, for example application/pdf. |
byteLength | number | Yes | Size of the file in bytes. |
filename | string | No | The file name, when known. |
contentOmitted | not_requested | over_limit | No | Set when the content was left out: the caller did not ask for it, or the file was over the limit. |
fileId | string | No | Where the host saved the file. Over the limit it comes in place of the content; a host that keeps every file sets it beside the content too. On Corsair it is a Files id (fil_…): pass it to another app wherever that app takes a file URL, or read a text file or PDF with files.read_text. |
list
files.list
List global files. List all global files for the organization in descending order.
Risk: read
await corsair.steel.api.files.list({});
| Name | Type | Required | Description |
|---|---|---|---|
data | object[] | null | No | Array of files for the current page |
data full type
data full type
{
lastModified?: string | null,
path?: string | null,
size?: number | null
}[] | null
upload
files.upload
Upload a global file. Uploads a file to global storage via multipart/form-data with a file field that accepts either binary data or a URL string to download from, and an optional path field for the file storage path.
Risk: write
await corsair.steel.api.files.upload({
file: { base64: 'SGVsbG8gZnJvbSBDb3JzYWly', filename: 'notes.txt', contentType: 'text/plain' },
});
| Name | Type | Required | Description |
|---|---|---|---|
file | string | object | custom | Yes | The file to upload (binary) or URL string to download from |
path | string | No | Path to the file in the storage system |
file full type
file full type
string | {
url: string,
filename?: string,
contentType?: string
} | {
base64: string,
filename?: string,
contentType?: string
} | custom
| Name | Type | Required | Description |
|---|---|---|---|
lastModified | string | null | No | Timestamp when the file was created |
path | string | null | No | Path to the file in the storage system |
size | number | null | No | Size of the file in bytes |
Profiles
create
profiles.create
Create a profile. Create a new profile. (POST /v1/profiles)
Risk: write
await corsair.steel.api.profiles.create({
userDataDir: { base64: 'SGVsbG8gZnJvbSBDb3JzYWly', filename: 'notes.txt', contentType: 'text/plain' },
});
| Name | Type | Required | Description |
|---|---|---|---|
dimensions | object | No | The dimensions associated with the profile |
projectId | string | No | Project to create the profile in |
proxyUrl | string | No | The proxy associated with the profile |
useProxy | string | No | JSON-encoded proxy configuration associated with the profile. For fixed IPs, send {“type”:“fixed”,“id”:“fixed:<id>”}. |
userAgent | string | No | The user agent associated with the profile |
userDataDir | string | object | custom | Yes | The user data directory associated with the profile |
dimensions full type
dimensions full type
{
height: number,
width: number
}
userDataDir full type
userDataDir full type
string | {
url: string,
filename?: string,
contentType?: string
} | {
base64: string,
filename?: string,
contentType?: string
} | custom
| Name | Type | Required | Description |
|---|---|---|---|
createdAt | string | null | No | The date and time when the profile was created |
credentialsConfig | any | null | null | No | The credentials configuration associated with the profile |
dimensions | object | null | No | The dimensions associated with the profile |
extensionIds | string[] | null | null | No | The extension IDs associated with the profile |
fingerprint | object | null | No | The fingerprint associated with the profile |
id | string | null | No | The unique identifier for the profile |
projectId | string | null | null | No | The project ID associated with the profile |
sourceSessionId | string | null | null | No | The last session ID associated with the profile |
status | string | null | No | The status of the profile |
updatedAt | string | null | No | The date and time when the profile was last updated |
useProxyConfig | any | null | null | No | The proxy configuration associated with the profile |
userAgent | string | null | null | No | The user agent associated with the profile |
dimensions full type
dimensions full type
{
height?: number | null,
width?: number | null
} | null | null
fingerprint full type
fingerprint full type
{
fingerprint?: {
audioCodecs?: Record<string, string | null> | null,
battery?: {
charging?: boolean | null | null,
chargingTime?: number | null | null,
dischargingTime?: number | null | null,
level?: number | null | null
} | null | null,
fonts?: (string | null)[] | null,
mockWebRTC?: boolean | null | null,
multimediaDevices?: {
micros?: {
deviceId?: string | null | null,
groupId?: string | null | null,
kind?: string | null | null,
label?: string | null | null
}[] | null,
speakers?: {
deviceId?: string | null | null,
groupId?: string | null | null,
kind?: string | null | null,
label?: string | null | null
}[] | null,
webcams?: {
deviceId?: string | null | null,
groupId?: string | null | null,
kind?: string | null | null,
label?: string | null | null
}[] | null
} | null,
navigator?: {
appCodeName?: string | null | null,
appName?: string | null | null,
appVersion?: string | null | null,
deviceMemory?: number | null | null,
doNotTrack?: string | null | null,
extraProperties?: {
globalPrivacyControl?: boolean | null | null,
installedApps?: (string | null)[] | null,
pdfViewerEnabled?: boolean | null | null,
vendorFlavors?: (string | null)[] | null
} | null,
hardwareConcurrency?: number | null | null,
language?: string | null | null,
languages?: (string | null)[] | null,
maxTouchPoints?: number | null | null,
oscpu?: string | null | null,
platform?: string | null | null,
product?: string | null | null,
productSub?: string | null | null,
userAgent?: string | null | null,
userAgentData?: {
brands?: {
brand?: string | null | null,
version?: string | null | null
}[] | null,
mobile?: boolean | null | null,
platform?: string | null | null
} | null,
vendor?: string | null | null,
vendorSub?: string | null | null,
webdriver?: boolean | null | null
} | null,
pluginsData?: {
mimeTypes?: (string | null)[] | null,
plugins?: {
description?: string | null | null,
filename?: string | null | null,
mimeTypes?: {
description?: string | null | null,
enabledPlugin?: string | null | null,
suffixes?: string | null | null,
type?: string | null | null
}[] | null,
name?: string | null | null
}[] | null
} | null,
screen?: {
availHeight?: number | null | null,
availLeft?: number | null | null,
availTop?: number | null | null,
availWidth?: number | null | null,
clientHeight?: number | null | null,
clientWidth?: number | null | null,
colorDepth?: number | null | null,
devicePixelRatio?: number | null | null,
hasHDR?: boolean | null | null,
height?: number | null | null,
innerHeight?: number | null | null,
innerWidth?: number | null | null,
outerHeight?: number | null | null,
outerWidth?: number | null | null,
pageXOffset?: number | null | null,
pageYOffset?: number | null | null,
pixelDepth?: number | null | null,
screenX?: number | null | null,
width?: number | null | null
} | null,
slim?: boolean | null | null,
videoCard?: {
renderer?: string | null | null,
vendor?: string | null | null
} | null,
videoCodecs?: Record<string, string | null> | null
} | null,
headers?: {
accept?: string | null | null,
accept-encoding?: string | null | null,
accept-language?: string | null | null,
dnt?: string | null | null,
sec-ch-ua?: string | null | null,
sec-ch-ua-mobile?: string | null | null,
sec-ch-ua-platform?: string | null | null,
sec-fetch-dest?: string | null | null,
sec-fetch-mode?: string | null | null,
sec-fetch-site?: string | null | null,
sec-fetch-user?: string | null | null,
upgrade-insecure-requests?: string | null | null,
user-agent?: string | null | null
} | null
} | null | null
delete
profiles.delete
Delete a profile. Delete the profile and its stored browser data immediately, with a final asynchronous cleanup pass. Cannot be undone.
Risk: destructive · Irreversible
await corsair.steel.api.profiles.delete({ id: 'doc_8f2k1x9q' });
| Name | Type | Required | Description |
|---|---|---|---|
projectId | string | No | Project to query profiles from |
id | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
createdAt | string | null | No | The date and time when the profile was created |
credentialsConfig | any | null | null | No | The credentials configuration associated with the profile |
dimensions | object | null | No | The dimensions associated with the profile |
extensionIds | string[] | null | null | No | The extension IDs associated with the profile |
fingerprint | object | null | No | The fingerprint associated with the profile |
id | string | null | No | The unique identifier for the profile |
projectId | string | null | null | No | The project ID associated with the profile |
sourceSessionId | string | null | null | No | The last session ID associated with the profile |
status | string | null | No | The status of the profile |
updatedAt | string | null | No | The date and time when the profile was last updated |
useProxyConfig | any | null | null | No | The proxy configuration associated with the profile |
userAgent | string | null | null | No | The user agent associated with the profile |
dimensions full type
dimensions full type
{
height?: number | null,
width?: number | null
} | null | null
fingerprint full type
fingerprint full type
{
fingerprint?: {
audioCodecs?: Record<string, string | null> | null,
battery?: {
charging?: boolean | null | null,
chargingTime?: number | null | null,
dischargingTime?: number | null | null,
level?: number | null | null
} | null | null,
fonts?: (string | null)[] | null,
mockWebRTC?: boolean | null | null,
multimediaDevices?: {
micros?: {
deviceId?: string | null | null,
groupId?: string | null | null,
kind?: string | null | null,
label?: string | null | null
}[] | null,
speakers?: {
deviceId?: string | null | null,
groupId?: string | null | null,
kind?: string | null | null,
label?: string | null | null
}[] | null,
webcams?: {
deviceId?: string | null | null,
groupId?: string | null | null,
kind?: string | null | null,
label?: string | null | null
}[] | null
} | null,
navigator?: {
appCodeName?: string | null | null,
appName?: string | null | null,
appVersion?: string | null | null,
deviceMemory?: number | null | null,
doNotTrack?: string | null | null,
extraProperties?: {
globalPrivacyControl?: boolean | null | null,
installedApps?: (string | null)[] | null,
pdfViewerEnabled?: boolean | null | null,
vendorFlavors?: (string | null)[] | null
} | null,
hardwareConcurrency?: number | null | null,
language?: string | null | null,
languages?: (string | null)[] | null,
maxTouchPoints?: number | null | null,
oscpu?: string | null | null,
platform?: string | null | null,
product?: string | null | null,
productSub?: string | null | null,
userAgent?: string | null | null,
userAgentData?: {
brands?: {
brand?: string | null | null,
version?: string | null | null
}[] | null,
mobile?: boolean | null | null,
platform?: string | null | null
} | null,
vendor?: string | null | null,
vendorSub?: string | null | null,
webdriver?: boolean | null | null
} | null,
pluginsData?: {
mimeTypes?: (string | null)[] | null,
plugins?: {
description?: string | null | null,
filename?: string | null | null,
mimeTypes?: {
description?: string | null | null,
enabledPlugin?: string | null | null,
suffixes?: string | null | null,
type?: string | null | null
}[] | null,
name?: string | null | null
}[] | null
} | null,
screen?: {
availHeight?: number | null | null,
availLeft?: number | null | null,
availTop?: number | null | null,
availWidth?: number | null | null,
clientHeight?: number | null | null,
clientWidth?: number | null | null,
colorDepth?: number | null | null,
devicePixelRatio?: number | null | null,
hasHDR?: boolean | null | null,
height?: number | null | null,
innerHeight?: number | null | null,
innerWidth?: number | null | null,
outerHeight?: number | null | null,
outerWidth?: number | null | null,
pageXOffset?: number | null | null,
pageYOffset?: number | null | null,
pixelDepth?: number | null | null,
screenX?: number | null | null,
width?: number | null | null
} | null,
slim?: boolean | null | null,
videoCard?: {
renderer?: string | null | null,
vendor?: string | null | null
} | null,
videoCodecs?: Record<string, string | null> | null
} | null,
headers?: {
accept?: string | null | null,
accept-encoding?: string | null | null,
accept-language?: string | null | null,
dnt?: string | null | null,
sec-ch-ua?: string | null | null,
sec-ch-ua-mobile?: string | null | null,
sec-ch-ua-platform?: string | null | null,
sec-fetch-dest?: string | null | null,
sec-fetch-mode?: string | null | null,
sec-fetch-site?: string | null | null,
sec-fetch-user?: string | null | null,
upgrade-insecure-requests?: string | null | null,
user-agent?: string | null | null
} | null
} | null | null
get
profiles.get
Get a profile. Retrieve a profile by ID.
Risk: read
await corsair.steel.api.profiles.get({ id: 'doc_8f2k1x9q' });
| Name | Type | Required | Description |
|---|---|---|---|
projectId | string | No | Project to query profiles from |
id | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
createdAt | string | null | No | The date and time when the profile was created |
credentialsConfig | any | null | null | No | The credentials configuration associated with the profile |
dimensions | object | null | No | The dimensions associated with the profile |
extensionIds | string[] | null | null | No | The extension IDs associated with the profile |
fingerprint | object | null | No | The fingerprint associated with the profile |
id | string | null | No | The unique identifier for the profile |
projectId | string | null | null | No | The project ID associated with the profile |
sourceSessionId | string | null | null | No | The last session ID associated with the profile |
status | string | null | No | The status of the profile |
updatedAt | string | null | No | The date and time when the profile was last updated |
useProxyConfig | any | null | null | No | The proxy configuration associated with the profile |
userAgent | string | null | null | No | The user agent associated with the profile |
dimensions full type
dimensions full type
{
height?: number | null,
width?: number | null
} | null | null
fingerprint full type
fingerprint full type
{
fingerprint?: {
audioCodecs?: Record<string, string | null> | null,
battery?: {
charging?: boolean | null | null,
chargingTime?: number | null | null,
dischargingTime?: number | null | null,
level?: number | null | null
} | null | null,
fonts?: (string | null)[] | null,
mockWebRTC?: boolean | null | null,
multimediaDevices?: {
micros?: {
deviceId?: string | null | null,
groupId?: string | null | null,
kind?: string | null | null,
label?: string | null | null
}[] | null,
speakers?: {
deviceId?: string | null | null,
groupId?: string | null | null,
kind?: string | null | null,
label?: string | null | null
}[] | null,
webcams?: {
deviceId?: string | null | null,
groupId?: string | null | null,
kind?: string | null | null,
label?: string | null | null
}[] | null
} | null,
navigator?: {
appCodeName?: string | null | null,
appName?: string | null | null,
appVersion?: string | null | null,
deviceMemory?: number | null | null,
doNotTrack?: string | null | null,
extraProperties?: {
globalPrivacyControl?: boolean | null | null,
installedApps?: (string | null)[] | null,
pdfViewerEnabled?: boolean | null | null,
vendorFlavors?: (string | null)[] | null
} | null,
hardwareConcurrency?: number | null | null,
language?: string | null | null,
languages?: (string | null)[] | null,
maxTouchPoints?: number | null | null,
oscpu?: string | null | null,
platform?: string | null | null,
product?: string | null | null,
productSub?: string | null | null,
userAgent?: string | null | null,
userAgentData?: {
brands?: {
brand?: string | null | null,
version?: string | null | null
}[] | null,
mobile?: boolean | null | null,
platform?: string | null | null
} | null,
vendor?: string | null | null,
vendorSub?: string | null | null,
webdriver?: boolean | null | null
} | null,
pluginsData?: {
mimeTypes?: (string | null)[] | null,
plugins?: {
description?: string | null | null,
filename?: string | null | null,
mimeTypes?: {
description?: string | null | null,
enabledPlugin?: string | null | null,
suffixes?: string | null | null,
type?: string | null | null
}[] | null,
name?: string | null | null
}[] | null
} | null,
screen?: {
availHeight?: number | null | null,
availLeft?: number | null | null,
availTop?: number | null | null,
availWidth?: number | null | null,
clientHeight?: number | null | null,
clientWidth?: number | null | null,
colorDepth?: number | null | null,
devicePixelRatio?: number | null | null,
hasHDR?: boolean | null | null,
height?: number | null | null,
innerHeight?: number | null | null,
innerWidth?: number | null | null,
outerHeight?: number | null | null,
outerWidth?: number | null | null,
pageXOffset?: number | null | null,
pageYOffset?: number | null | null,
pixelDepth?: number | null | null,
screenX?: number | null | null,
width?: number | null | null
} | null,
slim?: boolean | null | null,
videoCard?: {
renderer?: string | null | null,
vendor?: string | null | null
} | null,
videoCodecs?: Record<string, string | null> | null
} | null,
headers?: {
accept?: string | null | null,
accept-encoding?: string | null | null,
accept-language?: string | null | null,
dnt?: string | null | null,
sec-ch-ua?: string | null | null,
sec-ch-ua-mobile?: string | null | null,
sec-ch-ua-platform?: string | null | null,
sec-fetch-dest?: string | null | null,
sec-fetch-mode?: string | null | null,
sec-fetch-site?: string | null | null,
sec-fetch-user?: string | null | null,
upgrade-insecure-requests?: string | null | null,
user-agent?: string | null | null
} | null
} | null | null
list
profiles.list
List all profiles. Retrieve a list of all profiles.
Risk: read
await corsair.steel.api.profiles.list({});
| Name | Type | Required | Description |
|---|---|---|---|
projectId | string | No | Project to query profiles from |
| Name | Type | Required | Description |
|---|---|---|---|
count | number | null | No | The total number of profiles |
profiles | object[] | null | No | The list of profiles |
profiles full type
profiles full type
{
createdAt?: string | null,
credentialsConfig?: any | null | null,
dimensions?: {
height?: number | null,
width?: number | null
} | null | null,
extensionIds?: string[] | null | null,
fingerprint?: {
fingerprint?: {
audioCodecs?: Record<string, string | null> | null,
battery?: {
charging?: boolean | null | null,
chargingTime?: number | null | null,
dischargingTime?: number | null | null,
level?: number | null | null
} | null | null,
fonts?: (string | null)[] | null,
mockWebRTC?: boolean | null | null,
multimediaDevices?: {
micros?: {
deviceId?: string | null | null,
groupId?: string | null | null,
kind?: string | null | null,
label?: string | null | null
}[] | null,
speakers?: {
deviceId?: string | null | null,
groupId?: string | null | null,
kind?: string | null | null,
label?: string | null | null
}[] | null,
webcams?: {
deviceId?: string | null | null,
groupId?: string | null | null,
kind?: string | null | null,
label?: string | null | null
}[] | null
} | null,
navigator?: {
appCodeName?: string | null | null,
appName?: string | null | null,
appVersion?: string | null | null,
deviceMemory?: number | null | null,
doNotTrack?: string | null | null,
extraProperties?: {
globalPrivacyControl?: boolean | null | null,
installedApps?: (string | null)[] | null,
pdfViewerEnabled?: boolean | null | null,
vendorFlavors?: (string | null)[] | null
} | null,
hardwareConcurrency?: number | null | null,
language?: string | null | null,
languages?: (string | null)[] | null,
maxTouchPoints?: number | null | null,
oscpu?: string | null | null,
platform?: string | null | null,
product?: string | null | null,
productSub?: string | null | null,
userAgent?: string | null | null,
userAgentData?: {
brands?: {
brand?: string | null | null,
version?: string | null | null
}[] | null,
mobile?: boolean | null | null,
platform?: string | null | null
} | null,
vendor?: string | null | null,
vendorSub?: string | null | null,
webdriver?: boolean | null | null
} | null,
pluginsData?: {
mimeTypes?: (string | null)[] | null,
plugins?: {
description?: string | null | null,
filename?: string | null | null,
mimeTypes?: {
description?: string | null | null,
enabledPlugin?: string | null | null,
suffixes?: string | null | null,
type?: string | null | null
}[] | null,
name?: string | null | null
}[] | null
} | null,
screen?: {
availHeight?: number | null | null,
availLeft?: number | null | null,
availTop?: number | null | null,
availWidth?: number | null | null,
clientHeight?: number | null | null,
clientWidth?: number | null | null,
colorDepth?: number | null | null,
devicePixelRatio?: number | null | null,
hasHDR?: boolean | null | null,
height?: number | null | null,
innerHeight?: number | null | null,
innerWidth?: number | null | null,
outerHeight?: number | null | null,
outerWidth?: number | null | null,
pageXOffset?: number | null | null,
pageYOffset?: number | null | null,
pixelDepth?: number | null | null,
screenX?: number | null | null,
width?: number | null | null
} | null,
slim?: boolean | null | null,
videoCard?: {
renderer?: string | null | null,
vendor?: string | null | null
} | null,
videoCodecs?: Record<string, string | null> | null
} | null,
headers?: {
accept?: string | null | null,
accept-encoding?: string | null | null,
accept-language?: string | null | null,
dnt?: string | null | null,
sec-ch-ua?: string | null | null,
sec-ch-ua-mobile?: string | null | null,
sec-ch-ua-platform?: string | null | null,
sec-fetch-dest?: string | null | null,
sec-fetch-mode?: string | null | null,
sec-fetch-site?: string | null | null,
sec-fetch-user?: string | null | null,
upgrade-insecure-requests?: string | null | null,
user-agent?: string | null | null
} | null
} | null | null,
id?: string | null,
projectId?: string | null | null,
sourceSessionId?: string | null | null,
status?: string | null,
updatedAt?: string | null,
useProxyConfig?: any | null | null,
userAgent?: string | null | null
}[] | null
update
profiles.update
Update a profile. Update an existing profile.
Risk: write
await corsair.steel.api.profiles.update({
id: 'doc_8f2k1x9q',
userDataDir: { base64: 'SGVsbG8gZnJvbSBDb3JzYWly', filename: 'notes.txt', contentType: 'text/plain' },
});
| Name | Type | Required | Description |
|---|---|---|---|
projectId | string | No | Project to query profiles from |
id | string | Yes | — |
dimensions | object | No | The dimensions associated with the profile |
targetProjectId | string | No | Project to create the profile in |
proxyUrl | string | No | The proxy associated with the profile |
useProxy | string | No | JSON-encoded proxy configuration associated with the profile. For fixed IPs, send {“type”:“fixed”,“id”:“fixed:<id>”}. |
userAgent | string | No | The user agent associated with the profile |
userDataDir | string | object | custom | Yes | The user data directory associated with the profile |
dimensions full type
dimensions full type
{
height: number,
width: number
}
userDataDir full type
userDataDir full type
string | {
url: string,
filename?: string,
contentType?: string
} | {
base64: string,
filename?: string,
contentType?: string
} | custom
| Name | Type | Required | Description |
|---|---|---|---|
createdAt | string | null | No | The date and time when the profile was created |
credentialsConfig | any | null | null | No | The credentials configuration associated with the profile |
dimensions | object | null | No | The dimensions associated with the profile |
extensionIds | string[] | null | null | No | The extension IDs associated with the profile |
fingerprint | object | null | No | The fingerprint associated with the profile |
id | string | null | No | The unique identifier for the profile |
projectId | string | null | null | No | The project ID associated with the profile |
sourceSessionId | string | null | null | No | The last session ID associated with the profile |
status | string | null | No | The status of the profile |
updatedAt | string | null | No | The date and time when the profile was last updated |
useProxyConfig | any | null | null | No | The proxy configuration associated with the profile |
userAgent | string | null | null | No | The user agent associated with the profile |
dimensions full type
dimensions full type
{
height?: number | null,
width?: number | null
} | null | null
fingerprint full type
fingerprint full type
{
fingerprint?: {
audioCodecs?: Record<string, string | null> | null,
battery?: {
charging?: boolean | null | null,
chargingTime?: number | null | null,
dischargingTime?: number | null | null,
level?: number | null | null
} | null | null,
fonts?: (string | null)[] | null,
mockWebRTC?: boolean | null | null,
multimediaDevices?: {
micros?: {
deviceId?: string | null | null,
groupId?: string | null | null,
kind?: string | null | null,
label?: string | null | null
}[] | null,
speakers?: {
deviceId?: string | null | null,
groupId?: string | null | null,
kind?: string | null | null,
label?: string | null | null
}[] | null,
webcams?: {
deviceId?: string | null | null,
groupId?: string | null | null,
kind?: string | null | null,
label?: string | null | null
}[] | null
} | null,
navigator?: {
appCodeName?: string | null | null,
appName?: string | null | null,
appVersion?: string | null | null,
deviceMemory?: number | null | null,
doNotTrack?: string | null | null,
extraProperties?: {
globalPrivacyControl?: boolean | null | null,
installedApps?: (string | null)[] | null,
pdfViewerEnabled?: boolean | null | null,
vendorFlavors?: (string | null)[] | null
} | null,
hardwareConcurrency?: number | null | null,
language?: string | null | null,
languages?: (string | null)[] | null,
maxTouchPoints?: number | null | null,
oscpu?: string | null | null,
platform?: string | null | null,
product?: string | null | null,
productSub?: string | null | null,
userAgent?: string | null | null,
userAgentData?: {
brands?: {
brand?: string | null | null,
version?: string | null | null
}[] | null,
mobile?: boolean | null | null,
platform?: string | null | null
} | null,
vendor?: string | null | null,
vendorSub?: string | null | null,
webdriver?: boolean | null | null
} | null,
pluginsData?: {
mimeTypes?: (string | null)[] | null,
plugins?: {
description?: string | null | null,
filename?: string | null | null,
mimeTypes?: {
description?: string | null | null,
enabledPlugin?: string | null | null,
suffixes?: string | null | null,
type?: string | null | null
}[] | null,
name?: string | null | null
}[] | null
} | null,
screen?: {
availHeight?: number | null | null,
availLeft?: number | null | null,
availTop?: number | null | null,
availWidth?: number | null | null,
clientHeight?: number | null | null,
clientWidth?: number | null | null,
colorDepth?: number | null | null,
devicePixelRatio?: number | null | null,
hasHDR?: boolean | null | null,
height?: number | null | null,
innerHeight?: number | null | null,
innerWidth?: number | null | null,
outerHeight?: number | null | null,
outerWidth?: number | null | null,
pageXOffset?: number | null | null,
pageYOffset?: number | null | null,
pixelDepth?: number | null | null,
screenX?: number | null | null,
width?: number | null | null
} | null,
slim?: boolean | null | null,
videoCard?: {
renderer?: string | null | null,
vendor?: string | null | null
} | null,
videoCodecs?: Record<string, string | null> | null
} | null,
headers?: {
accept?: string | null | null,
accept-encoding?: string | null | null,
accept-language?: string | null | null,
dnt?: string | null | null,
sec-ch-ua?: string | null | null,
sec-ch-ua-mobile?: string | null | null,
sec-ch-ua-platform?: string | null | null,
sec-fetch-dest?: string | null | null,
sec-fetch-mode?: string | null | null,
sec-fetch-site?: string | null | null,
sec-fetch-user?: string | null | null,
upgrade-insecure-requests?: string | null | null,
user-agent?: string | null | null
} | null
} | null | null
Projects
get
projects.get
Get project. Get a project by ID. (GET /v1/projects/{id})
Risk: read
await corsair.steel.api.projects.get({ id: '3f0e6a2c-8b1d-4c7e-9a52-1d2e3f4a5b6c' });
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
createdAt | string | null | No | — |
id | string | null | No | — |
isDefault | boolean | null | No | — |
isProduction | boolean | null | No | — |
name | string | null | No | — |
promotedToProductionAt | string | null | null | No | — |
slug | string | null | No | — |
updatedAt | string | null | No | — |
list
projects.list
List projects. List projects for the authenticated organization.
Risk: read
await corsair.steel.api.projects.list({});
| Name | Type | Required | Description |
|---|---|---|---|
projects | object[] | null | No | — |
projects full type
projects full type
{
createdAt?: string | null,
id?: string | null,
isDefault?: boolean | null,
isProduction?: boolean | null,
name?: string | null,
promotedToProductionAt?: string | null | null,
slug?: string | null,
updatedAt?: string | null
}[] | null
Secret Connections
create
secretConnections.create
Create a secret connection. (POST /v1/secret-connections)
Risk: write
await corsair.steel.api.secretConnections.create({
name: 'example',
provider: '1password',
auth: {},
});
| Name | Type | Required | Description |
|---|---|---|---|
auth | object | Yes | Write-only provider authentication. Supply a service account token for 1Password, a token for HashiCorp token auth, or a role ID and secret ID for HashiCorp AppRole. |
config | object | No | — |
name | string | Yes | — |
projectId | string | No | — |
provider | 1password | hashicorp_vault | Yes | — |
tokenBudget | object | null | No | — |
auth full type
auth full type
{
mount?: string,
roleId?: string,
secretId?: string,
serviceAccountToken?: string,
token?: string,
type?: token | approle
}
config full type
config full type
{
address: string,
caPem?: string,
namespace?: string
}
tokenBudget full type
tokenBudget full type
{
burst: number,
refillPerSecond: number
} | null
| Name | Type | Required | Description |
|---|---|---|---|
createdAt | string | null | No | — |
enabled | boolean | null | No | — |
id | string | null | No | — |
name | string | null | No | — |
provider | string | null | No | — |
tokenBudget | object | null | No | — |
updatedAt | string | null | No | — |
vaultFingerprint | string | null | No | For 1Password, a SHA-256 diagnostic fingerprint of sorted accessible vault IDs. For HashiCorp Vault, a SHA-256 fingerprint of the normalized endpoint and namespace. Neither proves immutable account or server identity. |
version | number | null | No | — |
tokenBudget full type
tokenBudget full type
{
burst?: number | null,
refillPerSecond?: number | null
} | null | null
delete
secretConnections.delete
Delete a secret connection. Cannot be undone.
Risk: destructive · Irreversible
await corsair.steel.api.secretConnections.delete({ id: 'doc_8f2k1x9q' });
| Name | Type | Required | Description |
|---|---|---|---|
projectId | string | No | — |
id | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
success | true | Yes | Steel accepted the call; it answered with no body. |
get
secretConnections.get
Get a secret connection. (GET /v1/secret-connections/{id})
Risk: read
await corsair.steel.api.secretConnections.get({ id: 'doc_8f2k1x9q' });
| Name | Type | Required | Description |
|---|---|---|---|
projectId | string | No | — |
id | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
createdAt | string | null | No | — |
enabled | boolean | null | No | — |
id | string | null | No | — |
name | string | null | No | — |
provider | string | null | No | — |
tokenBudget | object | null | No | — |
updatedAt | string | null | No | — |
vaultFingerprint | string | null | No | For 1Password, a SHA-256 diagnostic fingerprint of sorted accessible vault IDs. For HashiCorp Vault, a SHA-256 fingerprint of the normalized endpoint and namespace. Neither proves immutable account or server identity. |
version | number | null | No | — |
tokenBudget full type
tokenBudget full type
{
burst?: number | null,
refillPerSecond?: number | null
} | null | null
list
secretConnections.list
List secret connections. (GET /v1/secret-connections)
Risk: read
await corsair.steel.api.secretConnections.list({});
| Name | Type | Required | Description |
|---|---|---|---|
projectId | string | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
connections | object[] | null | No | — |
connections full type
connections full type
{
createdAt?: string | null,
enabled?: boolean | null,
id?: string | null,
name?: string | null,
provider?: string | null,
tokenBudget?: {
burst?: number | null,
refillPerSecond?: number | null
} | null | null,
updatedAt?: string | null,
vaultFingerprint?: string | null,
version?: number | null
}[] | null
test
secretConnections.test
Test a secret connection. (POST /v1/secret-connections/{id}/test)
Risk: write
await corsair.steel.api.secretConnections.test({ id: 'doc_8f2k1x9q' });
| Name | Type | Required | Description |
|---|---|---|---|
projectId | string | No | — |
id | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
success | true | Yes | Steel accepted the call; it answered with no body. |
update
secretConnections.update
Update a secret connection. (PATCH /v1/secret-connections/{id})
Risk: write
await corsair.steel.api.secretConnections.update({ id: 'doc_8f2k1x9q' });
| Name | Type | Required | Description |
|---|---|---|---|
projectId | string | No | — |
id | string | Yes | — |
auth | object | No | Write-only provider authentication. Supply a service account token for 1Password, a token for HashiCorp token auth, or a role ID and secret ID for HashiCorp AppRole. |
config | object | No | — |
enabled | boolean | No | — |
name | string | No | — |
tokenBudget | object | null | No | — |
auth full type
auth full type
{
mount?: string,
roleId?: string,
secretId?: string,
serviceAccountToken?: string,
token?: string,
type?: token | approle
}
config full type
config full type
{
address: string,
caPem?: string,
namespace?: string
}
tokenBudget full type
tokenBudget full type
{
burst: number,
refillPerSecond: number
} | null
| Name | Type | Required | Description |
|---|---|---|---|
createdAt | string | null | No | — |
enabled | boolean | null | No | — |
id | string | null | No | — |
name | string | null | No | — |
provider | string | null | No | — |
tokenBudget | object | null | No | — |
updatedAt | string | null | No | — |
vaultFingerprint | string | null | No | For 1Password, a SHA-256 diagnostic fingerprint of sorted accessible vault IDs. For HashiCorp Vault, a SHA-256 fingerprint of the normalized endpoint and namespace. Neither proves immutable account or server identity. |
version | number | null | No | — |
tokenBudget full type
tokenBudget full type
{
burst?: number | null,
refillPerSecond?: number | null
} | null | null
Sessions
agentLogs
sessions.agentLogs
Get session agent logs. Query raw CDP-derived agent events (Input.dispatchMouseEvent, Input.dispatchKeyEvent, Page.navigate, …) for a session. For the semantic, replay-oriented interaction timeline use /sessions/:id/agent-traces instead.
Risk: read
await corsair.steel.api.sessions.agentLogs({ id: '3f0e6a2c-8b1d-4c7e-9a52-1d2e3f4a5b6c' });
| Name | Type | Required | Description |
|---|---|---|---|
namespace | string | No | — |
startTime | string | No | — |
endTime | string | No | — |
eventTypes | string[] | No | — |
limit | number | No | — |
offset | number | No | — |
id | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
events | Record<string, any>[] | null | No | — |
hasMore | boolean | null | No | — |
total | number | null | No | — |
agentTraces
sessions.agentTraces
Get session agent traces. Query the semantic agent trace timeline for a session: a coalesced, replay-oriented record of user/agent interactions (clicks, typing, scrolls, drags, navigations) with target metadata (role, accessible name, selectors). Returns an empty list for sessions that predate browser-interaction capture.
Risk: read
await corsair.steel.api.sessions.agentTraces({ id: '3f0e6a2c-8b1d-4c7e-9a52-1d2e3f4a5b6c' });
| Name | Type | Required | Description |
|---|---|---|---|
namespace | string | No | — |
startTime | string | No | — |
endTime | string | No | — |
eventTypes | string[] | No | — |
limit | number | No | — |
offset | number | No | — |
id | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
events | Record<string, any>[] | null | No | — |
hasMore | boolean | null | No | — |
total | number | null | No | — |
captchas.solve
sessions.captchas.solve
Solve captcha(s). Solves captcha(s) for the session. If pageId, url, or taskId is provided, solves that specific captcha. If no parameters are provided, solves all detected captchas. Use this when autoCaptchaSolving is disabled in stealthConfig. Uses paid CAPTCHA solving (needs a verified account).
Risk: destructive · Irreversible
await corsair.steel.api.sessions.captchas.solve({ sessionId: '3f0e6a2c-8b1d-4c7e-9a52-1d2e3f4a5b6c' });
| Name | Type | Required | Description |
|---|---|---|---|
sessionId | string | Yes | Session ID |
pageId | string | No | The page ID where the captcha is located |
taskId | string | No | The task ID of the specific captcha to solve |
url | string | No | The URL where the captcha is located |
| Name | Type | Required | Description |
|---|---|---|---|
message | string | null | No | Response message |
success | boolean | null | No | Whether the action was successful |
captchas.solveImage
sessions.captchas.solveImage
Solve image captcha. Solves an image captcha using XPath selectors. Uses paid CAPTCHA solving (needs a verified account).
Risk: destructive · Irreversible
await corsair.steel.api.sessions.captchas.solveImage({ sessionId: '3f0e6a2c-8b1d-4c7e-9a52-1d2e3f4a5b6c', imageXPath: 'example', inputXPath: 'example' });
| Name | Type | Required | Description |
|---|---|---|---|
sessionId | string | Yes | Session ID |
imageXPath | string | Yes | XPath to the captcha image element |
inputXPath | string | Yes | XPath to the captcha input element |
url | string | No | URL where the captcha is located. Defaults to the current page URL |
| Name | Type | Required | Description |
|---|---|---|---|
message | string | null | No | Response message |
success | boolean | null | No | Whether the action was successful |
captchas.status
sessions.captchas.status
Get captcha status. Gets the current captcha status for a session.
Risk: read
await corsair.steel.api.sessions.captchas.status({ sessionId: '3f0e6a2c-8b1d-4c7e-9a52-1d2e3f4a5b6c' });
| Name | Type | Required | Description |
|---|---|---|---|
sessionId | string | Yes | Session ID |
object[]
Output full type
Output full type
{
created?: number | null,
isSolvingCaptcha?: boolean | null,
lastUpdated?: number | null,
pageId?: string | null,
tasks?: any[] | null,
url?: string | null
}[]
commands.cancelExecution
sessions.commands.cancelExecution
Cancel a command execution. Stops an execution. The running command stops before its next input, and commands that already ran are not undone.
Risk: write
await corsair.steel.api.sessions.commands.cancelExecution({ sessionId: 'example', executionId: 'example' });
| Name | Type | Required | Description |
|---|---|---|---|
sessionId | string | Yes | Session ID |
executionId | string | Yes | Execution ID, such as x-1, from the id of a run |
| Name | Type | Required | Description |
|---|---|---|---|
bodyExpired | boolean | null | No | — |
dialog | object | null | No | A dialog that is open on the tab and blocks it until it closes. |
effect | string | null | No | What happened to the page: nothing, a change, or a possible change. |
epochChanged | boolean | null | No | Set when the execution ran with after. Whether another execution, a quick action, or a browser restart changed the session since then. Input from CDP clients or the live view does not count. |
held | object[] | null | No | Tabs with keys or a mouse button still held down. Left out when nothing is held. |
id | string | null | No | The id of this execution. Use it to get or cancel the execution. |
next | string | null | No | Send it as after in the next request. |
observe | object | null | No | — |
page | object | null | No | The tab the execution used. |
ran | number | null | No | Commands started. |
replayed | boolean | null | No | This is the stored result of an earlier request. Nothing ran again. |
results | object[] | null | No | — |
state | string | null | No | — |
stopped | object | null | No | Why the execution stopped early, such as a cancel, a timeout, or a browser restart. A failed command has its error in results instead. |
dialog full type
dialog full type
{
defaultPrompt?: string | null,
id?: string | null,
message?: string | null,
tab?: string | null,
type?: string | null
} | null
held full type
held full type
{
button?: string | null,
keys?: string[] | null,
tab?: string | null
}[] | null
observe full type
observe full type
{
additions?: number | null,
base?: string | null,
diff?: string | null,
error?: {
code?: string | null,
message?: string | null,
reason?: string | null
} | null,
full?: boolean | null,
removals?: number | null,
snapshot?: string | null,
snapshotId?: string | null
} | null
page full type
page full type
{
tab?: string | null,
title?: string | null,
url?: string | null
} | null | null
results full type
results full type
(
{
command?: string | null,
effect?: string | null,
error?: {
code?: string | null,
message?: string | null,
reason?: string | null
} | null,
loading?: boolean | null,
ok?: boolean | null,
url?: string | null
} | {
command?: string | null,
effect?: string | null,
error?: {
code?: string | null,
message?: string | null,
reason?: string | null
} | null,
loading?: boolean | null,
navigated?: boolean | null,
ok?: boolean | null,
url?: string | null
} | {
command?: string | null,
effect?: string | null,
error?: {
code?: string | null,
message?: string | null,
reason?: string | null
} | null,
loading?: boolean | null,
navigated?: boolean | null,
ok?: boolean | null,
url?: string | null
} | {
command?: string | null,
effect?: string | null,
error?: {
code?: string | null,
message?: string | null,
reason?: string | null
} | null,
loading?: boolean | null,
ok?: boolean | null,
url?: string | null
} | {
command?: string | null,
effect?: string | null,
error?: {
code?: string | null,
message?: string | null,
reason?: string | null
} | null,
ok?: boolean | null,
snapshot?: string | null,
snapshotId?: string | null
} | {
command?: string | null,
dialog?: {
defaultPrompt?: string | null,
id?: string | null,
message?: string | null,
tab?: string | null,
type?: string | null
} | null,
effect?: string | null,
error?: {
code?: string | null,
message?: string | null,
reason?: string | null
} | null,
loading?: boolean | null,
ok?: boolean | null,
opened?: string[] | null
} | {
command?: string | null,
dialog?: {
defaultPrompt?: string | null,
id?: string | null,
message?: string | null,
tab?: string | null,
type?: string | null
} | null,
effect?: string | null,
error?: {
code?: string | null,
message?: string | null,
reason?: string | null
} | null,
ok?: boolean | null
} | {
command?: string | null,
effect?: string | null,
error?: {
code?: string | null,
message?: string | null,
reason?: string | null
} | null,
ok?: boolean | null
} | {
command?: string | null,
dialog?: {
defaultPrompt?: string | null,
id?: string | null,
message?: string | null,
tab?: string | null,
type?: string | null
} | null,
effect?: string | null,
error?: {
code?: string | null,
message?: string | null,
reason?: string | null
} | null,
loading?: boolean | null,
ok?: boolean | null,
opened?: string[] | null
} | {
command?: string | null,
dialog?: {
defaultPrompt?: string | null,
id?: string | null,
message?: string | null,
tab?: string | null,
type?: string | null
} | null,
effect?: string | null,
error?: {
code?: string | null,
message?: string | null,
reason?: string | null
} | null,
loading?: boolean | null,
ok?: boolean | null,
opened?: string[] | null
} | {
answered?: string | null,
command?: string | null,
dialog?: {
defaultPrompt?: string | null,
id?: string | null,
message?: string | null,
tab?: string | null,
type?: string | null
} | null,
effect?: string | null,
error?: {
code?: string | null,
message?: string | null,
reason?: string | null
} | null,
loading?: boolean | null,
ok?: boolean | null,
opened?: string[] | null
} | {
command?: string | null,
dialog?: {
defaultPrompt?: string | null,
id?: string | null,
message?: string | null,
tab?: string | null,
type?: string | null
} | null,
effect?: string | null,
error?: {
code?: string | null,
message?: string | null,
reason?: string | null
} | null,
loading?: boolean | null,
ok?: boolean | null,
opened?: string[] | null
} | {
command?: string | null,
dialog?: {
defaultPrompt?: string | null,
id?: string | null,
message?: string | null,
tab?: string | null,
type?: string | null
} | null,
effect?: string | null,
error?: {
code?: string | null,
message?: string | null,
reason?: string | null
} | null,
loading?: boolean | null,
ok?: boolean | null,
opened?: string[] | null
} | {
button?: string | null,
command?: string | null,
dialog?: {
defaultPrompt?: string | null,
id?: string | null,
message?: string | null,
tab?: string | null,
type?: string | null
} | null,
effect?: string | null,
error?: {
code?: string | null,
message?: string | null,
reason?: string | null
} | null,
keys?: string[] | null,
loading?: boolean | null,
ok?: boolean | null,
opened?: string[] | null
} | {
command?: string | null,
dialog?: {
defaultPrompt?: string | null,
id?: string | null,
message?: string | null,
tab?: string | null,
type?: string | null
} | null,
effect?: string | null,
error?: {
code?: string | null,
message?: string | null,
reason?: string | null
} | null,
loading?: boolean | null,
ok?: boolean | null,
opened?: string[] | null,
selected?: string[] | null
} | {
checked?: boolean | null,
command?: string | null,
dialog?: {
defaultPrompt?: string | null,
id?: string | null,
message?: string | null,
tab?: string | null,
type?: string | null
} | null,
effect?: string | null,
error?: {
code?: string | null,
message?: string | null,
reason?: string | null
} | null,
loading?: boolean | null,
ok?: boolean | null,
opened?: string[] | null
} | {
checked?: boolean | null,
command?: string | null,
dialog?: {
defaultPrompt?: string | null,
id?: string | null,
message?: string | null,
tab?: string | null,
type?: string | null
} | null,
effect?: string | null,
error?: {
code?: string | null,
message?: string | null,
reason?: string | null
} | null,
loading?: boolean | null,
ok?: boolean | null,
opened?: string[] | null
} | {
command?: string | null,
dialog?: {
defaultPrompt?: string | null,
id?: string | null,
message?: string | null,
tab?: string | null,
type?: string | null
} | null,
effect?: string | null,
error?: {
code?: string | null,
message?: string | null,
reason?: string | null
} | null,
files?: string[] | null,
loading?: boolean | null,
ok?: boolean | null,
opened?: string[] | null
} | {
command?: string | null,
dialog?: {
defaultPrompt?: string | null,
id?: string | null,
message?: string | null,
tab?: string | null,
type?: string | null
} | null,
effect?: string | null,
error?: {
code?: string | null,
message?: string | null,
reason?: string | null
} | null,
loading?: boolean | null,
ok?: boolean | null,
opened?: string[] | null
} | {
command?: string | null,
effect?: string | null,
error?: {
code?: string | null,
message?: string | null,
reason?: string | null
} | null,
masked?: boolean | null,
ok?: boolean | null,
value?: any | null,
what?: string | null
} | {
command?: string | null,
effect?: string | null,
error?: {
code?: string | null,
message?: string | null,
reason?: string | null
} | null,
ok?: boolean | null,
value?: boolean | null
} | {
bytes?: number | null,
command?: string | null,
effect?: string | null,
error?: {
code?: string | null,
message?: string | null,
reason?: string | null
} | null,
file?: string | null,
ok?: boolean | null,
waited?: string | null
} | {
command?: string | null,
data?: string | null,
effect?: string | null,
error?: {
code?: string | null,
message?: string | null,
reason?: string | null
} | null,
format?: string | null,
ok?: boolean | null
} | {
command?: string | null,
dialog?: {
defaultPrompt?: string | null,
id?: string | null,
message?: string | null,
tab?: string | null,
type?: string | null
} | null,
effect?: string | null,
error?: {
code?: string | null,
message?: string | null,
reason?: string | null
} | null,
loading?: boolean | null,
ok?: boolean | null,
opened?: string[] | null,
value?: any | null
} | {
command?: string | null,
data?: string | null,
effect?: string | null,
error?: {
code?: string | null,
message?: string | null,
reason?: string | null
} | null,
format?: string | null,
ok?: boolean | null
} | {
command?: string | null,
effect?: string | null,
error?: {
code?: string | null,
message?: string | null,
reason?: string | null
} | null,
moved?: boolean | null,
ok?: boolean | null,
x?: number | null,
y?: number | null
} | {
command?: string | null,
count?: number | null,
effect?: string | null,
error?: {
code?: string | null,
message?: string | null,
reason?: string | null
} | null,
matches?: {
name?: string | null,
ref?: string | null,
role?: string | null
}[] | null,
ok?: boolean | null
} | {
command?: string | null,
effect?: string | null,
error?: {
code?: string | null,
message?: string | null,
reason?: string | null
} | null,
loading?: boolean | null,
ok?: boolean | null,
tab?: string | null,
tabs?: {
tab?: string | null,
title?: string | null,
url?: string | null
}[] | null
} | {
command?: string | null,
dialog?: {
defaultPrompt?: string | null,
id?: string | null,
message?: string | null,
tab?: string | null,
type?: string | null
} | null,
effect?: string | null,
error?: {
code?: string | null,
message?: string | null,
reason?: string | null
} | null,
loading?: boolean | null,
ok?: boolean | null,
opened?: string[] | null
}
)[] | null
stopped full type
stopped full type
{
code?: string | null,
message?: string | null,
reason?: string | null
} | null
commands.getExecution
sessions.commands.getExecution
Get a command execution. Waits up to 20 seconds for an execution to finish and returns it. Use it when a run answered with state running.
Risk: read
await corsair.steel.api.sessions.commands.getExecution({ sessionId: 'example', executionId: 'example' });
| Name | Type | Required | Description |
|---|---|---|---|
sessionId | string | Yes | Session ID |
executionId | string | Yes | Execution ID, such as x-1, from the id of a run |
| Name | Type | Required | Description |
|---|---|---|---|
bodyExpired | boolean | null | No | — |
dialog | object | null | No | A dialog that is open on the tab and blocks it until it closes. |
effect | string | null | No | What happened to the page: nothing, a change, or a possible change. |
epochChanged | boolean | null | No | Set when the execution ran with after. Whether another execution, a quick action, or a browser restart changed the session since then. Input from CDP clients or the live view does not count. |
held | object[] | null | No | Tabs with keys or a mouse button still held down. Left out when nothing is held. |
id | string | null | No | The id of this execution. Use it to get or cancel the execution. |
next | string | null | No | Send it as after in the next request. |
observe | object | null | No | — |
page | object | null | No | The tab the execution used. |
ran | number | null | No | Commands started. |
replayed | boolean | null | No | This is the stored result of an earlier request. Nothing ran again. |
results | object[] | null | No | — |
state | string | null | No | — |
stopped | object | null | No | Why the execution stopped early, such as a cancel, a timeout, or a browser restart. A failed command has its error in results instead. |
dialog full type
dialog full type
{
defaultPrompt?: string | null,
id?: string | null,
message?: string | null,
tab?: string | null,
type?: string | null
} | null
held full type
held full type
{
button?: string | null,
keys?: string[] | null,
tab?: string | null
}[] | null
observe full type
observe full type
{
additions?: number | null,
base?: string | null,
diff?: string | null,
error?: {
code?: string | null,
message?: string | null,
reason?: string | null
} | null,
full?: boolean | null,
removals?: number | null,
snapshot?: string | null,
snapshotId?: string | null
} | null
page full type
page full type
{
tab?: string | null,
title?: string | null,
url?: string | null
} | null | null
results full type
results full type
(
{
command?: string | null,
effect?: string | null,
error?: {
code?: string | null,
message?: string | null,
reason?: string | null
} | null,
loading?: boolean | null,
ok?: boolean | null,
url?: string | null
} | {
command?: string | null,
effect?: string | null,
error?: {
code?: string | null,
message?: string | null,
reason?: string | null
} | null,
loading?: boolean | null,
navigated?: boolean | null,
ok?: boolean | null,
url?: string | null
} | {
command?: string | null,
effect?: string | null,
error?: {
code?: string | null,
message?: string | null,
reason?: string | null
} | null,
loading?: boolean | null,
navigated?: boolean | null,
ok?: boolean | null,
url?: string | null
} | {
command?: string | null,
effect?: string | null,
error?: {
code?: string | null,
message?: string | null,
reason?: string | null
} | null,
loading?: boolean | null,
ok?: boolean | null,
url?: string | null
} | {
command?: string | null,
effect?: string | null,
error?: {
code?: string | null,
message?: string | null,
reason?: string | null
} | null,
ok?: boolean | null,
snapshot?: string | null,
snapshotId?: string | null
} | {
command?: string | null,
dialog?: {
defaultPrompt?: string | null,
id?: string | null,
message?: string | null,
tab?: string | null,
type?: string | null
} | null,
effect?: string | null,
error?: {
code?: string | null,
message?: string | null,
reason?: string | null
} | null,
loading?: boolean | null,
ok?: boolean | null,
opened?: string[] | null
} | {
command?: string | null,
dialog?: {
defaultPrompt?: string | null,
id?: string | null,
message?: string | null,
tab?: string | null,
type?: string | null
} | null,
effect?: string | null,
error?: {
code?: string | null,
message?: string | null,
reason?: string | null
} | null,
ok?: boolean | null
} | {
command?: string | null,
effect?: string | null,
error?: {
code?: string | null,
message?: string | null,
reason?: string | null
} | null,
ok?: boolean | null
} | {
command?: string | null,
dialog?: {
defaultPrompt?: string | null,
id?: string | null,
message?: string | null,
tab?: string | null,
type?: string | null
} | null,
effect?: string | null,
error?: {
code?: string | null,
message?: string | null,
reason?: string | null
} | null,
loading?: boolean | null,
ok?: boolean | null,
opened?: string[] | null
} | {
command?: string | null,
dialog?: {
defaultPrompt?: string | null,
id?: string | null,
message?: string | null,
tab?: string | null,
type?: string | null
} | null,
effect?: string | null,
error?: {
code?: string | null,
message?: string | null,
reason?: string | null
} | null,
loading?: boolean | null,
ok?: boolean | null,
opened?: string[] | null
} | {
answered?: string | null,
command?: string | null,
dialog?: {
defaultPrompt?: string | null,
id?: string | null,
message?: string | null,
tab?: string | null,
type?: string | null
} | null,
effect?: string | null,
error?: {
code?: string | null,
message?: string | null,
reason?: string | null
} | null,
loading?: boolean | null,
ok?: boolean | null,
opened?: string[] | null
} | {
command?: string | null,
dialog?: {
defaultPrompt?: string | null,
id?: string | null,
message?: string | null,
tab?: string | null,
type?: string | null
} | null,
effect?: string | null,
error?: {
code?: string | null,
message?: string | null,
reason?: string | null
} | null,
loading?: boolean | null,
ok?: boolean | null,
opened?: string[] | null
} | {
command?: string | null,
dialog?: {
defaultPrompt?: string | null,
id?: string | null,
message?: string | null,
tab?: string | null,
type?: string | null
} | null,
effect?: string | null,
error?: {
code?: string | null,
message?: string | null,
reason?: string | null
} | null,
loading?: boolean | null,
ok?: boolean | null,
opened?: string[] | null
} | {
button?: string | null,
command?: string | null,
dialog?: {
defaultPrompt?: string | null,
id?: string | null,
message?: string | null,
tab?: string | null,
type?: string | null
} | null,
effect?: string | null,
error?: {
code?: string | null,
message?: string | null,
reason?: string | null
} | null,
keys?: string[] | null,
loading?: boolean | null,
ok?: boolean | null,
opened?: string[] | null
} | {
command?: string | null,
dialog?: {
defaultPrompt?: string | null,
id?: string | null,
message?: string | null,
tab?: string | null,
type?: string | null
} | null,
effect?: string | null,
error?: {
code?: string | null,
message?: string | null,
reason?: string | null
} | null,
loading?: boolean | null,
ok?: boolean | null,
opened?: string[] | null,
selected?: string[] | null
} | {
checked?: boolean | null,
command?: string | null,
dialog?: {
defaultPrompt?: string | null,
id?: string | null,
message?: string | null,
tab?: string | null,
type?: string | null
} | null,
effect?: string | null,
error?: {
code?: string | null,
message?: string | null,
reason?: string | null
} | null,
loading?: boolean | null,
ok?: boolean | null,
opened?: string[] | null
} | {
checked?: boolean | null,
command?: string | null,
dialog?: {
defaultPrompt?: string | null,
id?: string | null,
message?: string | null,
tab?: string | null,
type?: string | null
} | null,
effect?: string | null,
error?: {
code?: string | null,
message?: string | null,
reason?: string | null
} | null,
loading?: boolean | null,
ok?: boolean | null,
opened?: string[] | null
} | {
command?: string | null,
dialog?: {
defaultPrompt?: string | null,
id?: string | null,
message?: string | null,
tab?: string | null,
type?: string | null
} | null,
effect?: string | null,
error?: {
code?: string | null,
message?: string | null,
reason?: string | null
} | null,
files?: string[] | null,
loading?: boolean | null,
ok?: boolean | null,
opened?: string[] | null
} | {
command?: string | null,
dialog?: {
defaultPrompt?: string | null,
id?: string | null,
message?: string | null,
tab?: string | null,
type?: string | null
} | null,
effect?: string | null,
error?: {
code?: string | null,
message?: string | null,
reason?: string | null
} | null,
loading?: boolean | null,
ok?: boolean | null,
opened?: string[] | null
} | {
command?: string | null,
effect?: string | null,
error?: {
code?: string | null,
message?: string | null,
reason?: string | null
} | null,
masked?: boolean | null,
ok?: boolean | null,
value?: any | null,
what?: string | null
} | {
command?: string | null,
effect?: string | null,
error?: {
code?: string | null,
message?: string | null,
reason?: string | null
} | null,
ok?: boolean | null,
value?: boolean | null
} | {
bytes?: number | null,
command?: string | null,
effect?: string | null,
error?: {
code?: string | null,
message?: string | null,
reason?: string | null
} | null,
file?: string | null,
ok?: boolean | null,
waited?: string | null
} | {
command?: string | null,
data?: string | null,
effect?: string | null,
error?: {
code?: string | null,
message?: string | null,
reason?: string | null
} | null,
format?: string | null,
ok?: boolean | null
} | {
command?: string | null,
dialog?: {
defaultPrompt?: string | null,
id?: string | null,
message?: string | null,
tab?: string | null,
type?: string | null
} | null,
effect?: string | null,
error?: {
code?: string | null,
message?: string | null,
reason?: string | null
} | null,
loading?: boolean | null,
ok?: boolean | null,
opened?: string[] | null,
value?: any | null
} | {
command?: string | null,
data?: string | null,
effect?: string | null,
error?: {
code?: string | null,
message?: string | null,
reason?: string | null
} | null,
format?: string | null,
ok?: boolean | null
} | {
command?: string | null,
effect?: string | null,
error?: {
code?: string | null,
message?: string | null,
reason?: string | null
} | null,
moved?: boolean | null,
ok?: boolean | null,
x?: number | null,
y?: number | null
} | {
command?: string | null,
count?: number | null,
effect?: string | null,
error?: {
code?: string | null,
message?: string | null,
reason?: string | null
} | null,
matches?: {
name?: string | null,
ref?: string | null,
role?: string | null
}[] | null,
ok?: boolean | null
} | {
command?: string | null,
effect?: string | null,
error?: {
code?: string | null,
message?: string | null,
reason?: string | null
} | null,
loading?: boolean | null,
ok?: boolean | null,
tab?: string | null,
tabs?: {
tab?: string | null,
title?: string | null,
url?: string | null
}[] | null
} | {
command?: string | null,
dialog?: {
defaultPrompt?: string | null,
id?: string | null,
message?: string | null,
tab?: string | null,
type?: string | null
} | null,
effect?: string | null,
error?: {
code?: string | null,
message?: string | null,
reason?: string | null
} | null,
loading?: boolean | null,
ok?: boolean | null,
opened?: string[] | null
}
)[] | null
stopped full type
stopped full type
{
code?: string | null,
message?: string | null,
reason?: string | null
} | null
commands.run
sessions.commands.run
Run commands. Drives the session’s browser with high-level commands such as snapshot, click, and fill. Commands run in order and stop at the first failure. Send a random Idempotency-Key header to make retries safe.
Risk: write
await corsair.steel.api.sessions.commands.run({
sessionId: 'example',
commands: { command: 'navigate', url: 'https://example.com' },
});
| Name | Type | Required | Description |
|---|---|---|---|
sessionId | string | Yes | Session ID |
idempotency_key | string | No | A random value. A retry with the same key returns the stored result. |
after | string | No | The next value from your last response. A retry with the same after and commands runs only once. |
commands | object | object[] | Yes | One command, or an array of up to 50. They run in order and stop at the first failure. Commands that already ran are not undone. |
observe | object | No | Returns a snapshot, or a diff against the last one, after the commands. |
commands full type
commands full type
{
command: navigate,
tab?: string,
url: string
} | {
command: back,
tab?: string
} | {
command: forward,
tab?: string
} | {
command: reload,
tab?: string
} | {
command: snapshot,
compact?: boolean,
depth?: number,
interactive?: boolean,
tab?: string
} | {
button?: left | right | middle,
clicks?: number,
command: click,
expect?: {
name?: string,
role?: string
},
frame?: string | {
alt?: string,
css?: string,
exact?: boolean,
label?: string,
name?: string,
nth?: number,
placeholder?: string,
role?: string,
testid?: string,
text?: string,
title?: string
} | (string | {
alt?: string,
css?: string,
exact?: boolean,
label?: string,
name?: string,
nth?: number,
placeholder?: string,
role?: string,
testid?: string,
text?: string,
title?: string
})[],
tab?: string,
target: string | {
alt?: string,
css?: string,
exact?: boolean,
label?: string,
name?: string,
nth?: number,
placeholder?: string,
role?: string,
testid?: string,
text?: string,
title?: string
}
} | {
command: hover,
expect?: {
name?: string,
role?: string
},
frame?: string | {
alt?: string,
css?: string,
exact?: boolean,
label?: string,
name?: string,
nth?: number,
placeholder?: string,
role?: string,
testid?: string,
text?: string,
title?: string
} | (string | {
alt?: string,
css?: string,
exact?: boolean,
label?: string,
name?: string,
nth?: number,
placeholder?: string,
role?: string,
testid?: string,
text?: string,
title?: string
})[],
tab?: string,
target: string | {
alt?: string,
css?: string,
exact?: boolean,
label?: string,
name?: string,
nth?: number,
placeholder?: string,
role?: string,
testid?: string,
text?: string,
title?: string
}
} | {
command: focus,
expect?: {
name?: string,
role?: string
},
frame?: string | {
alt?: string,
css?: string,
exact?: boolean,
label?: string,
name?: string,
nth?: number,
placeholder?: string,
role?: string,
testid?: string,
text?: string,
title?: string
} | (string | {
alt?: string,
css?: string,
exact?: boolean,
label?: string,
name?: string,
nth?: number,
placeholder?: string,
role?: string,
testid?: string,
text?: string,
title?: string
})[],
tab?: string,
target: string | {
alt?: string,
css?: string,
exact?: boolean,
label?: string,
name?: string,
nth?: number,
placeholder?: string,
role?: string,
testid?: string,
text?: string,
title?: string
}
} | {
clear?: boolean,
command: type,
delay?: number,
expect?: {
name?: string,
role?: string
},
frame?: string | {
alt?: string,
css?: string,
exact?: boolean,
label?: string,
name?: string,
nth?: number,
placeholder?: string,
role?: string,
testid?: string,
text?: string,
title?: string
} | (string | {
alt?: string,
css?: string,
exact?: boolean,
label?: string,
name?: string,
nth?: number,
placeholder?: string,
role?: string,
testid?: string,
text?: string,
title?: string
})[],
tab?: string,
target: string | {
alt?: string,
css?: string,
exact?: boolean,
label?: string,
name?: string,
nth?: number,
placeholder?: string,
role?: string,
testid?: string,
text?: string,
title?: string
},
text: string
} | {
command: fill,
expect?: {
name?: string,
role?: string
},
frame?: string | {
alt?: string,
css?: string,
exact?: boolean,
label?: string,
name?: string,
nth?: number,
placeholder?: string,
role?: string,
testid?: string,
text?: string,
title?: string
} | (string | {
alt?: string,
css?: string,
exact?: boolean,
label?: string,
name?: string,
nth?: number,
placeholder?: string,
role?: string,
testid?: string,
text?: string,
title?: string
})[],
tab?: string,
target: string | {
alt?: string,
css?: string,
exact?: boolean,
label?: string,
name?: string,
nth?: number,
placeholder?: string,
role?: string,
testid?: string,
text?: string,
title?: string
},
value: string
} | {
command: press,
expect?: {
name?: string,
role?: string
},
frame?: string | {
alt?: string,
css?: string,
exact?: boolean,
label?: string,
name?: string,
nth?: number,
placeholder?: string,
role?: string,
testid?: string,
text?: string,
title?: string
} | (string | {
alt?: string,
css?: string,
exact?: boolean,
label?: string,
name?: string,
nth?: number,
placeholder?: string,
role?: string,
testid?: string,
text?: string,
title?: string
})[],
key: string,
tab?: string,
target?: string | {
alt?: string,
css?: string,
exact?: boolean,
label?: string,
name?: string,
nth?: number,
placeholder?: string,
role?: string,
testid?: string,
text?: string,
title?: string
}
} | {
action: down | up,
command: keyboard,
key: string,
tab?: string
} | {
command: release,
tab?: string
} | {
action: move | down | up | click | wheel,
button?: left | right | middle,
clicks?: number,
command: mouse,
deltaX?: number,
deltaY?: number,
tab?: string,
x?: number,
y?: number
} | {
command: select,
expect?: {
name?: string,
role?: string
},
frame?: string | {
alt?: string,
css?: string,
exact?: boolean,
label?: string,
name?: string,
nth?: number,
placeholder?: string,
role?: string,
testid?: string,
text?: string,
title?: string
} | (string | {
alt?: string,
css?: string,
exact?: boolean,
label?: string,
name?: string,
nth?: number,
placeholder?: string,
role?: string,
testid?: string,
text?: string,
title?: string
})[],
tab?: string,
target: string | {
alt?: string,
css?: string,
exact?: boolean,
label?: string,
name?: string,
nth?: number,
placeholder?: string,
role?: string,
testid?: string,
text?: string,
title?: string
},
values: string | string[]
} | {
command: check,
expect?: {
name?: string,
role?: string
},
frame?: string | {
alt?: string,
css?: string,
exact?: boolean,
label?: string,
name?: string,
nth?: number,
placeholder?: string,
role?: string,
testid?: string,
text?: string,
title?: string
} | (string | {
alt?: string,
css?: string,
exact?: boolean,
label?: string,
name?: string,
nth?: number,
placeholder?: string,
role?: string,
testid?: string,
text?: string,
title?: string
})[],
tab?: string,
target: string | {
alt?: string,
css?: string,
exact?: boolean,
label?: string,
name?: string,
nth?: number,
placeholder?: string,
role?: string,
testid?: string,
text?: string,
title?: string
}
} | {
command: upload,
expect?: {
name?: string,
role?: string
},
files: string | string[],
frame?: string | {
alt?: string,
css?: string,
exact?: boolean,
label?: string,
name?: string,
nth?: number,
placeholder?: string,
role?: string,
testid?: string,
text?: string,
title?: string
} | (string | {
alt?: string,
css?: string,
exact?: boolean,
label?: string,
name?: string,
nth?: number,
placeholder?: string,
role?: string,
testid?: string,
text?: string,
title?: string
})[],
tab?: string,
target: string | {
alt?: string,
css?: string,
exact?: boolean,
label?: string,
name?: string,
nth?: number,
placeholder?: string,
role?: string,
testid?: string,
text?: string,
title?: string
}
} | {
command: drag,
frame?: string | {
alt?: string,
css?: string,
exact?: boolean,
label?: string,
name?: string,
nth?: number,
placeholder?: string,
role?: string,
testid?: string,
text?: string,
title?: string
} | (string | {
alt?: string,
css?: string,
exact?: boolean,
label?: string,
name?: string,
nth?: number,
placeholder?: string,
role?: string,
testid?: string,
text?: string,
title?: string
})[],
source: string | {
alt?: string,
css?: string,
exact?: boolean,
label?: string,
name?: string,
nth?: number,
placeholder?: string,
role?: string,
testid?: string,
text?: string,
title?: string
},
tab?: string,
target: string | {
alt?: string,
css?: string,
exact?: boolean,
label?: string,
name?: string,
nth?: number,
placeholder?: string,
role?: string,
testid?: string,
text?: string,
title?: string
}
} | {
command: uncheck,
expect?: {
name?: string,
role?: string
},
frame?: string | {
alt?: string,
css?: string,
exact?: boolean,
label?: string,
name?: string,
nth?: number,
placeholder?: string,
role?: string,
testid?: string,
text?: string,
title?: string
} | (string | {
alt?: string,
css?: string,
exact?: boolean,
label?: string,
name?: string,
nth?: number,
placeholder?: string,
role?: string,
testid?: string,
text?: string,
title?: string
})[],
tab?: string,
target: string | {
alt?: string,
css?: string,
exact?: boolean,
label?: string,
name?: string,
nth?: number,
placeholder?: string,
role?: string,
testid?: string,
text?: string,
title?: string
}
} | {
attribute?: string,
command: get,
expect?: {
name?: string,
role?: string
},
frame?: string | {
alt?: string,
css?: string,
exact?: boolean,
label?: string,
name?: string,
nth?: number,
placeholder?: string,
role?: string,
testid?: string,
text?: string,
title?: string
} | (string | {
alt?: string,
css?: string,
exact?: boolean,
label?: string,
name?: string,
nth?: number,
placeholder?: string,
role?: string,
testid?: string,
text?: string,
title?: string
})[],
tab?: string,
target?: string | {
alt?: string,
css?: string,
exact?: boolean,
label?: string,
name?: string,
nth?: number,
placeholder?: string,
role?: string,
testid?: string,
text?: string,
title?: string
},
what: text | html | markdown | value | attr | title | url | count | box | locator
} | {
command: is,
expect?: {
name?: string,
role?: string
},
frame?: string | {
alt?: string,
css?: string,
exact?: boolean,
label?: string,
name?: string,
nth?: number,
placeholder?: string,
role?: string,
testid?: string,
text?: string,
title?: string
} | (string | {
alt?: string,
css?: string,
exact?: boolean,
label?: string,
name?: string,
nth?: number,
placeholder?: string,
role?: string,
testid?: string,
text?: string,
title?: string
})[],
tab?: string,
target: string | {
alt?: string,
css?: string,
exact?: boolean,
label?: string,
name?: string,
nth?: number,
placeholder?: string,
role?: string,
testid?: string,
text?: string,
title?: string
},
what: visible | enabled | checked
} | {
command: wait,
download?: true,
expect?: {
name?: string,
role?: string
},
frame?: string | {
alt?: string,
css?: string,
exact?: boolean,
label?: string,
name?: string,
nth?: number,
placeholder?: string,
role?: string,
testid?: string,
text?: string,
title?: string
} | (string | {
alt?: string,
css?: string,
exact?: boolean,
label?: string,
name?: string,
nth?: number,
placeholder?: string,
role?: string,
testid?: string,
text?: string,
title?: string
})[],
load?: load | domcontentloaded | networkidle,
ms?: number,
state?: visible | hidden | attached | detached,
tab?: string,
target?: string | {
alt?: string,
css?: string,
exact?: boolean,
label?: string,
name?: string,
nth?: number,
placeholder?: string,
role?: string,
testid?: string,
text?: string,
title?: string
},
text?: string,
timeout?: number,
url?: string
} | {
command: screenshot,
expect?: {
name?: string,
role?: string
},
format?: png | jpeg | webp,
frame?: string | {
alt?: string,
css?: string,
exact?: boolean,
label?: string,
name?: string,
nth?: number,
placeholder?: string,
role?: string,
testid?: string,
text?: string,
title?: string
} | (string | {
alt?: string,
css?: string,
exact?: boolean,
label?: string,
name?: string,
nth?: number,
placeholder?: string,
role?: string,
testid?: string,
text?: string,
title?: string
})[],
fullPage?: boolean,
quality?: number,
tab?: string,
target?: string | {
alt?: string,
css?: string,
exact?: boolean,
label?: string,
name?: string,
nth?: number,
placeholder?: string,
role?: string,
testid?: string,
text?: string,
title?: string
}
} | {
command: eval,
script: string,
tab?: string,
timeout?: number
} | {
command: pdf,
landscape?: boolean,
printBackground?: boolean,
tab?: string
} | {
amount?: number,
command: scroll,
direction?: up | down | left | right,
expect?: {
name?: string,
role?: string
},
frame?: string | {
alt?: string,
css?: string,
exact?: boolean,
label?: string,
name?: string,
nth?: number,
placeholder?: string,
role?: string,
testid?: string,
text?: string,
title?: string
} | (string | {
alt?: string,
css?: string,
exact?: boolean,
label?: string,
name?: string,
nth?: number,
placeholder?: string,
role?: string,
testid?: string,
text?: string,
title?: string
})[],
tab?: string,
target?: string | {
alt?: string,
css?: string,
exact?: boolean,
label?: string,
name?: string,
nth?: number,
placeholder?: string,
role?: string,
testid?: string,
text?: string,
title?: string
}
} | {
command: find,
frame?: string | {
alt?: string,
css?: string,
exact?: boolean,
label?: string,
name?: string,
nth?: number,
placeholder?: string,
role?: string,
testid?: string,
text?: string,
title?: string
} | (string | {
alt?: string,
css?: string,
exact?: boolean,
label?: string,
name?: string,
nth?: number,
placeholder?: string,
role?: string,
testid?: string,
text?: string,
title?: string
})[],
tab?: string,
target: string | {
alt?: string,
css?: string,
exact?: boolean,
label?: string,
name?: string,
nth?: number,
placeholder?: string,
role?: string,
testid?: string,
text?: string,
title?: string
}
} | {
action: list | new | close,
command: tab,
tab?: string,
url?: string
} | {
action: accept | dismiss,
command: dialog,
dialog: string,
text?: string
} | (
{
command: navigate,
tab?: string,
url: string
} | {
command: back,
tab?: string
} | {
command: forward,
tab?: string
} | {
command: reload,
tab?: string
} | {
command: snapshot,
compact?: boolean,
depth?: number,
interactive?: boolean,
tab?: string
} | {
button?: left | right | middle,
clicks?: number,
command: click,
expect?: {
name?: string,
role?: string
},
frame?: string | {
alt?: string,
css?: string,
exact?: boolean,
label?: string,
name?: string,
nth?: number,
placeholder?: string,
role?: string,
testid?: string,
text?: string,
title?: string
} | (string | {
alt?: string,
css?: string,
exact?: boolean,
label?: string,
name?: string,
nth?: number,
placeholder?: string,
role?: string,
testid?: string,
text?: string,
title?: string
})[],
tab?: string,
target: string | {
alt?: string,
css?: string,
exact?: boolean,
label?: string,
name?: string,
nth?: number,
placeholder?: string,
role?: string,
testid?: string,
text?: string,
title?: string
}
} | {
command: hover,
expect?: {
name?: string,
role?: string
},
frame?: string | {
alt?: string,
css?: string,
exact?: boolean,
label?: string,
name?: string,
nth?: number,
placeholder?: string,
role?: string,
testid?: string,
text?: string,
title?: string
} | (string | {
alt?: string,
css?: string,
exact?: boolean,
label?: string,
name?: string,
nth?: number,
placeholder?: string,
role?: string,
testid?: string,
text?: string,
title?: string
})[],
tab?: string,
target: string | {
alt?: string,
css?: string,
exact?: boolean,
label?: string,
name?: string,
nth?: number,
placeholder?: string,
role?: string,
testid?: string,
text?: string,
title?: string
}
} | {
command: focus,
expect?: {
name?: string,
role?: string
},
frame?: string | {
alt?: string,
css?: string,
exact?: boolean,
label?: string,
name?: string,
nth?: number,
placeholder?: string,
role?: string,
testid?: string,
text?: string,
title?: string
} | (string | {
alt?: string,
css?: string,
exact?: boolean,
label?: string,
name?: string,
nth?: number,
placeholder?: string,
role?: string,
testid?: string,
text?: string,
title?: string
})[],
tab?: string,
target: string | {
alt?: string,
css?: string,
exact?: boolean,
label?: string,
name?: string,
nth?: number,
placeholder?: string,
role?: string,
testid?: string,
text?: string,
title?: string
}
} | {
clear?: boolean,
command: type,
delay?: number,
expect?: {
name?: string,
role?: string
},
frame?: string | {
alt?: string,
css?: string,
exact?: boolean,
label?: string,
name?: string,
nth?: number,
placeholder?: string,
role?: string,
testid?: string,
text?: string,
title?: string
} | (string | {
alt?: string,
css?: string,
exact?: boolean,
label?: string,
name?: string,
nth?: number,
placeholder?: string,
role?: string,
testid?: string,
text?: string,
title?: string
})[],
tab?: string,
target: string | {
alt?: string,
css?: string,
exact?: boolean,
label?: string,
name?: string,
nth?: number,
placeholder?: string,
role?: string,
testid?: string,
text?: string,
title?: string
},
text: string
} | {
command: fill,
expect?: {
name?: string,
role?: string
},
frame?: string | {
alt?: string,
css?: string,
exact?: boolean,
label?: string,
name?: string,
nth?: number,
placeholder?: string,
role?: string,
testid?: string,
text?: string,
title?: string
} | (string | {
alt?: string,
css?: string,
exact?: boolean,
label?: string,
name?: string,
nth?: number,
placeholder?: string,
role?: string,
testid?: string,
text?: string,
title?: string
})[],
tab?: string,
target: string | {
alt?: string,
css?: string,
exact?: boolean,
label?: string,
name?: string,
nth?: number,
placeholder?: string,
role?: string,
testid?: string,
text?: string,
title?: string
},
value: string
} | {
command: press,
expect?: {
name?: string,
role?: string
},
frame?: string | {
alt?: string,
css?: string,
exact?: boolean,
label?: string,
name?: string,
nth?: number,
placeholder?: string,
role?: string,
testid?: string,
text?: string,
title?: string
} | (string | {
alt?: string,
css?: string,
exact?: boolean,
label?: string,
name?: string,
nth?: number,
placeholder?: string,
role?: string,
testid?: string,
text?: string,
title?: string
})[],
key: string,
tab?: string,
target?: string | {
alt?: string,
css?: string,
exact?: boolean,
label?: string,
name?: string,
nth?: number,
placeholder?: string,
role?: string,
testid?: string,
text?: string,
title?: string
}
} | {
action: down | up,
command: keyboard,
key: string,
tab?: string
} | {
command: release,
tab?: string
} | {
action: move | down | up | click | wheel,
button?: left | right | middle,
clicks?: number,
command: mouse,
deltaX?: number,
deltaY?: number,
tab?: string,
x?: number,
y?: number
} | {
command: select,
expect?: {
name?: string,
role?: string
},
frame?: string | {
alt?: string,
css?: string,
exact?: boolean,
label?: string,
name?: string,
nth?: number,
placeholder?: string,
role?: string,
testid?: string,
text?: string,
title?: string
} | (string | {
alt?: string,
css?: string,
exact?: boolean,
label?: string,
name?: string,
nth?: number,
placeholder?: string,
role?: string,
testid?: string,
text?: string,
title?: string
})[],
tab?: string,
target: string | {
alt?: string,
css?: string,
exact?: boolean,
label?: string,
name?: string,
nth?: number,
placeholder?: string,
role?: string,
testid?: string,
text?: string,
title?: string
},
values: string | string[]
} | {
command: check,
expect?: {
name?: string,
role?: string
},
frame?: string | {
alt?: string,
css?: string,
exact?: boolean,
label?: string,
name?: string,
nth?: number,
placeholder?: string,
role?: string,
testid?: string,
text?: string,
title?: string
} | (string | {
alt?: string,
css?: string,
exact?: boolean,
label?: string,
name?: string,
nth?: number,
placeholder?: string,
role?: string,
testid?: string,
text?: string,
title?: string
})[],
tab?: string,
target: string | {
alt?: string,
css?: string,
exact?: boolean,
label?: string,
name?: string,
nth?: number,
placeholder?: string,
role?: string,
testid?: string,
text?: string,
title?: string
}
} | {
command: upload,
expect?: {
name?: string,
role?: string
},
files: string | string[],
frame?: string | {
alt?: string,
css?: string,
exact?: boolean,
label?: string,
name?: string,
nth?: number,
placeholder?: string,
role?: string,
testid?: string,
text?: string,
title?: string
} | (string | {
alt?: string,
css?: string,
exact?: boolean,
label?: string,
name?: string,
nth?: number,
placeholder?: string,
role?: string,
testid?: string,
text?: string,
title?: string
})[],
tab?: string,
target: string | {
alt?: string,
css?: string,
exact?: boolean,
label?: string,
name?: string,
nth?: number,
placeholder?: string,
role?: string,
testid?: string,
text?: string,
title?: string
}
} | {
command: drag,
frame?: string | {
alt?: string,
css?: string,
exact?: boolean,
label?: string,
name?: string,
nth?: number,
placeholder?: string,
role?: string,
testid?: string,
text?: string,
title?: string
} | (string | {
alt?: string,
css?: string,
exact?: boolean,
label?: string,
name?: string,
nth?: number,
placeholder?: string,
role?: string,
testid?: string,
text?: string,
title?: string
})[],
source: string | {
alt?: string,
css?: string,
exact?: boolean,
label?: string,
name?: string,
nth?: number,
placeholder?: string,
role?: string,
testid?: string,
text?: string,
title?: string
},
tab?: string,
target: string | {
alt?: string,
css?: string,
exact?: boolean,
label?: string,
name?: string,
nth?: number,
placeholder?: string,
role?: string,
testid?: string,
text?: string,
title?: string
}
} | {
command: uncheck,
expect?: {
name?: string,
role?: string
},
frame?: string | {
alt?: string,
css?: string,
exact?: boolean,
label?: string,
name?: string,
nth?: number,
placeholder?: string,
role?: string,
testid?: string,
text?: string,
title?: string
} | (string | {
alt?: string,
css?: string,
exact?: boolean,
label?: string,
name?: string,
nth?: number,
placeholder?: string,
role?: string,
testid?: string,
text?: string,
title?: string
})[],
tab?: string,
target: string | {
alt?: string,
css?: string,
exact?: boolean,
label?: string,
name?: string,
nth?: number,
placeholder?: string,
role?: string,
testid?: string,
text?: string,
title?: string
}
} | {
attribute?: string,
command: get,
expect?: {
name?: string,
role?: string
},
frame?: string | {
alt?: string,
css?: string,
exact?: boolean,
label?: string,
name?: string,
nth?: number,
placeholder?: string,
role?: string,
testid?: string,
text?: string,
title?: string
} | (string | {
alt?: string,
css?: string,
exact?: boolean,
label?: string,
name?: string,
nth?: number,
placeholder?: string,
role?: string,
testid?: string,
text?: string,
title?: string
})[],
tab?: string,
target?: string | {
alt?: string,
css?: string,
exact?: boolean,
label?: string,
name?: string,
nth?: number,
placeholder?: string,
role?: string,
testid?: string,
text?: string,
title?: string
},
what: text | html | markdown | value | attr | title | url | count | box | locator
} | {
command: is,
expect?: {
name?: string,
role?: string
},
frame?: string | {
alt?: string,
css?: string,
exact?: boolean,
label?: string,
name?: string,
nth?: number,
placeholder?: string,
role?: string,
testid?: string,
text?: string,
title?: string
} | (string | {
alt?: string,
css?: string,
exact?: boolean,
label?: string,
name?: string,
nth?: number,
placeholder?: string,
role?: string,
testid?: string,
text?: string,
title?: string
})[],
tab?: string,
target: string | {
alt?: string,
css?: string,
exact?: boolean,
label?: string,
name?: string,
nth?: number,
placeholder?: string,
role?: string,
testid?: string,
text?: string,
title?: string
},
what: visible | enabled | checked
} | {
command: wait,
download?: true,
expect?: {
name?: string,
role?: string
},
frame?: string | {
alt?: string,
css?: string,
exact?: boolean,
label?: string,
name?: string,
nth?: number,
placeholder?: string,
role?: string,
testid?: string,
text?: string,
title?: string
} | (string | {
alt?: string,
css?: string,
exact?: boolean,
label?: string,
name?: string,
nth?: number,
placeholder?: string,
role?: string,
testid?: string,
text?: string,
title?: string
})[],
load?: load | domcontentloaded | networkidle,
ms?: number,
state?: visible | hidden | attached | detached,
tab?: string,
target?: string | {
alt?: string,
css?: string,
exact?: boolean,
label?: string,
name?: string,
nth?: number,
placeholder?: string,
role?: string,
testid?: string,
text?: string,
title?: string
},
text?: string,
timeout?: number,
url?: string
} | {
command: screenshot,
expect?: {
name?: string,
role?: string
},
format?: png | jpeg | webp,
frame?: string | {
alt?: string,
css?: string,
exact?: boolean,
label?: string,
name?: string,
nth?: number,
placeholder?: string,
role?: string,
testid?: string,
text?: string,
title?: string
} | (string | {
alt?: string,
css?: string,
exact?: boolean,
label?: string,
name?: string,
nth?: number,
placeholder?: string,
role?: string,
testid?: string,
text?: string,
title?: string
})[],
fullPage?: boolean,
quality?: number,
tab?: string,
target?: string | {
alt?: string,
css?: string,
exact?: boolean,
label?: string,
name?: string,
nth?: number,
placeholder?: string,
role?: string,
testid?: string,
text?: string,
title?: string
}
} | {
command: eval,
script: string,
tab?: string,
timeout?: number
} | {
command: pdf,
landscape?: boolean,
printBackground?: boolean,
tab?: string
} | {
amount?: number,
command: scroll,
direction?: up | down | left | right,
expect?: {
name?: string,
role?: string
},
frame?: string | {
alt?: string,
css?: string,
exact?: boolean,
label?: string,
name?: string,
nth?: number,
placeholder?: string,
role?: string,
testid?: string,
text?: string,
title?: string
} | (string | {
alt?: string,
css?: string,
exact?: boolean,
label?: string,
name?: string,
nth?: number,
placeholder?: string,
role?: string,
testid?: string,
text?: string,
title?: string
})[],
tab?: string,
target?: string | {
alt?: string,
css?: string,
exact?: boolean,
label?: string,
name?: string,
nth?: number,
placeholder?: string,
role?: string,
testid?: string,
text?: string,
title?: string
}
} | {
command: find,
frame?: string | {
alt?: string,
css?: string,
exact?: boolean,
label?: string,
name?: string,
nth?: number,
placeholder?: string,
role?: string,
testid?: string,
text?: string,
title?: string
} | (string | {
alt?: string,
css?: string,
exact?: boolean,
label?: string,
name?: string,
nth?: number,
placeholder?: string,
role?: string,
testid?: string,
text?: string,
title?: string
})[],
tab?: string,
target: string | {
alt?: string,
css?: string,
exact?: boolean,
label?: string,
name?: string,
nth?: number,
placeholder?: string,
role?: string,
testid?: string,
text?: string,
title?: string
}
} | {
action: list | new | close,
command: tab,
tab?: string,
url?: string
} | {
action: accept | dismiss,
command: dialog,
dialog: string,
text?: string
}
)[]
observe full type
observe full type
{
base?: string,
compact?: boolean,
depth?: number,
interactive?: boolean,
mode: snapshot | diff,
tab?: string
}
| Name | Type | Required | Description |
|---|---|---|---|
bodyExpired | boolean | null | No | — |
dialog | object | null | No | A dialog that is open on the tab and blocks it until it closes. |
effect | string | null | No | What happened to the page: nothing, a change, or a possible change. |
epochChanged | boolean | null | No | Set when the execution ran with after. Whether another execution, a quick action, or a browser restart changed the session since then. Input from CDP clients or the live view does not count. |
held | object[] | null | No | Tabs with keys or a mouse button still held down. Left out when nothing is held. |
id | string | null | No | The id of this execution. Use it to get or cancel the execution. |
next | string | null | No | Send it as after in the next request. |
observe | object | null | No | — |
page | object | null | No | The tab the execution used. |
ran | number | null | No | Commands started. |
replayed | boolean | null | No | This is the stored result of an earlier request. Nothing ran again. |
results | object[] | null | No | — |
state | string | null | No | — |
stopped | object | null | No | Why the execution stopped early, such as a cancel, a timeout, or a browser restart. A failed command has its error in results instead. |
dialog full type
dialog full type
{
defaultPrompt?: string | null,
id?: string | null,
message?: string | null,
tab?: string | null,
type?: string | null
} | null
held full type
held full type
{
button?: string | null,
keys?: string[] | null,
tab?: string | null
}[] | null
observe full type
observe full type
{
additions?: number | null,
base?: string | null,
diff?: string | null,
error?: {
code?: string | null,
message?: string | null,
reason?: string | null
} | null,
full?: boolean | null,
removals?: number | null,
snapshot?: string | null,
snapshotId?: string | null
} | null
page full type
page full type
{
tab?: string | null,
title?: string | null,
url?: string | null
} | null | null
results full type
results full type
(
{
command?: string | null,
effect?: string | null,
error?: {
code?: string | null,
message?: string | null,
reason?: string | null
} | null,
loading?: boolean | null,
ok?: boolean | null,
url?: string | null
} | {
command?: string | null,
effect?: string | null,
error?: {
code?: string | null,
message?: string | null,
reason?: string | null
} | null,
loading?: boolean | null,
navigated?: boolean | null,
ok?: boolean | null,
url?: string | null
} | {
command?: string | null,
effect?: string | null,
error?: {
code?: string | null,
message?: string | null,
reason?: string | null
} | null,
loading?: boolean | null,
navigated?: boolean | null,
ok?: boolean | null,
url?: string | null
} | {
command?: string | null,
effect?: string | null,
error?: {
code?: string | null,
message?: string | null,
reason?: string | null
} | null,
loading?: boolean | null,
ok?: boolean | null,
url?: string | null
} | {
command?: string | null,
effect?: string | null,
error?: {
code?: string | null,
message?: string | null,
reason?: string | null
} | null,
ok?: boolean | null,
snapshot?: string | null,
snapshotId?: string | null
} | {
command?: string | null,
dialog?: {
defaultPrompt?: string | null,
id?: string | null,
message?: string | null,
tab?: string | null,
type?: string | null
} | null,
effect?: string | null,
error?: {
code?: string | null,
message?: string | null,
reason?: string | null
} | null,
loading?: boolean | null,
ok?: boolean | null,
opened?: string[] | null
} | {
command?: string | null,
dialog?: {
defaultPrompt?: string | null,
id?: string | null,
message?: string | null,
tab?: string | null,
type?: string | null
} | null,
effect?: string | null,
error?: {
code?: string | null,
message?: string | null,
reason?: string | null
} | null,
ok?: boolean | null
} | {
command?: string | null,
effect?: string | null,
error?: {
code?: string | null,
message?: string | null,
reason?: string | null
} | null,
ok?: boolean | null
} | {
command?: string | null,
dialog?: {
defaultPrompt?: string | null,
id?: string | null,
message?: string | null,
tab?: string | null,
type?: string | null
} | null,
effect?: string | null,
error?: {
code?: string | null,
message?: string | null,
reason?: string | null
} | null,
loading?: boolean | null,
ok?: boolean | null,
opened?: string[] | null
} | {
command?: string | null,
dialog?: {
defaultPrompt?: string | null,
id?: string | null,
message?: string | null,
tab?: string | null,
type?: string | null
} | null,
effect?: string | null,
error?: {
code?: string | null,
message?: string | null,
reason?: string | null
} | null,
loading?: boolean | null,
ok?: boolean | null,
opened?: string[] | null
} | {
answered?: string | null,
command?: string | null,
dialog?: {
defaultPrompt?: string | null,
id?: string | null,
message?: string | null,
tab?: string | null,
type?: string | null
} | null,
effect?: string | null,
error?: {
code?: string | null,
message?: string | null,
reason?: string | null
} | null,
loading?: boolean | null,
ok?: boolean | null,
opened?: string[] | null
} | {
command?: string | null,
dialog?: {
defaultPrompt?: string | null,
id?: string | null,
message?: string | null,
tab?: string | null,
type?: string | null
} | null,
effect?: string | null,
error?: {
code?: string | null,
message?: string | null,
reason?: string | null
} | null,
loading?: boolean | null,
ok?: boolean | null,
opened?: string[] | null
} | {
command?: string | null,
dialog?: {
defaultPrompt?: string | null,
id?: string | null,
message?: string | null,
tab?: string | null,
type?: string | null
} | null,
effect?: string | null,
error?: {
code?: string | null,
message?: string | null,
reason?: string | null
} | null,
loading?: boolean | null,
ok?: boolean | null,
opened?: string[] | null
} | {
button?: string | null,
command?: string | null,
dialog?: {
defaultPrompt?: string | null,
id?: string | null,
message?: string | null,
tab?: string | null,
type?: string | null
} | null,
effect?: string | null,
error?: {
code?: string | null,
message?: string | null,
reason?: string | null
} | null,
keys?: string[] | null,
loading?: boolean | null,
ok?: boolean | null,
opened?: string[] | null
} | {
command?: string | null,
dialog?: {
defaultPrompt?: string | null,
id?: string | null,
message?: string | null,
tab?: string | null,
type?: string | null
} | null,
effect?: string | null,
error?: {
code?: string | null,
message?: string | null,
reason?: string | null
} | null,
loading?: boolean | null,
ok?: boolean | null,
opened?: string[] | null,
selected?: string[] | null
} | {
checked?: boolean | null,
command?: string | null,
dialog?: {
defaultPrompt?: string | null,
id?: string | null,
message?: string | null,
tab?: string | null,
type?: string | null
} | null,
effect?: string | null,
error?: {
code?: string | null,
message?: string | null,
reason?: string | null
} | null,
loading?: boolean | null,
ok?: boolean | null,
opened?: string[] | null
} | {
checked?: boolean | null,
command?: string | null,
dialog?: {
defaultPrompt?: string | null,
id?: string | null,
message?: string | null,
tab?: string | null,
type?: string | null
} | null,
effect?: string | null,
error?: {
code?: string | null,
message?: string | null,
reason?: string | null
} | null,
loading?: boolean | null,
ok?: boolean | null,
opened?: string[] | null
} | {
command?: string | null,
dialog?: {
defaultPrompt?: string | null,
id?: string | null,
message?: string | null,
tab?: string | null,
type?: string | null
} | null,
effect?: string | null,
error?: {
code?: string | null,
message?: string | null,
reason?: string | null
} | null,
files?: string[] | null,
loading?: boolean | null,
ok?: boolean | null,
opened?: string[] | null
} | {
command?: string | null,
dialog?: {
defaultPrompt?: string | null,
id?: string | null,
message?: string | null,
tab?: string | null,
type?: string | null
} | null,
effect?: string | null,
error?: {
code?: string | null,
message?: string | null,
reason?: string | null
} | null,
loading?: boolean | null,
ok?: boolean | null,
opened?: string[] | null
} | {
command?: string | null,
effect?: string | null,
error?: {
code?: string | null,
message?: string | null,
reason?: string | null
} | null,
masked?: boolean | null,
ok?: boolean | null,
value?: any | null,
what?: string | null
} | {
command?: string | null,
effect?: string | null,
error?: {
code?: string | null,
message?: string | null,
reason?: string | null
} | null,
ok?: boolean | null,
value?: boolean | null
} | {
bytes?: number | null,
command?: string | null,
effect?: string | null,
error?: {
code?: string | null,
message?: string | null,
reason?: string | null
} | null,
file?: string | null,
ok?: boolean | null,
waited?: string | null
} | {
command?: string | null,
data?: string | null,
effect?: string | null,
error?: {
code?: string | null,
message?: string | null,
reason?: string | null
} | null,
format?: string | null,
ok?: boolean | null
} | {
command?: string | null,
dialog?: {
defaultPrompt?: string | null,
id?: string | null,
message?: string | null,
tab?: string | null,
type?: string | null
} | null,
effect?: string | null,
error?: {
code?: string | null,
message?: string | null,
reason?: string | null
} | null,
loading?: boolean | null,
ok?: boolean | null,
opened?: string[] | null,
value?: any | null
} | {
command?: string | null,
data?: string | null,
effect?: string | null,
error?: {
code?: string | null,
message?: string | null,
reason?: string | null
} | null,
format?: string | null,
ok?: boolean | null
} | {
command?: string | null,
effect?: string | null,
error?: {
code?: string | null,
message?: string | null,
reason?: string | null
} | null,
moved?: boolean | null,
ok?: boolean | null,
x?: number | null,
y?: number | null
} | {
command?: string | null,
count?: number | null,
effect?: string | null,
error?: {
code?: string | null,
message?: string | null,
reason?: string | null
} | null,
matches?: {
name?: string | null,
ref?: string | null,
role?: string | null
}[] | null,
ok?: boolean | null
} | {
command?: string | null,
effect?: string | null,
error?: {
code?: string | null,
message?: string | null,
reason?: string | null
} | null,
loading?: boolean | null,
ok?: boolean | null,
tab?: string | null,
tabs?: {
tab?: string | null,
title?: string | null,
url?: string | null
}[] | null
} | {
command?: string | null,
dialog?: {
defaultPrompt?: string | null,
id?: string | null,
message?: string | null,
tab?: string | null,
type?: string | null
} | null,
effect?: string | null,
error?: {
code?: string | null,
message?: string | null,
reason?: string | null
} | null,
loading?: boolean | null,
ok?: boolean | null,
opened?: string[] | null
}
)[] | null
stopped full type
stopped full type
{
code?: string | null,
message?: string | null,
reason?: string | null
} | null
computer
sessions.computer
Execute computer action. Execute computer actions like mouse movements, clicks, keyboard input, and more.
Risk: write
await corsair.steel.api.sessions.computer({ sessionId: 'example', action: 'move_mouse' });
| Name | Type | Required | Description |
|---|---|---|---|
sessionId | string | Yes | Session ID |
action | move_mouse | click_mouse | drag_mouse | scroll | press_key | type_text | wait | take_screenshot | get_cursor_position | Yes | — |
coordinates | number[] | No | X and Y coordinates [x, y] |
hold_keys | string[] | string[] | string[] | string[] | string[] | No | — |
screenshot | boolean | No | Whether to take a screenshot after the action |
button | left | right | middle | back | forward | No | Mouse button to click. Defaults to ‘left’ |
click_type | down | up | click | No | Type of click (down, up, or click). Defaults to ‘click’ |
num_clicks | number | No | Number of clicks. Defaults to 1 |
path | number[][] | No | Array of [x, y] coordinate pairs |
delta_x | number | No | Horizontal scroll amount. Defaults to 0 |
delta_y | number | No | Vertical scroll amount. Defaults to 0 |
duration | number | number | No | — |
keys | string[] | No | Keys to press |
text | string | No | Text to type |
| Name | Type | Required | Description |
|---|---|---|---|
base64_image | string | null | No | Base64 encoded screenshot if requested |
error | string | null | No | Error message if action failed |
output | string | null | No | Output message from the action |
system | string | null | No | System information |
context
sessions.context
Get session context. Fetches the context data of a specific session.
Risk: read
await corsair.steel.api.sessions.context({ id: '3f0e6a2c-8b1d-4c7e-9a52-1d2e3f4a5b6c' });
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
cookies | object[] | null | No | Cookies to initialize in the session |
indexedDB | object | null | No | Domain-specific indexedDB items to initialize in the session |
localStorage | Record<string, Record<string, string>> | null | No | Domain-specific localStorage items to initialize in the session |
sessionStorage | Record<string, Record<string, string>> | null | No | Domain-specific sessionStorage items to initialize in the session |
cookies full type
cookies full type
{
domain?: string | null,
expires?: number | null,
httpOnly?: boolean | null,
name?: string | null,
partitionKey?: {
hasCrossSiteAncestor?: boolean | null,
topLevelSite?: string | null
} | null,
path?: string | null,
priority?: string | null,
sameParty?: boolean | null,
sameSite?: string | null,
secure?: boolean | null,
session?: boolean | null,
size?: number | null,
sourcePort?: number | null,
sourceScheme?: string | null,
url?: string | null,
value?: string | null
}[] | null
indexedDB full type
indexedDB full type
Record<string, {
data?: {
id?: number | null,
name?: string | null,
records?: {
blobFiles?: {
blobNumber?: number | null,
filename?: string | null,
lastModified?: string | null,
mimeType?: string | null,
path?: string | null,
size?: number | null
}[] | null,
key?: any | null,
value?: any | null
}[] | null
}[] | null,
id?: number | null,
name?: string | null
}[]> | null
cost
sessions.cost
Get session cost. Returns the finalized cost of a released session as an exact amount in US dollars (e.g. 0.031905), suitable for precise billing passthrough.
Risk: read
await corsair.steel.api.sessions.cost({ id: '3f0e6a2c-8b1d-4c7e-9a52-1d2e3f4a5b6c' });
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
currency | string | null | No | Currency used for the cost values |
id | string | null | No | Session ID |
totalCost | number | null | No | Exact total session cost in US dollars (e.g. 0.031905), with no rounding to whole cents. Rounded only to micro-dollar precision (6 decimal places) for precise billing passthrough. |
unit | string | null | No | Cost unit. Values are expressed in US dollars. |
usage | object | null | No | Billable usage inputs used to calculate the costs |
usage full type
usage full type
{
browser?: {
unit?: string | null,
value?: number | null
} | null,
captcha?: {
solves?: number | null
} | null,
proxy?: {
bytes?: number | null
} | null
} | null
create
sessions.create
Create a session. Creates a new session with the provided configuration. Starts a cloud browser that is billed by the minute until it is released or times out.
Risk: destructive · Irreversible
await corsair.steel.api.sessions.create({ timeout: 60000 });
| Name | Type | Required | Description |
|---|---|---|---|
blockAds | boolean | No | Block ads in the browser session. Default is true. |
caCertificates | string[] | No | PEM-encoded root CA certificates to trust in this session. THIS IS CURRENTLY AN EXPERIMENTAL FEATURE. |
concurrency | number | No | Number of sessions to create concurrently (check your plan limit) |
credentials | object | No | Configuration for session credentials. Set enabled to false to disable credentials, including those inherited from a profile. Credentials are opt-in at creation; only credentials-enabled sessions can have credentials attached later (otherwise 409 credentials_not_enabled). |
debugConfig | object | No | Configuration for the debug URL and session viewer. Controls interaction capabilities, cursor visibility, and other debug-related settings. |
deviceConfig | object | No | Device configuration for the session. Specify ‘mobile’ for mobile device fingerprints and configurations. |
dimensions | object | No | Viewport and browser window dimensions for the session. Mobile sessions require dimensions of at least 508x1074; smaller mobile dimensions are rejected with a 400 response. |
experimentalFeatures | string[] | No | Enable experimental features for the session. |
extensionIds | string[] | No | Array of extension IDs to install in the session. Use [‘all_ext’] to install all uploaded extensions. |
fullscreen | boolean | No | Launch the browser in fullscreen mode, covering the full screen with no Chrome UI. Default is false. |
headless | boolean | No | Enable headless browser mode (disable Headful mode) |
inactivityTimeout | number | No | Inactivity timeout in milliseconds. When set, the session is released if no CDP command or remote input is received for this duration, even if timeout has not yet elapsed. Note that timeout remains the hard cap on session lifetime: if inactivityTimeout is greater than or equal to the effective timeout, it has no effect since timeout always elapses first. Omit to disable. |
isSelenium | boolean | No | Deprecated. Selenium sessions are no longer supported, and a request that sets this to true is rejected with 400. Connect over CDP with Playwright or Puppeteer instead. |
metadata | Record<string, string | number | boolean> | No | Customer-defined flat metadata: up to 50 keys and 8192 UTF-8 JSON bytes. Keys must start with a letter, use only letters, digits, underscores, dots or hyphens, and be at most 64 characters; steel_ is reserved. Values are strings (up to 1024 characters, valid Unicode without NUL), finite numbers or booleans. Numbers and booleans are stored as strings, so 3 and “3” are the same value. |
namespace | string | No | The namespace the session should be created against. Defaults to “default”. |
optimizeBandwidth | boolean | object | No | Enable bandwidth optimizations. Passing true enables all flags (except hosts/patterns). Object allows granular control. |
persistProfile | boolean | No | This flag will persist the user profile for the session. |
profileId | string | No | This flag will set the profile for the session. |
projectId | string | No | The project to create the session in. When provided, the session namespace is resolved from the project. |
proxyUrl | string | No | Custom proxy URL for the browser session. Overrides useProxy, disabling Steel-provided proxies in favor of your specified proxy. Format: http(s)://username:password@hostname:port or socks5://username:password@hostname:port |
recording | boolean | No | Record the headful session for playback after it ends. Default is true. Disabling recording does not affect live WHEP viewing. |
region | any | No | The desired region for the session. Available: us-east, us-west, us-central, eu-west, eu-central, ap-northeast, ap-southeast, sa-east. Legacy codes (iad, lax, ord) are also accepted. |
sessionContext | object | No | Session context data to be used in the created session. Sessions will start with an empty context by default. |
sessionId | string | No | Deprecated. A session ID of your choice. Steel will reject it in a future release, because the ID that Steel generates records where the session runs. Omit it, use the id in the response, and put your own ID in metadata. |
solveCaptcha | boolean | No | Enable automatic captcha solving. Default is false. |
stealthConfig | object | No | Stealth configuration for the session |
timeout | number | No | Session timeout duration in milliseconds. Default is 300000 (5 minutes). On Launch and Scale, a value over the plan’s maximum runs at the maximum; the response’s timeout shows the value used. |
useProxy | boolean | object | any | No | — |
userAgent | string | No | Custom user agent string for the browser session |
credentials full type
credentials full type
{
autoSubmit?: boolean,
bindings?: (string | {
allowedOrigins: string[],
reference: string
})[],
blurFields?: boolean,
credentialIds?: string[],
credentialProvider?: string,
domTrigger?: boolean,
enabled?: boolean,
exactOrigin?: boolean,
lookup?: implicit | explicit,
origins?: string[]
}
debugConfig full type
debugConfig full type
{
interactive?: boolean,
systemCursor?: boolean
}
deviceConfig full type
deviceConfig full type
{
device?: desktop | mobile
}
dimensions full type
dimensions full type
{
height: number,
width: number
}
optimizeBandwidth full type
optimizeBandwidth full type
boolean | {
blockHosts?: string[],
blockImages?: boolean,
blockMedia?: boolean,
blockStylesheets?: boolean,
blockUrlPatterns?: string[]
}
sessionContext full type
sessionContext full type
{
cookies?: {
domain?: string,
expires?: number,
httpOnly?: boolean,
name: string,
partitionKey?: {
hasCrossSiteAncestor: boolean,
topLevelSite: string
},
path?: string,
priority?: Low | Medium | High,
sameParty?: boolean,
sameSite?: Strict | Lax | None,
secure?: boolean,
session?: boolean,
size?: number,
sourcePort?: number,
sourceScheme?: Unset | NonSecure | Secure,
url?: string,
value: string
}[],
indexedDB?: Record<string, {
data: {
id: number,
name: string,
records: {
blobFiles?: {
blobNumber: number,
filename?: string,
lastModified?: string,
mimeType: string,
path?: string,
size: number
}[],
key: any,
value: any
}[]
}[],
id: number,
name: string
}[]>,
localStorage?: Record<string, Record<string, string>>,
sessionStorage?: Record<string, Record<string, string>>
}
stealthConfig full type
stealthConfig full type
{
autoCaptchaSolving?: boolean,
humanizeInteractions?: boolean,
skipFingerprintInjection?: boolean
}
useProxy full type
useProxy full type
boolean | {
geolocation: {
city?: A_CORUNA | ABIDJAN | ABU_DHABI | ABUJA | ACAPULCO_DE JUAREZ | ACCRA | ADANA | ADAPAZARI | ADDIS_ABABA | ADELAIDE | AFYONKARAHISAR | AGADIR | AGUAS_LINDAS DE GOIAS | AGUASCALIENTES | AHMEDABAD | AIZAWL | AJMAN | AKRON | AKSARAY | AL_AIN CITY | AL_MANSURAH | AL_QATIF | ALAJUELA | ALBANY | ALBUQUERQUE | ALEXANDRIA | ALGIERS | ALICANTE | ALMADA | ALMATY | ALMERE_STAD | ALVORADA | AMADORA | AMASYA | AMBATO | AMERICANA | AMMAN | AMSTERDAM | ANANINDEUA | ANAPOLIS | ANGELES_CITY | ANGERS | ANGRA_DOS REIS | ANKARA | ANTAKYA | ANTALYA | ANTANANARIVO | ANTIPOLO_CITY | ANTOFAGASTA | ANTWERP | APARECIDA_DE GOIANIA | APODACA | ARACAJU | ARACATUBA | ARAD | ARAGUAINA | ARAPIRACA | ARARAQUARA | AREQUIPA | ARICA | ARLINGTON | ARYANAH | ASTANA | ASUNCION | ASYUT | ATAKUM | ATHENS | ATIBAIA | ATLANTA | AUBURN | AUCKLAND | AURORA | AUSTIN | AVELLANEDA | AYDIN | AZCAPOTZALCO | BACOLOD_CITY | BACOOR | BAGHDAD | BAGUIO_CITY | BAHIA_BLANCA | BAKERSFIELD | BAKU | BALIKESIR | BALIKPAPAN | BALNEARIO_CAMBORIU | BALTIMORE | BANDAR_LAMPUNG | BANDAR_SERI BEGAWAN | BANDUNG | BANGKOK | BANJA_LUKA | BANJARMASIN | BARCELONA | BARI | BARQUISIMETO | BARRA_MANSA | BARRANQUILLA | BARUERI | BATAM | BATANGAS | BATMAN | BATNA_CITY | BATON_ROUGE | BATUMI | BAURU | BEIRUT | BEJAIA | BEKASI | BELEM | BELFAST | BELFORD_ROXO | BELGRADE | BELO_HORIZONTE | BENGALURU | BENI_MELLAL | BERAZATEGUI | BERN | BETIM | BHARATPUR | BHOPAL | BHUBANESWAR | BIALYSTOK | BIEN_HOA | BILBAO | BILECIK | BIRATNAGAR | BIRMINGHAM | BISHKEK | BIZERTE | BLIDA | BLOEMFONTEIN | BLOOMINGTON | BLUMENAU | BOA_VISTA | BOCHUM | BOGOR | BOGOTA | BOISE | BOKSBURG | BOLOGNA | BOLU | BORDEAUX | BOSTON | BOTUCATU | BRADFORD | BRAGA | BRAGANCA_PAULISTA | BRAMPTON | BRASILIA | BRASOV | BRATISLAVA | BREMEN | BRESCIA | BREST | BRIDGETOWN | BRISBANE | BRISTOL | BRNO | BROOKLYN | BRUSSELS | BUCARAMANGA | BUCHAREST | BUDAPEST | BUENOS_AIRES | BUFFALO | BUK_GU | BUKHARA | BURGAS | BURNABY | BURSA | BUTUAN | BYDGOSZCZ | CABANATUAN_CITY | CABO_FRIO | CABUYAO | CACHOEIRO_DE ITAPEMIRIM | CAGAYAN_DE ORO | CAGLIARI | CAIRO | CALAMBA | CALGARY | CALOOCAN_CITY | CAMACARI | CAMARAGIBE | CAMPECHE | CAMPINA_GRANDE | CAMPINAS | CAMPO_GRANDE | CAMPO_LARGO | CAMPOS_DOS GOYTACAZES | CAN_THO | CANOAS | CANTON | CAPE_TOWN | CARACAS | CARAGUATATUBA | CARAPICUIBA | CARDIFF | CARIACICA | CARMONA | CARTAGENA | CARUARU | CASABLANCA | CASCAVEL | CASEROS | CASTANHAL | CASTRIES | CATALAO | CATAMARCA | CATANDUVA | CATANIA | CAUCAIA | CAXIAS_DO SUL | CEBU_CITY | CENTRAL | CENTRO | CENTURION | CHAGUANAS | CHANDIGARH | CHANDLER | CHANG_HUA | CHAPECO | CHARLESTON | CHARLOTTE | CHELYABINSK | CHENNAI | CHERKASY | CHERNIVTSI | CHIA | CHIANG_MAI | CHICLAYO | CHIHUAHUA_CITY | CHIMBOTE | CHISINAU | CHITTAGONG | CHRISTCHURCH | CINCINNATI | CIREBON | CITY_OF MUNTINLUPA | CIUDAD_DEL ESTE | CIUDAD_GUAYANA | CIUDAD_JUAREZ | CIUDAD_NEZAHUALCOYOTL | CIUDAD_OBREGON | CLEVELAND | CLUJ_NAPOCA | COCHABAMBA | COIMBATORE | COIMBRA | COLOGNE | COLOMBO | COLORADO_SPRINGS | COLUMBIA | COLUMBUS | COMODORO_RIVADAVIA | CONCEPCION | CONCORD | CONSTANTA | CONSTANTINE | CONTAGEM | COPENHAGEN | CORDOBA | CORRIENTES | CORUM | COTIA | COVENTRY | CRAIOVA | CRICIUMA | CROYDON | CUAUTITLAN_IZCALLI | CUCUTA | CUENCA | CUERNAVACA | CUIABA | CULIACAN | CURITIBA | CUSCO | DA_NANG | DAGUPAN | DAKAR | DALLAS | DAMIETTA | DAMMAM | DAR_ES SALAAM | DASMARINAS | DAVAO_CITY | DAYTON | DEBRECEN | DECATUR | DEHRADUN | DELHI | DENIZLI | DENPASAR | DENVER | DEPOK | DERBY | DETROIT | DHAKA | DIADEMA | DIVINOPOLIS | DIYARBAKIR | DJELFA | DNIPRO | DOHA | DORTMUND | DOURADOS | DRESDEN | DUBAI | DUBLIN | DUEZCE | DUISBURG | DUQUE_DE CAXIAS | DURANGO | DURBAN | DUSSELDORF | ECATEPEC | EDINBURGH | EDIRNE | EDMONTON | EL_JADIDA | EL_PASO | ELAZIG | EMBU | ENSENADA | ERBIL | ERZURUM | ESKISEHIR | ESPOO | ESSEN | FAISALABAD | FAYETTEVILLE | FAZENDA_RIO GRANDE | FEIRA_DE SANTANA | FES | FLORENCE | FLORENCIO_VARELA | FLORIANOPOLIS | FONTANA | FORMOSA | FORT_LAUDERDALE | FORT_WAYNE | FORT_WORTH | FORTALEZA | FOZ_DO IGUACU | FRANCA | FRANCISCO_MORATO | FRANCO_DA ROCHA | FRANKFURT_AM MAIN | FREDERICKSBURG | FRESNO | FUNCHAL | GABORONE | GAINESVILLE | GALATI | GANGNAM_GU | GARANHUNS | GATINEAU | GAZIANTEP | GDANSK | GDYNIA | GENERAL_TRIAS | GENEVA | GENOA | GEORGE_TOWN | GEORGETOWN | GHAZIABAD | GHENT | GIJON | GIRESUN | GIZA | GLASGOW | GLENDALE | GLIWICE | GOIANIA | GOMEL | GOTHENBURG | GOVERNADOR_VALADARES | GOYANG_SI | GRANADA | GRAND_RAPIDS | GRAVATAI | GRAZ | GREENSBORO | GREENVILLE | GUADALAJARA | GUADALUPE | GUANGZHOU | GUARAPUAVA | GUARATINGUETA | GUARUJA | GUARULHOS | GUATEMALA_CITY | GUAYAQUIL | GUJRANWALA | GURUGRAM | GUSTAVO_ADOLFO MADERO | GUWAHATI | GWANAK_GU | HACKNEY | HAIFA | HAIPHONG | HAMBURG | HAMILTON | HANOI | HANOVER | HARARE | HAVANA | HELSINKI | HENDERSON | HEREDIA | HERMOSILLO | HIALEAH | HO_CHI MINH CITY | HOLLYWOOD | HOLON | HONOLULU | HORTOLANDIA | HRODNA | HSINCHU | HUANCAYO | HUANUCO | HULL | HURLINGHAM | HYDERABAD | IASI | IBAGUE | ICA | ILAM | ILFORD | ILIGAN | ILOILO_CITY | IMPERATRIZ | IMUS | INCHEON | INDAIATUBA | INDIANAPOLIS | INDORE | IPATINGA | IPOH | IQUIQUE | IRVINE | ISIDRO_CASANOVA | ISLAMABAD | ISLINGTON | ISMAILIA | ISPARTA | ISTANBUL | ITABORAI | ITABUNA | ITAJAI | ITANHAEM | ITAPEVI | ITAQUAQUECETUBA | ITUZAINGO | IZMIR | IZTAPALAPA | JABOATAO_DOS GUARARAPES | JACAREI | JACKSON | JACKSONVILLE | JAIPUR | JAKARTA | JARAGUA_DO SUL | JAU | JEDDAH | JEMBER | JERUSALEM | JOAO_MONLEVADE | JOAO_PESSOA | JODHPUR | JOHANNESBURG | JOHOR_BAHRU | JOINVILLE | JOSE_C PAZ | JOSE_MARIA EZEIZA | JUAREZ | JUAZEIRO_DO NORTE | JUIZ_DE FORA | JUNDIAI | KAHRAMANMARAS | KAMPALA | KANPUR | KANSAS_CITY | KAOHSIUNG_CITY | KARABUK | KARACHI | KARLSRUHE | KARNAL | KASKI | KASTAMONU | KATHMANDU | KATOWICE | KATSINA | KATY | KAUNAS | KAYSERI | KAZAN | KECSKEMET | KEDIRI | KENITRA | KHARKIV | KHMELNYTSKYI | KHON_KAEN | KIELCE | KIGALI | KINGSTON | KIRKLARELI | KISSIMMEE | KITCHENER | KLAIPEDA | KNOXVILLE | KOCHI | KOLKATA | KOLLAM | KONYA | KOSEKOY | KOSICE | KOTA_KINABALU | KOZHIKODE | KRAKOW | KRASNODAR | KRYVYI_RIH | KUALA_LUMPUR | KUCHING | KUTAHYA | KUTAISI | KUWAIT_CITY | KYIV | LA_PAZ | LA_PLATA | LA_RIOJA | LA_SERENA | LAFAYETTE | LAFERRERE | LAGES | LAGOS | LAHORE | LAHUG | LAKE_WORTH | LAKELAND | LANCASTER | LANUS | LAS_PALMAS DE GRAN CANARIA | LAS_PINAS | LAS_VEGAS | LAUSANNE | LAVAL | LAWRENCEVILLE | LE_MANS | LEEDS | LEICESTER | LEIPZIG | LEON | LEXINGTON | LIBREVILLE | LIEGE | LILLE | LIMA | LIMASSOL | LIMEIRA | LINCOLN | LINHARES | LIPA_CITY | LISBON | LIVERPOOL | LJUBLJANA | LODZ | LOJA | LOMAS_DE ZAMORA | LOME | LONDRINA | LONG_BEACH | LONGUEUIL | LOUISVILLE | LUANDA | LUBLIN | LUCENA_CITY | LUCKNOW | LUDHIANA | LUSAKA | LUXEMBOURG | LUZIANIA | LVIV | LYON | MABALACAT | MACAE | MACAO | MACAPA | MACEIO | MACHALA | MADISON | MADRID | MAGE | MAGELANG | MAGNESIA_AD SIPYLUM | MAKASSAR | MAKATI_CITY | MALABON | MALAGA | MALANG | MALAPPURAM | MALDONADO | MALE | MALMO | MANADO | MANAGUA | MANAMA | MANAUS | MANCHESTER | MANDALUYONG_CITY | MANILA | MANIZALES | MANNHEIM | MAPUTO | MAR_DEL PLATA | MARABA | MARACAIBO | MARACANAU | MARACAY | MARDIN | MARIBOR | MARICA | MARIETTA | MARIKINA_CITY | MARILIA | MARINGA | MARRAKESH | MARSEILLE | MAUA | MAZATLAN | MEDAN | MEDELLIN | MEDINA | MEERUT | MEKNES | MELBOURNE | MEMPHIS | MENDOZA | MERIDA | MERKEZ | MERLO | MERSIN | MESA | MEXICALI | MEXICO_CITY | MILAN | MILTON_KEYNES | MILWAUKEE | MINNEAPOLIS | MINSK | MISKOLC | MISSISSAUGA | MOGI_DAS CRUZES | MOHALI | MONROE | MONTE_GRANDE | MONTEGO_BAY | MONTERREY | MONTES_CLAROS | MONTEVIDEO | MONTGOMERY | MONTPELLIER | MONTREAL | MORELIA | MORENO | MORON | MOSSORO | MUGLA | MULTAN | MUMBAI | MUNICH | MURCIA | MUSCAT | MUZAFFARGARH | MYKOLAYIV | NAALDWIJK | NAGA | NAGPUR | NAIROBI | NANTES | NAPLES | NASHVILLE | NASSAU | NASUGBU | NATAL | NAUCALPAN | NAVI_MUMBAI | NEIVA | NEUQUEN | NEVSEHIR | NEW_DELHI | NEW_ORLEANS | NEW_TAIPEI | NEWARK | NEWCASTLE_UPON TYNE | NHA_TRANG | NICE | NICOSIA | NILOPOLIS | NIS | NITEROI | NITRA | NIZHNIY_NOVGOROD | NOGALES | NOIDA | NORTHAMPTON | NORWICH | NOTTINGHAM | NOVA_FRIBURGO | NOVA_IGUACU | NOVI_SAD | NOVO_HAMBURGO | NOVOSIBIRSK | NUREMBERG | OAKLAND | OAXACA_CITY | ODESA | OKLAHOMA_CITY | OLINDA | OLOMOUC | OLONGAPO_CITY | OLSZTYN | OMAHA | ORADEA | ORAN | ORDU | ORLANDO | OSASCO | OSLO | OSMANIYE | OSTRAVA | OTTAWA | OUJDA | OURINHOS | PACHUCA | PADOVA | PALAKKAD | PALEMBANG | PALERMO | PALHOCA | PALMA | PALMAS | PANAMA_CITY | PARAMARIBO | PARANA | PARANAGUA | PARANAQUE_CITY | PARAUAPEBAS | PARIS | PARNAIBA | PARNAMIRIM | PASSO_FUNDO | PASTO | PATAN | PATNA | PATOS_DE MINAS | PAULISTA | PECS | PEKANBARU | PELOTAS | PEORIA | PEREIRA | PERM | PERTH | PESCARA | PESHAWAR | PETAH_TIKVA | PETALING_JAYA | PETROLINA | PETROPOLIS | PHILADELPHIA | PHNOM_PENH | PHOENIX | PILAR | PINDAMONHANGABA | PIRACICABA | PITESTI | PITTSBURGH | PIURA | PLANO | PLOIESTI | PLOVDIV | PLYMOUTH | POCOS_DE CALDAS | PODGORICA | POLTAVA | PONTA_GROSSA | PONTIANAK | POPAYAN | PORT_AU PRINCE | PORT_ELIZABETH | PORT_HARCOURT | PORT_LOUIS | PORT_MONTT | PORT_OF SPAIN | PORT_SAID | PORTLAND | PORTO | PORTO_ALEGRE | PORTO_SEGURO | PORTO_VELHO | PORTOVIEJO | POSADAS | POUSO_ALEGRE | POZNAN | PRAGUE | PRAIA_GRANDE | PRESIDENTE_PRUDENTE | PRETORIA | PRISTINA | PROVIDENCE | PUCALLPA | PUCHONG_BATU DUA BELAS | PUEBLA_CITY | PUNE | QUEBEC | QUEENS | QUEIMADOS | QUERETARO_CITY | QUEZON_CITY | QUILMES | QUITO | RABAT | RAIPUR | RAJKOT | RAJSHAHI | RALEIGH | RAMAT_GAN | RANCAGUA | RANCHI | RAS_AL KHAIMAH | RAWALPINDI | READING | RECIFE | REGINA | RENNES | RENO | RESISTENCIA | REYKJAVIK | REYNOSA | RIBEIRAO_DAS NEVES | RIBEIRAO_PRETO | RICHMOND | RIGA | RIO_BRANCO | RIO_CLARO | RIO_CUARTO | RIO_DE JANEIRO | RIO_DO SUL | RIO_GALLEGOS | RIO_GRANDE | RISHON_LETSIYYON | RIVERSIDE | RIYADH | RIZE | ROCHESTER | ROME | RONDONOPOLIS | ROSARIO | ROSEAU | ROSTOV_ON DON | ROTTERDAM | ROUEN | ROUSSE | RZESZOW | SACRAMENTO | SAGAR | SAINT_PAUL | SALE | SALT_LAKE CITY | SALTA | SALTILLO | SALVADOR | SAMARA | SAMARINDA | SAMARKAND | SAMSUN | SAN_ANTONIO | SAN_DIEGO | SAN_FERNANDO | SAN_FRANCISCO | SAN_JOSE | SAN_JOSE DEL MONTE | SAN_JUAN | SAN_JUSTO | SAN_LUIS | SAN_LUIS POTOSI CITY | SAN_MIGUEL | SAN_MIGUEL DE TUCUMAN | SAN_PABLO CITY | SAN_PEDRO | SAN_PEDRO SULA | SAN_SALVADOR | SAN_SALVADOR DE JUJUY | SANAA | SANLIURFA | SANTA_CRUZ | SANTA_CRUZ DE TENERIFE | SANTA_CRUZ DO SUL | SANTA_FE | SANTA_LUZIA | SANTA_MARIA | SANTA_MARTA | SANTA_ROSA | SANTAREM | SANTIAGO | SANTIAGO_DE CALI | SANTIAGO_DE LOS CABALLEROS | SANTO_ANDRE | SANTO_DOMINGO | SANTO_DOMINGO ESTE | SANTOS | SAO_BERNARDO DO CAMPO | SAO_CARLOS | SAO_GONCALO | SAO_JOAO DE MERITI | SAO_JOSE | SAO_JOSE DO RIO PRETO | SAO_JOSE DOS CAMPOS | SAO_JOSE DOS PINHAIS | SAO_LEOPOLDO | SAO_LUIS | SAO_PAULO | SAO_VICENTE | SARAJEVO | SASKATOON | SCARBOROUGH | SEATTLE | SEMARANG | SEO_GU | SEONGNAM_SI | SEOUL | SERRA | SETE_LAGOAS | SETIF | SETUBAL | SEVILLE | SFAX | SHAH_ALAM | SHANGHAI | SHARJAH | SHEFFIELD | SHENZHEN | SHIMLA | SIAULIAI | SIBIU | SIDOARJO | SIKAR | SILVER_SPRING | SINOP | SIVAS | SKIKDA | SKOPJE | SLOUGH | SOBRAL | SOFIA | SOROCABA | SOUSSE | SOUTH_TANGERANG | SOUTHAMPTON | SOUTHWARK | SPLIT | SPOKANE | SPRING | SPRINGFIELD | ST_LOUIS | ST_PETERSBURG | STARA_ZAGORA | STATEN_ISLAND | STOCKHOLM | STOCKTON | STOKE_ON TRENT | STRASBOURG | STUTTGART | SUMARE | SURABAYA | SURAKARTA | SURAT | SURREY | SUWON | SUZANO | SYDNEY | SZCZECIN | SZEGED | SZEKESFEHERVAR | TABOAO_DA SERRA | TACNA | TACOMA | TAGUIG | TAICHUNG | TAINAN_CITY | TAIPEI | TALAVERA | TALCA | TALLAHASSEE | TALLINN | TAMPA | TAMPERE | TAMPICO | TANGERANG | TANGIER | TANTA | TANZA | TAOYUAN_DISTRICT | TAPPAHANNOCK | TARLAC_CITY | TASHKENT | TASIKMALAYA | TATUI | TAUBATE | TBILISI | TEGUCIGALPA | TEHRAN | TEIXEIRA_DE FREITAS | TEKIRDAG | TEL_AVIV | TEMUCO | TEPIC | TERESINA | TERNOPIL | TERRASSA | TETOUAN | THANE | THE_BRONX | THE_HAGUE | THESSALONIKI | THIRUVANANTHAPURAM | THRISSUR | TIJUANA | TIMISOARA | TIRANA | TLALNEPANTLA | TLAXCALA_CITY | TLEMCEN | TOKAT_PROVINCE | TOKYO | TOLUCA | TORONTO | TORREON | TOULOUSE | TRABZON | TRUJILLO | TUBARAO | TUCSON | TUGUEGARAO_CITY | TULSA | TUNIS | TUNJA | TURIN | TUXTLA_GUTIERREZ | TUZLA | UBERABA | UBERLANDIA | UFA | ULAN_BATOR | UMEDA | URDANETA | USAK | VADODARA | VALENCIA | VALINHOS | VALLADOLID | VALLEDUPAR | VALPARAISO | VALPARAISO_DE GOIAS | VAN | VANCOUVER | VARANASI | VARGINHA | VARNA | VARZEA_PAULISTA | VENUSTIANO_CARRANZA | VERACRUZ | VERONA | VIAMAO | VICTORIA | VIENNA | VIENTIANE | VIGO | VIJAYAWADA | VILA_NOVA DE GAIA | VILA_VELHA | VILLA_BALLESTER | VILLAVICENCIO | VILNIUS | VINA_DEL MAR | VINNYTSIA | VIRGINIA_BEACH | VISAKHAPATNAM | VITORIA | VITORIA_DA CONQUISTA | VITORIA_DE SANTO ANTAO | VOLTA_REDONDA | VORONEZH | WARSAW | WASHINGTON | WELLINGTON | WEST_PALM BEACH | WICHITA | WILLEMSTAD | WILMINGTON | WINDHOEK | WINDSOR | WINNIPEG | WOLVERHAMPTON | WOODBRIDGE | WROCLAW | WUPPERTAL | XALAPA | YALOVA | YANGON | YEKATERINBURG | YEREVAN | YOGYAKARTA | YOKOHAMA | YONGIN_SI | ZABRZE | ZAGAZIG | ZAGREB | ZAMBOANGA_CITY | ZAPOPAN | ZAPORIZHZHYA | ZARAGOZA | ZHONGLI_DISTRICT | ZIELONA_GORA | ZONGULDAK | ZURICH,
country: US | CA | MX | GB | DE | FR | IT | ES | PL | NL | SE | NO | DK | FI | CH | AT | BE | IE | PT | GR | CZ | HU | RO | BG | SK | SI | HR | EE | LV | LT | LU | MT | CY | IS | LI | MC | SM | VA | JP | KR | CN | HK | TW | SG | AU | NZ | IN | TH | MY | PH | ID | VN | AF | BD | BN | KH | LA | LK | MM | NP | PK | FJ | PG | AE | SA | IL | TR | IR | IQ | JO | KW | LB | OM | QA | BH | YE | SY | ZA | EG | MA | NG | KE | DZ | AO | BW | ET | GH | CI | LY | MZ | RW | SN | TN | UG | ZM | ZW | TZ | MU | SC | BR | AR | CL | CO | PE | VE | EC | UY | PY | BO | CR | CU | DO | GT | HN | JM | NI | PA | SV | TT | BB | BZ | GY | SR | RU | UA | BY | KZ | UZ | AZ | GE | AM | MD | MK | AL | BA | RS | ME | XK | MN | KG | TJ | TM,
state?: AL | AK | AZ | AR | CA | CO | CT | DE | FL | GA | HI | ID | IL | IN | IA | KS | KY | LA | ME | MD | MA | MI | MN | MS | MO | MT | NE | NV | NH | NJ | NM | NY | NC | ND | OH | OK | OR | PA | RI | SC | SD | TN | TX | UT | VT | VA | WA | WV | WI | WY | DC | PR | GU | VI
}
} | {
server: string
} | {
id?: string,
type: fixed
} | any
| Name | Type | Required | Description |
|---|---|---|---|
browserMode | string | null | No | Browser mode used for this session. |
createdAt | string | null | No | Timestamp when the session started |
creditsUsed | number | null | No | Amount of credits consumed by the session |
debugConfig | object | null | No | Configuration for the debug URL and session viewer. Controls interaction capabilities and cursor visibility. |
debugUrl | string | null | No | URL for debugging the session |
deviceConfig | object | null | No | Device configuration for the session |
dimensions | object | null | No | Viewport and browser window dimensions for the session |
duration | number | null | No | Duration of the session in milliseconds |
eventCount | number | null | No | Number of events processed in the session |
fullscreen | boolean | null | No | Launch the browser in fullscreen mode, covering the full screen with no Chrome UI. |
headless | boolean | null | No | Indicates if the session is headless or headful |
id | string | null | No | Unique identifier for the session |
inactivityTimeout | number | null | No | Inactivity timeout in milliseconds, if one was set when the session was created |
isSelenium | boolean | null | No | Indicates if Selenium is used in the session |
metadata | Record<string, string> | null | No | Customer-defined flat metadata. Values are always strings: numbers and booleans sent on write come back in their string form. |
optimizeBandwidth | object | null | No | Bandwidth optimizations that were applied to the session. |
persistProfile | boolean | null | No | This flag will persist the profile for the session. |
profileId | string | null | No | The ID of the profile associated with the session |
projectId | string | null | null | No | The project associated with the session |
proxyBytesUsed | number | null | No | Amount of data transmitted through the proxy |
proxySource | string | null | null | No | Source of the proxy used for the session |
region | string | null | No | The region where the session was created. |
releaseReason | string | null | null | No | Why the session reached a terminal state. Null while the session is live, or when the reason is unknown (e.g. sessions created before this was tracked). One of: user_requested (released via the API/SDK), timeout (hard timeout elapsed), inactivity_timeout (no activity for the configured window), creation_timeout (never started in time), startup_failed (could not be dispatched), browser_closed (the browser or agent closed itself — not a crash), browser_crashed (the browser crashed or its machine became unresponsive). |
sessionViewerUrl | string | null | No | URL to view session details |
signals | string[] | null | No | Signals observed during the session. Filled in within a few seconds after the session ends, and empty until then. An empty list does not mean nothing happened: detection is heuristic and coverage is incomplete. |
solveCaptcha | boolean | null | No | Indicates if captcha solving is enabled |
status | string | null | No | Status of the session |
stealthConfig | object | null | No | Stealth configuration for the session |
timeout | number | null | No | Session timeout duration in milliseconds |
userAgent | string | null | No | User agent string used in the session |
websocketUrl | string | null | No | URL for the session’s WebSocket connection |
debugConfig full type
debugConfig full type
{
interactive?: boolean | null,
systemCursor?: boolean | null
} | null
deviceConfig full type
deviceConfig full type
{
device?: string | null
} | null
dimensions full type
dimensions full type
{
height?: number | null,
width?: number | null
} | null
optimizeBandwidth full type
optimizeBandwidth full type
{
blockHosts?: string[] | null,
blockImages?: boolean | null,
blockMedia?: boolean | null,
blockStylesheets?: boolean | null,
blockUrlPatterns?: string[] | null
} | null
stealthConfig full type
stealthConfig full type
{
autoCaptchaSolving?: boolean | null,
humanizeInteractions?: boolean | null,
skipFingerprintInjection?: boolean | null
} | null
credentials.attach
sessions.credentials.attach
Attach session credentials. Attach credentialIds and/or Vault or item references in bindings. Each array accepts at most 100 entries; at most 100 distinct direct items and whole Vaults may be bound. Only credentials can be autofilled. Lookup becomes explicit and remains so.
Risk: write
await corsair.steel.api.sessions.credentials.attach({ id: '3f0e6a2c-8b1d-4c7e-9a52-1d2e3f4a5b6c' });
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
bindings | object[] | No | At most 100 bindings; KV bindings may specify allowedOrigins. |
credentialIds | string[] | No | Ids of credentials (Secrets of kind credential) in the session’s project. Binding makes the session’s lookup explicit for good. |
bindings full type
bindings full type
(string | {
allowedOrigins: string[],
reference: string
})[]
| Name | Type | Required | Description |
|---|---|---|---|
bindings | object[] | null | No | Bindings, including KV references with their allowed origins and soft-deleted targets. |
credentials | object[] | null | No | Live credentials bound to the session, oldest binding first. No values. |
credentialsEnabled | boolean | null | No | Whether the session was created with a credentials configuration. Only then can credentials be attached; otherwise attach and replace answer 409 credentials_not_enabled. |
lookup | string | null | No | explicit: the session fills only the credentials listed here. implicit: it fills credentials stored for its namespace and the page origin. |
bindings full type
bindings full type
(string | {
allowedOrigins?: string[] | null,
reference?: string | null
})[] | null
credentials full type
credentials full type
{
additionalOrigins?: string[] | null,
id?: string | null,
name?: string | null,
namespace?: string | null,
origin?: string | null
}[] | null
credentials.detach
sessions.credentials.detach
Detach a session credential. Unbind a credential from a running session. The lookup stays explicit: with nothing bound, the session fills nothing. Errors: 404 credential_not_attached, 409 session_not_running, 503 credential_bindings_busy (retryable). Cannot be undone.
Risk: destructive · Irreversible
await corsair.steel.api.sessions.credentials.detach({ id: '3f0e6a2c-8b1d-4c7e-9a52-1d2e3f4a5b6c', credentialId: '3f0e6a2c-8b1d-4c7e-9a52-1d2e3f4a5b6c' });
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | The session id |
credentialId | string | Yes | The credential id to detach |
| Name | Type | Required | Description |
|---|---|---|---|
bindings | object[] | null | No | Bindings, including KV references with their allowed origins and soft-deleted targets. |
credentials | object[] | null | No | Live credentials bound to the session, oldest binding first. No values. |
credentialsEnabled | boolean | null | No | Whether the session was created with a credentials configuration. Only then can credentials be attached; otherwise attach and replace answer 409 credentials_not_enabled. |
lookup | string | null | No | explicit: the session fills only the credentials listed here. implicit: it fills credentials stored for its namespace and the page origin. |
bindings full type
bindings full type
(string | {
allowedOrigins?: string[] | null,
reference?: string | null
})[] | null
credentials full type
credentials full type
{
additionalOrigins?: string[] | null,
id?: string | null,
name?: string | null,
namespace?: string | null,
origin?: string | null
}[] | null
credentials.detachVault
sessions.credentials.detachVault
Detach a session Vault binding. Pass reference as a query parameter to detach one Vault or item binding, including steel://connections/<connection>/vaults/<vault>[/<item>]. Does not detach items covered by a whole Vault binding. Cannot be undone.
Risk: destructive · Irreversible
await corsair.steel.api.sessions.credentials.detachVault({ reference: 'example', id: '3f0e6a2c-8b1d-4c7e-9a52-1d2e3f4a5b6c' });
| Name | Type | Required | Description |
|---|---|---|---|
reference | string | Yes | Vault or item reference to detach |
id | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
bindings | object[] | null | No | Bindings, including KV references with their allowed origins and soft-deleted targets. |
credentials | object[] | null | No | Live credentials bound to the session, oldest binding first. No values. |
credentialsEnabled | boolean | null | No | Whether the session was created with a credentials configuration. Only then can credentials be attached; otherwise attach and replace answer 409 credentials_not_enabled. |
lookup | string | null | No | explicit: the session fills only the credentials listed here. implicit: it fills credentials stored for its namespace and the page origin. |
bindings full type
bindings full type
(string | {
allowedOrigins?: string[] | null,
reference?: string | null
})[] | null
credentials full type
credentials full type
{
additionalOrigins?: string[] | null,
id?: string | null,
name?: string | null,
namespace?: string | null,
origin?: string | null
}[] | null
credentials.list
sessions.credentials.list
List session credentials. The session’s credential lookup and the live credentials bound to it (no values). Subject to session organization and project access.
Risk: read
await corsair.steel.api.sessions.credentials.list({ id: '3f0e6a2c-8b1d-4c7e-9a52-1d2e3f4a5b6c' });
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
bindings | object[] | null | No | Bindings, including KV references with their allowed origins and soft-deleted targets. |
credentials | object[] | null | No | Live credentials bound to the session, oldest binding first. No values. |
credentialsEnabled | boolean | null | No | Whether the session was created with a credentials configuration. Only then can credentials be attached; otherwise attach and replace answer 409 credentials_not_enabled. |
lookup | string | null | No | explicit: the session fills only the credentials listed here. implicit: it fills credentials stored for its namespace and the page origin. |
bindings full type
bindings full type
(string | {
allowedOrigins?: string[] | null,
reference?: string | null
})[] | null
credentials full type
credentials full type
{
additionalOrigins?: string[] | null,
id?: string | null,
name?: string | null,
namespace?: string | null,
origin?: string | null
}[] | null
credentials.replace
sessions.credentials.replace
Replace session credentials. Replace all direct item and Vault bindings, including provider references steel://connections/<connection>/vaults/<vault>[/<item>]. Supply credentialIds and/or bindings; empty arrays detach all. At most 100 distinct bindings may be stored. Only credentials can be autofilled.
Risk: write
await corsair.steel.api.sessions.credentials.replace({ id: '3f0e6a2c-8b1d-4c7e-9a52-1d2e3f4a5b6c' });
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
bindings | object[] | No | At most 100 bindings; KV bindings may specify allowedOrigins. |
credentialIds | string[] | No | Ids of credentials (Secrets of kind credential) in the session’s project. Binding makes the session’s lookup explicit for good. |
bindings full type
bindings full type
(string | {
allowedOrigins: string[],
reference: string
})[]
| Name | Type | Required | Description |
|---|---|---|---|
bindings | object[] | null | No | Bindings, including KV references with their allowed origins and soft-deleted targets. |
credentials | object[] | null | No | Live credentials bound to the session, oldest binding first. No values. |
credentialsEnabled | boolean | null | No | Whether the session was created with a credentials configuration. Only then can credentials be attached; otherwise attach and replace answer 409 credentials_not_enabled. |
lookup | string | null | No | explicit: the session fills only the credentials listed here. implicit: it fills credentials stored for its namespace and the page origin. |
bindings full type
bindings full type
(string | {
allowedOrigins?: string[] | null,
reference?: string | null
})[] | null
credentials full type
credentials full type
{
additionalOrigins?: string[] | null,
id?: string | null,
name?: string | null,
namespace?: string | null,
origin?: string | null
}[] | null
events
sessions.events
Get recorded events. This endpoint allows you to get the recorded session events in the RRWeb format. Returns { events, nextCursor }: one page of the recording. limit (1 to 1000) counts the event batches Steel stored, so a page can hold more events than limit. Steel sends the next page token in a Next-Cursor response header; pass nextCursor as pointer to read the next page, until nextCursor is null.
Risk: read
await corsair.steel.api.sessions.events({ id: '3f0e6a2c-8b1d-4c7e-9a52-1d2e3f4a5b6c' });
| Name | Type | Required | Description |
|---|---|---|---|
compressed | boolean | No | Compress the events |
limit | number | No | Optional pagination limit |
pointer | string | No | Opaque pagination token. Pass the Next-Cursor header value to get the next page. |
id | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
events | any[] | Yes | This page of results. |
nextCursor | string | null | Yes | Pass as pointer to read the next page; null on the last page. |
files.delete
sessions.files.delete
Delete a file. Delete a file from a session. Cannot be undone.
Risk: destructive · Irreversible
await corsair.steel.api.sessions.files.delete({ sessionId: 'example', path: 'example' });
| Name | Type | Required | Description |
|---|---|---|---|
sessionId | string | Yes | — |
path | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
success | true | Yes | Steel accepted the call; it answered with no body. |
files.deleteAll
sessions.files.deleteAll
Delete all files. Delete all files from a session. Cannot be undone.
Risk: destructive · Irreversible
await corsair.steel.api.sessions.files.deleteAll({ sessionId: 'example' });
| Name | Type | Required | Description |
|---|---|---|---|
sessionId | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
success | true | Yes | Steel accepted the call; it answered with no body. |
files.download
sessions.files.download
Download a file. Download a file from a session.
Risk: read
await corsair.steel.api.sessions.files.download({ sessionId: 'example', path: 'example' });
| Name | Type | Required | Description |
|---|---|---|---|
sessionId | string | Yes | — |
path | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
contentBase64 | string | No | The file, base64-encoded. Missing when the file came back as text or contentOmitted is set. |
text | string | No | The file as text, in place of contentBase64, when it is a text file (CSV, JSON, Markdown, XML and the like) in UTF-8. |
contentType | string | Yes | Media type of the file, for example application/pdf. |
byteLength | number | Yes | Size of the file in bytes. |
filename | string | No | The file name, when known. |
contentOmitted | not_requested | over_limit | No | Set when the content was left out: the caller did not ask for it, or the file was over the limit. |
fileId | string | No | Where the host saved the file. Over the limit it comes in place of the content; a host that keeps every file sets it beside the content too. On Corsair it is a Files id (fil_…): pass it to another app wherever that app takes a file URL, or read a text file or PDF with files.read_text. |
files.downloadArchive
sessions.files.downloadArchive
Download archive. Download all files from the session as a zip archive.
Risk: read
await corsair.steel.api.sessions.files.downloadArchive({ sessionId: 'example' });
| Name | Type | Required | Description |
|---|---|---|---|
sessionId | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
contentBase64 | string | No | The file, base64-encoded. Missing when the file came back as text or contentOmitted is set. |
text | string | No | The file as text, in place of contentBase64, when it is a text file (CSV, JSON, Markdown, XML and the like) in UTF-8. |
contentType | string | Yes | Media type of the file, for example application/pdf. |
byteLength | number | Yes | Size of the file in bytes. |
filename | string | No | The file name, when known. |
contentOmitted | not_requested | over_limit | No | Set when the content was left out: the caller did not ask for it, or the file was over the limit. |
fileId | string | No | Where the host saved the file. Over the limit it comes in place of the content; a host that keeps every file sets it beside the content too. On Corsair it is a Files id (fil_…): pass it to another app wherever that app takes a file URL, or read a text file or PDF with files.read_text. |
files.list
sessions.files.list
List files. List all files from the session in descending order.
Risk: read
await corsair.steel.api.sessions.files.list({ sessionId: 'example' });
| Name | Type | Required | Description |
|---|---|---|---|
sessionId | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
data | object[] | null | No | Array of files for the current page |
data full type
data full type
{
lastModified?: string | null,
path?: string | null,
size?: number | null
}[] | null
files.upload
sessions.files.upload
Upload a file. Uploads a file to a session via multipart/form-data with a file field that accepts either binary data or a URL string to download from, and an optional path field for the file storage path.
Risk: write
await corsair.steel.api.sessions.files.upload({
sessionId: 'example',
file: { base64: 'SGVsbG8gZnJvbSBDb3JzYWly', filename: 'notes.txt', contentType: 'text/plain' },
});
| Name | Type | Required | Description |
|---|---|---|---|
sessionId | string | Yes | — |
file | string | object | custom | Yes | The file to upload (binary) or URL string to download from |
path | string | No | Path to the file in the storage system |
file full type
file full type
string | {
url: string,
filename?: string,
contentType?: string
} | {
base64: string,
filename?: string,
contentType?: string
} | custom
| Name | Type | Required | Description |
|---|---|---|---|
lastModified | string | null | No | Timestamp when the file was created |
path | string | null | No | Path to the file in the storage system |
size | number | null | No | Size of the file in bytes |
get
sessions.get
Get session details. Retrieves details of a specific session by ID.
Risk: read
await corsair.steel.api.sessions.get({ id: '3f0e6a2c-8b1d-4c7e-9a52-1d2e3f4a5b6c' });
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
browserMode | string | null | No | Browser mode used for this session. |
createdAt | string | null | No | Timestamp when the session started |
creditsUsed | number | null | No | Amount of credits consumed by the session |
debugConfig | object | null | No | Configuration for the debug URL and session viewer. Controls interaction capabilities and cursor visibility. |
debugUrl | string | null | No | URL for debugging the session |
deviceConfig | object | null | No | Device configuration for the session |
dimensions | object | null | No | Viewport and browser window dimensions for the session |
duration | number | null | No | Duration of the session in milliseconds |
eventCount | number | null | No | Number of events processed in the session |
fullscreen | boolean | null | No | Launch the browser in fullscreen mode, covering the full screen with no Chrome UI. |
headless | boolean | null | No | Indicates if the session is headless or headful |
id | string | null | No | Unique identifier for the session |
inactivityTimeout | number | null | No | Inactivity timeout in milliseconds, if one was set when the session was created |
isSelenium | boolean | null | No | Indicates if Selenium is used in the session |
metadata | Record<string, string> | null | No | Customer-defined flat metadata. Values are always strings: numbers and booleans sent on write come back in their string form. |
optimizeBandwidth | object | null | No | Bandwidth optimizations that were applied to the session. |
persistProfile | boolean | null | No | This flag will persist the profile for the session. |
profileId | string | null | No | The ID of the profile associated with the session |
projectId | string | null | null | No | The project associated with the session |
proxyBytesUsed | number | null | No | Amount of data transmitted through the proxy |
proxySource | string | null | null | No | Source of the proxy used for the session |
region | string | null | No | The region where the session was created. |
releaseReason | string | null | null | No | Why the session reached a terminal state. Null while the session is live, or when the reason is unknown (e.g. sessions created before this was tracked). One of: user_requested (released via the API/SDK), timeout (hard timeout elapsed), inactivity_timeout (no activity for the configured window), creation_timeout (never started in time), startup_failed (could not be dispatched), browser_closed (the browser or agent closed itself — not a crash), browser_crashed (the browser crashed or its machine became unresponsive). |
sessionViewerUrl | string | null | No | URL to view session details |
signals | string[] | null | No | Signals observed during the session. Filled in within a few seconds after the session ends, and empty until then. An empty list does not mean nothing happened: detection is heuristic and coverage is incomplete. |
solveCaptcha | boolean | null | No | Indicates if captcha solving is enabled |
status | string | null | No | Status of the session |
stealthConfig | object | null | No | Stealth configuration for the session |
timeout | number | null | No | Session timeout duration in milliseconds |
userAgent | string | null | No | User agent string used in the session |
websocketUrl | string | null | No | URL for the session’s WebSocket connection |
debugConfig full type
debugConfig full type
{
interactive?: boolean | null,
systemCursor?: boolean | null
} | null
deviceConfig full type
deviceConfig full type
{
device?: string | null
} | null
dimensions full type
dimensions full type
{
height?: number | null,
width?: number | null
} | null
optimizeBandwidth full type
optimizeBandwidth full type
{
blockHosts?: string[] | null,
blockImages?: boolean | null,
blockMedia?: boolean | null,
blockStylesheets?: boolean | null,
blockUrlPatterns?: string[] | null
} | null
stealthConfig full type
stealthConfig full type
{
autoCaptchaSolving?: boolean | null,
humanizeInteractions?: boolean | null,
skipFingerprintInjection?: boolean | null
} | null
hlsPlaylist
sessions.hlsPlaylist
Get HLS playlist. Get HLS playlist for a session recording using app auth or an RTC token.
Risk: read
await corsair.steel.api.sessions.hlsPlaylist({ id: '3f0e6a2c-8b1d-4c7e-9a52-1d2e3f4a5b6c' });
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
contentBase64 | string | No | The file, base64-encoded. Missing when the file came back as text or contentOmitted is set. |
text | string | No | The file as text, in place of contentBase64, when it is a text file (CSV, JSON, Markdown, XML and the like) in UTF-8. |
contentType | string | Yes | Media type of the file, for example application/pdf. |
byteLength | number | Yes | Size of the file in bytes. |
filename | string | No | The file name, when known. |
contentOmitted | not_requested | over_limit | No | Set when the content was left out: the caller did not ask for it, or the file was over the limit. |
fileId | string | No | Where the host saved the file. Over the limit it comes in place of the content; a host that keeps every file sets it beside the content too. On Corsair it is a Files id (fil_…): pass it to another app wherever that app takes a file URL, or read a text file or PDF with files.read_text. |
list
sessions.list
List all sessions. Fetches all active sessions for the current organization.
Risk: read
await corsair.steel.api.sessions.list({});
| Name | Type | Required | Description |
|---|---|---|---|
cursorId | string | No | Cursor ID for pagination |
limit | number | No | Number of sessions to return. Default is 50, max is 100. |
status | live | released | failed | No | Filter sessions by current status |
releaseReason | user_requested | timeout | inactivity_timeout | creation_timeout | startup_failed | browser_closed | browser_crashed | No | Filter released sessions by why they ended. Live sessions have no release reason and are excluded whenever this is set. Without an explicit status, matching failed sessions are included. |
projectId | string | No | Filter sessions by project |
createdAfter | string | No | Only sessions created at or after this ISO 8601 timestamp, e.g. 2026-10-01T00:00:00Z. |
createdBefore | string | No | Only sessions created before this ISO 8601 timestamp. |
signal | (captcha_encountered | proxy_connection_failed | session_timeout_exceeded | bot_detection_triggered | context_restored)[] | No | Signals the session must carry; repeat the parameter to require several. All must match. Derived signals are finalized at release. |
metadata | Record<string, string> | No | Exact-match metadata filters, e.g. metadata[environment]=production. All entries must match. Values match the stored string exactly; numbers and booleans are stored as strings, so metadata[attempt]=3 matches attempt sent as 3 or “3”. |
| Name | Type | Required | Description |
|---|---|---|---|
nextCursor | string | null | null | No | Cursor for the next page of results. Null if no more pages. |
sessions | object[] | null | No | List of browser sessions |
totalCount | number | null | No | Exact number of live sessions in the organization/project scope. Only included for status=live without metadata, signal, releaseReason, createdAfter or createdBefore filters. Other queries omit this field; use nextCursor to paginate until it is null. |
sessions full type
sessions full type
{
browserMode?: string | null,
createdAt?: string | null,
creditsUsed?: number | null,
debugConfig?: {
interactive?: boolean | null,
systemCursor?: boolean | null
} | null,
debugUrl?: string | null,
deviceConfig?: {
device?: string | null
} | null,
dimensions?: {
height?: number | null,
width?: number | null
} | null,
duration?: number | null,
eventCount?: number | null,
fullscreen?: boolean | null,
headless?: boolean | null,
id?: string | null,
inactivityTimeout?: number | null,
isSelenium?: boolean | null,
metadata?: Record<string, string> | null,
optimizeBandwidth?: {
blockHosts?: string[] | null,
blockImages?: boolean | null,
blockMedia?: boolean | null,
blockStylesheets?: boolean | null,
blockUrlPatterns?: string[] | null
} | null,
persistProfile?: boolean | null,
profileId?: string | null,
projectId?: string | null | null,
proxyBytesUsed?: number | null,
proxySource?: string | null | null,
region?: string | null,
releaseReason?: string | null | null,
sessionViewerUrl?: string | null,
signals?: string[] | null,
solveCaptcha?: boolean | null,
status?: string | null,
stealthConfig?: {
autoCaptchaSolving?: boolean | null,
humanizeInteractions?: boolean | null,
skipFingerprintInjection?: boolean | null
} | null,
timeout?: number | null,
userAgent?: string | null,
websocketUrl?: string | null
}[] | null
liveDetails
sessions.liveDetails
Get live session details. Returns the live state of the session, including pages, tabs, and browser state.
Risk: read
await corsair.steel.api.sessions.liveDetails({ id: '3f0e6a2c-8b1d-4c7e-9a52-1d2e3f4a5b6c' });
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
pages | object[] | null | No | — |
sessionViewerFullscreenUrl | string | null | No | — |
sessionViewerUrl | string | null | No | — |
wsUrl | string | null | No | — |
pages full type
pages full type
{
favicon?: string | null | null,
id?: string | null,
sessionViewerFullscreenUrl?: string | null,
sessionViewerUrl?: string | null,
title?: string | null,
url?: string | null
}[] | null
logs
sessions.logs
Get session logs. Query browser event logs for a session.
Risk: read
await corsair.steel.api.sessions.logs({ id: '3f0e6a2c-8b1d-4c7e-9a52-1d2e3f4a5b6c' });
| Name | Type | Required | Description |
|---|---|---|---|
namespace | string | No | — |
startTime | string | No | — |
endTime | string | No | — |
eventTypes | string[] | No | — |
limit | number | No | — |
offset | number | No | — |
id | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
events | object[] | null | No | — |
hasMore | boolean | null | No | — |
total | number | null | No | — |
events full type
events full type
{
id?: string | null,
log?: string | null,
timestamp?: string | null,
type?: string | null
}[] | null
metadata.replace
sessions.metadata.replace
Replace session metadata. Atomically replace customer metadata. Send an empty object to clear it. Last accepted write wins; use PATCH to change individual keys. Subject to session organization and project access.
Risk: write
await corsair.steel.api.sessions.metadata.replace({
id: '3f0e6a2c-8b1d-4c7e-9a52-1d2e3f4a5b6c',
metadata: {},
});
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
metadata | Record<string, string | number | boolean> | Yes | Customer-defined flat metadata: up to 50 keys and 8192 UTF-8 JSON bytes. Keys must start with a letter, use only letters, digits, underscores, dots or hyphens, and be at most 64 characters; steel_ is reserved. Values are strings (up to 1024 characters, valid Unicode without NUL), finite numbers or booleans. Numbers and booleans are stored as strings, so 3 and “3” are the same value. |
| Name | Type | Required | Description |
|---|---|---|---|
metadata | Record<string, string> | null | No | Customer-defined flat metadata. Values are always strings: numbers and booleans sent on write come back in their string form. |
metadata.update
sessions.metadata.update
Update session metadata. Atomically merge keys into customer metadata. Set a key to null to remove it; keys you leave out are kept, so concurrent updates to different keys are all kept. Returns the merged metadata, which must stay within the metadata limits. Subject to session organization and project access.
Risk: write
await corsair.steel.api.sessions.metadata.update({
id: '3f0e6a2c-8b1d-4c7e-9a52-1d2e3f4a5b6c',
metadata: {},
});
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
metadata | Record<string, string | number | boolean | never | null> | Yes | Metadata keys to change, up to 100 per update. Keys follow the same rules as metadata keys. Send a string, finite number or boolean to set a key, or null to remove it; keys you leave out are kept. The merged metadata must stay within 50 keys and 8192 UTF-8 JSON bytes. |
| Name | Type | Required | Description |
|---|---|---|---|
metadata | Record<string, string> | null | No | Customer-defined flat metadata. Values are always strings: numbers and booleans sent on write come back in their string form. |
release
sessions.release
Release a session. Releases a specific session by ID. Ends the session; its browser cannot be resumed.
Risk: destructive · Irreversible
await corsair.steel.api.sessions.release({ id: '3f0e6a2c-8b1d-4c7e-9a52-1d2e3f4a5b6c' });
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
message | string | null | No | Details about the outcome of the release operation |
success | boolean | null | No | Indicates if the session was successfully released |
releaseAll
sessions.releaseAll
Release all sessions. Releases all active sessions for the current organization. Ends every live session in the project given by projectId; without it, every session the key reaches (all projects for an organization key).
Risk: destructive · Irreversible
await corsair.steel.api.sessions.releaseAll({ projectId: '3f0e6a2c-8b1d-4c7e-9a52-1d2e3f4a5b6c' });
| Name | Type | Required | Description |
|---|---|---|---|
projectId | string | No | Release sessions only within this project |
| Name | Type | Required | Description |
|---|---|---|---|
message | string | null | No | Details about the outcome of the release operation |
success | boolean | null | No | Indicates if the sessions were successfully released |
signalCatalog
sessions.signalCatalog
List public session signal definitions. Returns current signal labels and meanings for customer integrations. Uses normal Steel API-key authentication. Includes no session data or administrative signals. Definitions do not establish that detection ran for a particular session.
Risk: read
await corsair.steel.api.sessions.signalCatalog({});
| Name | Type | Required | Description |
|---|---|---|---|
semantics | string | null | No | Interpretation and coverage limitations of session signals |
signals | object[] | null | No | — |
signals full type
signals full type
{
description?: string | null,
label?: string | null,
severity?: string | null,
source?: string | null,
value?: string | null
}[] | null
Tools
tools.pdf
Convert webpage to PDF. Generates a PDF from a specified webpage. Runs a short browser session and spends wallet credit like one.
Risk: read
await corsair.steel.api.tools.pdf({ url: 'https://example.com' });
| Name | Type | Required | Description |
|---|---|---|---|
delay | number | No | Delay before generating the PDF (in milliseconds) |
projectId | string | No | Project to execute the PDF generation in. |
region | any | No | The desired region for the action to be performed in |
url | string | Yes | URL of the webpage to convert to PDF |
useProxy | boolean | No | Use a Steel-provided residential proxy for generating the PDF |
| Name | Type | Required | Description |
|---|---|---|---|
url | string | null | No | URL where the PDF is hosted |
scrape
tools.scrape
Scrape webpage content. Extracts content from a specified URL. Runs a short browser session and spends wallet credit like one.
Risk: read
await corsair.steel.api.tools.scrape({
url: 'https://example.com',
format: ['markdown'],
});
| Name | Type | Required | Description |
|---|---|---|---|
delay | number | No | Delay before scraping (in milliseconds) |
format | (html | readability | cleaned_html | markdown)[] | No | Desired format(s) for the scraped content. Default is html. |
pdf | boolean | No | Include a PDF in the response |
projectId | string | No | Project to execute the scrape in. |
region | any | No | The desired region for the action to be performed in |
screenshot | boolean | No | Include a screenshot in the response |
url | string | Yes | URL of the webpage to scrape. A URL without a scheme is fetched over HTTPS. |
useProxy | boolean | No | Use a Steel-provided residential proxy for the scrape |
| Name | Type | Required | Description |
|---|---|---|---|
content | object | null | No | — |
links | object[] | null | No | — |
metadata | object | null | No | — |
pdf | object | null | No | — |
screenshot | object | null | No | — |
content full type
content full type
{
cleaned_html?: string | null,
html?: string | null,
markdown?: string | null,
readability?: Record<string, any> | null
} | null
links full type
links full type
{
text?: string | null,
url?: string | null
}[] | null
metadata full type
metadata full type
{
articleAuthor?: string | null,
author?: string | null,
canonical?: string | null,
description?: string | null,
favicon?: string | null,
jsonLd?: any | null,
keywords?: string | null,
language?: string | null,
modifiedTime?: string | null,
ogDescription?: string | null,
ogImage?: string | null,
ogSiteName?: string | null,
ogTitle?: string | null,
ogUrl?: string | null,
publishedTime?: string | null,
statusCode?: number | null,
timestamp?: string | null,
title?: string | null,
urlSource?: string | null
} | null
pdf full type
pdf full type
{
url?: string | null
} | null
screenshot full type
screenshot full type
{
url?: string | null
} | null
screenshot
tools.screenshot
Capture webpage screenshot. Captures a screenshot of a specified webpage. Runs a short browser session and spends wallet credit like one.
Risk: read
await corsair.steel.api.tools.screenshot({ url: 'https://example.com' });
| Name | Type | Required | Description |
|---|---|---|---|
delay | number | No | Delay before capturing the screenshot (in milliseconds) |
fullPage | boolean | No | Capture the full page screenshot. Default is false. |
projectId | string | No | Project to execute the screenshot in. |
region | any | No | The desired region for the action to be performed in |
url | string | Yes | URL of the webpage to capture |
useProxy | boolean | No | Use a Steel-provided residential proxy for capturing the screenshot |
| Name | Type | Required | Description |
|---|---|---|---|
url | string | null | No | URL where the screenshot is hosted |
Vaults
create
vaults.create
Create a Vault. (POST /v1/vaults)
Risk: write
await corsair.steel.api.vaults.create({ name: 'example' });
| Name | Type | Required | Description |
|---|---|---|---|
description | string | null | No | — |
name | string | Yes | 1–63 lowercase letters, digits, hyphens, underscores or dots; must start with a letter or digit. |
projectId | string | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
createdAt | string | null | No | — |
description | string | null | null | No | — |
id | string | null | No | — |
name | string | null | No | 1–63 lowercase letters, digits, hyphens, underscores or dots; must start with a letter or digit. |
projectId | string | null | No | — |
updatedAt | string | null | No | — |
delete
vaults.delete
Delete an empty Vault. Soft-delete a Vault. Returns 409 while it contains any live Secrets or credentials; move or delete them first. Cannot be undone.
Risk: destructive · Irreversible
await corsair.steel.api.vaults.delete({ id: '3f0e6a2c-8b1d-4c7e-9a52-1d2e3f4a5b6c' });
| Name | Type | Required | Description |
|---|---|---|---|
projectId | string | No | — |
id | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
success | true | Yes | Steel accepted the call; it answered with no body. |
get
vaults.get
Get a Vault. (GET /v1/vaults/{id})
Risk: read
await corsair.steel.api.vaults.get({ id: '3f0e6a2c-8b1d-4c7e-9a52-1d2e3f4a5b6c' });
| Name | Type | Required | Description |
|---|---|---|---|
projectId | string | No | — |
id | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
createdAt | string | null | No | — |
description | string | null | null | No | — |
id | string | null | No | — |
name | string | null | No | 1–63 lowercase letters, digits, hyphens, underscores or dots; must start with a letter or digit. |
projectId | string | null | No | — |
updatedAt | string | null | No | — |
list
vaults.list
List Vaults. (GET /v1/vaults)
Risk: read
await corsair.steel.api.vaults.list({});
| Name | Type | Required | Description |
|---|---|---|---|
projectId | string | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
vaults | object[] | null | No | — |
vaults full type
vaults full type
{
createdAt?: string | null,
description?: string | null | null,
id?: string | null,
name?: string | null,
projectId?: string | null,
updatedAt?: string | null
}[] | null
update
vaults.update
Update a Vault. (PATCH /v1/vaults/{id})
Risk: write
await corsair.steel.api.vaults.update({ id: '3f0e6a2c-8b1d-4c7e-9a52-1d2e3f4a5b6c' });
| Name | Type | Required | Description |
|---|---|---|---|
projectId | string | No | — |
id | string | Yes | — |
description | string | null | No | — |
name | string | No | 1–63 lowercase letters, digits, hyphens, underscores or dots; must start with a letter or digit. |
| Name | Type | Required | Description |
|---|---|---|---|
createdAt | string | null | No | — |
description | string | null | null | No | — |
id | string | null | No | — |
name | string | null | No | 1–63 lowercase letters, digits, hyphens, underscores or dots; must start with a letter or digit. |
projectId | string | null | No | — |
updatedAt | string | null | No | — |