Skip to main content
PUT
Put Document

Authorizations

Authorization
string
header
required

A personal access token (haico_pat_...), created under Profile → API keys. Send it as Authorization: Bearer <key>. The browser session JWT is also accepted but is an internal mechanism and is not part of the public contract.

Path Parameters

thread_id
string
required
Minimum string length: 1

Body

application/json

Payload for the PUT document endpoint.

content
string
required
title
string | null

Response

Successful Response

Serialised document artifact returned by workspace endpoints.

thread_id
string
required
title
string
required
content
string
required
updated_at
string<date-time>
required