GET
/
v1
/
sessions
/
{sessionId}
/
agent
/
files
curl --request GET \
  --url https://api.anchorbrowser.io/v1/sessions/{sessionId}/agent/files \
  --header 'anchor-api-key: <api-key>'
{
  "data": {
    "files": [
      {
        "name": "document.pdf",
        "size": 1024000,
        "type": ".pdf",
        "lastModified": "2024-01-01T12:00:00.000Z"
      }
    ]
  }
}

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"

Response

200
application/json

Agent resources listed successfully

The response is of type object.