Attach files to a run
Links one or more pooled files to a playbook run (optionally a specific task). The body carries fileIds and an optional taskId. Returns which file ids attached vs. were skipped (missing / being deleted / pending approval). Requires file:write on the project.
Authentication
AuthorizationBearer
WorkOS session JWT or an organization API key, sent as Authorization: Bearer <token>.
Path parameters
projectId
runId
Request
This endpoint expects an object.
fileIds
The pooled file ids to attach to the run.
taskId
Attach the files to a specific task.
Response
The attach outcome.
attached
skipped
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
503
Service Unavailable Error