v1

latestOpenAPI 3.1.02026-07-22136108233.0 KB
run-attachments

Update Run Attachment

Update a run attachment.

Currently only supports updating the expiration date.

put/v1/run-attachments/{attachment_id}

Path parameters

attachment_idstring uuid required

Headers

Idempotency-Keystring
Example:550e8400-e29b-41d4-a716-446655440000

Unique key for idempotent requests. If provided, the server ensures the request is processed at most once. Retries with the same key return the original response. SDKs auto-generate this for write requests.

Request body

expires_atstring date-time nullable

Response

Successful Response

filenamestring required
content_typestring required
attachment_type'input' | 'output' required
target_pathstring nullable
cleanup_imports_after_runboolean
idstring uuid required
user_idstring uuid nullable
organization_idstring nullable
run_idstring uuid required
size_bytesinteger required
storage_pathstring required
expires_atstring date-time nullable
created_atstring date-time required