artifacts

Get all artifacts in a workspace

Changed on
get/artifacts/workspace/{workspaceId}

Request

  • The document declares no server URL.
  • Auth: none declared

Path parameters

workspaceIdstring uuid required

The UUID of the workspace

Query parameters

searchstring

Search artifacts by title

type'document' | 'diagram' | 'spreadsheet'

Filter by type

limitnumber

Maximum number of artifacts to return

offsetnumber

Number of artifacts to skip

Response

List of artifacts from chats in the workspace

Example response

{
  "data": [
    {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "type": "document",
      "threadId": "123e4567-e89b-12d3-a456-426614174000",
      "userId": "123e4567-e89b-12d3-a456-426614174000",
      "title": "Meeting Notes Q1 2026",
      "letterheadId": "123e4567-e89b-12d3-a456-426614174000",
      "currentVersionNumber": 3,
      "versions": [
        {
          "id": "123e4567-e89b-12d3-a456-426614174000",
          "artifactId": "123e4567-e89b-12d3-a456-426614174000",
          "versionNumber": 1,
          "content": "<p>Document content...</p>",
          "authorType": "ASSISTANT",
          "createdAt": "2026-01-15T10:30:00.000Z"
        }
      ],
      "createdAt": "2026-01-15T10:00:00.000Z",
      "updatedAt": "2026-01-15T10:30:00.000Z"
    }
  ],
  "pagination": {
    "limit": 50,
    "total": 150
  }
}

Changes