GET
/
v1
/
run-attachments
/
{attachment_id}
Get Run Attachment
curl --request GET \
  --url https://api.cyberdesk.io/v1/run-attachments/{attachment_id} \
  --header 'Authorization: Bearer <token>'
{
  "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"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

attachment_id
string<uuid>
required

Response

Successful Response

Run attachment response schema

filename
string
required
content_type
string
required
attachment_type
enum<string>
required
Available options:
input,
output
id
string<uuid>
required
run_id
string<uuid>
required
size_bytes
integer
required
storage_path
string
required
created_at
string<date-time>
required
target_path
string | null
cleanup_imports_after_run
boolean
default:false
user_id
string<uuid> | null
organization_id
string | null
expires_at
string<date-time> | null