Skip to content
Navigation

List the artifacts of a work session

Every document the session produced, oldest first. An artifact is draft until it is committed into a space. Page with after, which takes the previous page's last id; nextCursor is null at the end.

Fetch the bytes with GET /v1/files/{fileId}.

Learn more: Work sessions

GET
https://api.cloudraker.com/v1/work-sessions/{id}/artifacts
Try it
Path parameters
Query parameters
Live API request

Authorization

  • bearerAuth
    HTTP
    required

Path parameters

  • id
    string
    required
    maxLength: 128 · minLength: 1

Query parameters

  • after
    optional
    string
    maxLength: 256 · minLength: 1
  • limit
    optional
    integer
    maximum: 200 · minimum: 1

Returns

200

One page of 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
  • nextCursor
    string | null
    required

400

Validation Error
JSON
  • success
    false
    required
  • error
    array of
    unknown
    required
  • data
    unknown
    required

401

Missing or invalid credential.

403

The credential may not use the /v1 API.

404

Unknown session id, or it belongs to another API key.

429

Rate limited. The /v1 API allows at least 67 requests per minute per organization (about 1,000 requests per 15 minutes) — a guaranteed floor, enforced per edge location, so a geographically spread caller may get more. Wait for the Retry-After interval and retry — the error is retryable.
JSON
  • code
    rate_limited
    required
  • message
    string
    required
  • retryable
    true
    required
  • requestId
    string
    required
  • docUrl
    optional
    string

Type to search…

↑↓ navigate↵ selectEsc close