List Session Attachments

Lists the uploaded attachments for a session. Only committed attachments are returned.

get/sessions/{sessionId}/attachments

Path parameters

sessionIdstring required
Example:c59e5bd0-e5eb-4bf0-a08a-01f7e8f712c7

The session ID to list attachments for.

Query parameters

limitinteger
Example:20

Maximum number of items to return (1-100). Use with cursor for pagination through large sets.

cursorstring
Example:eyJvZmZzZXQiOjAsInBhZ2VJZCI6ImNvZGUifQ

Cursor for pagination. Pass the nextCursor from the previous response to get the next page of results.

Response

The session's attachments.

nextCursorstring nullable required
hasMoreboolean required
totalinteger

Example response

{
  "data": [
    {
      "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "sessionId": "c59e5bd0-e5eb-4bf0-a08a-01f7e8f712c7",
      "filePath": "/tmp/report.pdf",
      "sha256": "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08"
    }
  ]
}

Changes

Changed in 1 of the 37 revisions of this API.1