Skip to content
Navigation

List artifact metadata for a thread run

GET
/api/v1/threads/{threadId}/artifacts

Authorization

  • cookieAuth
    API key in cookie
    required

Path parameters

  • threadId
    string
    required

    Thread or run identifier

Returns

200

Success

JSON
  • ok
    boolean
    required
  • threadId
    string
    required
  • artifacts
    array of
    object
    required
    • index
      integer
      required
      maximum: 7 · minimum: 0
    • path
      string
      required
      maxLength: 240 · minLength: 1
    • mediaType
      string
      required
      maxLength: 200 · minLength: 1
    • bytes
      integer
      required
      maximum: 9007199254740991
    • sha256
      string
      required
      pattern: ^[a-f0-9]{64}$
    • artifactId
      optional
      string
      maxLength: 128
    • version
      optional
      integer
      maximum: 9007199254740991
    • sourceRunId
      optional
      string
      maxLength: 200

401

Unauthorized
JSON
  • error
    string
    required
  • ok
    optional
    boolean
  • detail
    optional
    string
  • code
    optional
    string

404

Run not found
JSON
  • error
    string
    required
  • ok
    optional
    boolean
  • detail
    optional
    string
  • code
    optional
    string

Type to search…

↑↓ navigate↵ selectEsc close