GET
/
v1
/
run-attachments
List Run Attachments
curl --request GET \
  --url https://api.cyberdesk.io/v1/run-attachments \
  --header 'Authorization: Bearer <token>'
{
  "items": [
    {
      "filename": "<string>",
      "content_type": "<string>",
      "attachment_type": "input",
      "target_path": "<string>",
      "cleanup_imports_after_run": false,
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "organization_id": "<string>",
      "run_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "size_bytes": 123,
      "storage_path": "<string>",
      "expires_at": "2023-11-07T05:31:56Z",
      "created_at": "2023-11-07T05:31:56Z"
    }
  ],
  "total": 123,
  "skip": 123,
  "limit": 123
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

run_id
string<uuid> | null

Filter by run ID

attachment_type
enum<string> | null

Filter by attachment type

Available options:
input,
output
skip
integer
default:0
Required range: x >= 0
limit
integer
default:100
Required range: 1 <= x <= 1000

Response

200
application/json

Successful Response

The response is of type object.