Skip to main content
PUT
Update Document

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required
doc_id
string
required

Body

application/json
title
string | null
content
string | null
visibility
enum<string> | null
Available options:
human-only,
agent-visible
injection
enum<string> | null
Available options:
none,
reference,
inline,
must-read

Response

Successful Response

id
string
required
workspace_id
string
required
title
string
required
content
string
required
visibility
enum<string>
required
Available options:
human-only,
agent-visible
injection
enum<string>
required
Available options:
none,
reference,
inline,
must-read
created_at
string
required
updated_at
string
required