Download one file the session was given

GET/o/{org}/sessions/{session}/attachments/{id}
View .md

The bytes of a file the session was started or followed up with, streamed, with its type, Content-Disposition: inline and its filename. Send the key, or open the attachment's url from the session read, which needs no key until url_expires_at. A wrong, expired or altered link answers 404, as a missing file does.

Authenticate with an org API key or a signed-in session.

Path parameters

orgstringrequired

The org's slug or id. A caller with no role in the org gets 404.

sessionstringrequired

The session's full id (execution_id).

idstringrequired

An id from the session's attachments.

Format uuid

Query parameters

expiresintegeroptional

Part of a file's signed url; send it as given, with no key.

signaturestringoptional

Part of a file's signed url; send it as given, with no key.

Responses

200The file.
401No bearer, an unknown, revoked or expired one, or an API key on a route keys cannot call.
errorstringoptional

A sentence for a person.

codestringoptional

Stable machine code, e.g. AUTH_FAILED, NOT_FOUND, VALIDATION_ERROR, RATE_LIMITED, TOKEN_LIMIT_REACHED.

error_codestringoptional

The machine code on routes that name it this way.

messagestringoptional
requestIdstringoptional
404No such resource for the caller, including one that exists in an org the caller cannot see.
errorstringoptional

A sentence for a person.

codestringoptional

Stable machine code, e.g. AUTH_FAILED, NOT_FOUND, VALIDATION_ERROR, RATE_LIMITED, TOKEN_LIMIT_REACHED.

error_codestringoptional

The machine code on routes that name it this way.

messagestringoptional
requestIdstringoptional