POST
/
v1
/
sessions
/
{sessionId}
/
agent
/
files
curl --request POST \
  --url https://api.anchorbrowser.io/v1/sessions/{sessionId}/agent/files \
  --header 'Content-Type: multipart/form-data' \
  --header 'anchor-api-key: <api-key>'
{
  "data": {
    "status": "success",
    "message": "Successfully extracted 3 files as agent resources"
  }
}

Authorizations

anchor-api-key
string
header
required

API key passed in the header

Path Parameters

sessionId
string
required

The browser session ID

Example:

"550e8400-e29b-41d4-a716-446655440000"

Body

multipart/form-data

Response

200
application/json

Agent resources uploaded successfully

The response is of type object.