Skip to content
Navigation

List a work session’s artifacts

Every artifact produced in the session, draft until it is committed into a space, with the turn that produced it and the version it is on. Pages: limit is 1-200 (default 50) and starting_after takes the previous page’s last id; hasMore says whether another page follows. Authorization: work_session:read on the session, OR space:contribute on one of its linked spaces; a desk session is readable only by its owner. Any denial is 404. A read-only caller reads the SANITIZED view, the same one its live socket gets.

GET
https://api.cloudraker.com/workspace/sessions/{sessionId}/artifacts
Try it
Path parameters
Query parameters
Live API request

Authorization

  • bearerAuth
    HTTP
    required

Path parameters

  • sessionId
    string
    required

Query parameters

  • limit
    optional
    integer

    Page size, 1-200 (default 50). Enforced: a bad value is 400 validation_failed.

    maximum: 200 · minimum: 1
  • starting_after
    optional
    string

    The previous page’s last id.

    maxLength: 128 · minLength: 1

Returns

200

The session’s artifacts.

JSON
  • data
    array of
    object
    required
    • id
      string
      required
    • sessionId
      string
      required
      maxLength: 128 · minLength: 1
    • fileId
      string
      required
    • version
      integer
      required
      maximum: 9007199254740991 · minimum: -9007199254740991
    • name
      string
      required
    • mime
      string
      required
    • state
      draft
      or
      committed
      required
    • producedByTurn
      string | null
      required
    • committedTo
      required

      Any of the following:

      • object
        • spaceId
          string
          required
        • fileId
          string
          required
        • at
          string
          required
          format: date-time · pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
        • by
          string
          required
      • null
  • hasMore
    boolean
    required

400

validation_failed — a bad limit or starting_after.

404

No such session, or the caller may not see it.

Type to search…

↑↓ navigate↵ selectEsc close