artifacts

Get an artifact by ID with all versions

get/artifacts/{id}

Request

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

Path parameters

idstring uuid required

The UUID of the artifact

Response

The artifact with all versions

idstring required

Unique identifier of the artifact

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

The kind of artifact — document (HTML) or diagram (mermaid)

threadIdstring required

The thread this artifact belongs to

userIdstring required

The user who owns this artifact

titlestring required

Title of the document

letterheadIdstring uuid nullable

The letterhead applied to this artifact

currentVersionNumbernumber required

Current version number

createdAtstring required

When the artifact was created

updatedAtstring required

When the artifact was last updated

Example response

{
  "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"
}

Changes

No recorded changes to this operation across all 51 revisions of this API.