Skip to main content
POST
Upload Agent Resources

Authorizations

anchor-api-key
string
header
required

API key for your Anchor Browser account, sent as the anchor-api-key header on every request. Create one at app.anchorbrowser.io (API Access), or obtain one programmatically via the unauthenticated agent-access flow (POST /v1/agent-access).

Path Parameters

sessionId
string<uuid>
required

The browser session ID

Query Parameters

extract
enum<string>
default:true

Whether a .zip upload is unpacked into the uploads directory. Defaults to true. Set to false to keep the archive itself. Any other value is treated as true. Has no effect on non-zip files.

Available options:
true,
false

Body

multipart/form-data
file
file
required

File to upload as agent resource (ZIP files are extracted unless extract=false)

Response

Agent resources uploaded successfully

data
object