Skip to main content
POST
Error

Authorizations

Authorization
string
header
required

API token obtained from the Tokens endpoint or CLI device login. Include as Authorization: Bearer <token>. Requests made with a managed CLI session also include X-Strix-Workspace: <organization_id> to pin a process to the workspace it started in; recovery endpoints report the current workspace after a concurrent switch.

Body

application/json
title
string
required

Short title of the document.

Maximum string length: 200
content
string
required

Body of the document in plain text or Markdown. The agent reads it during scans.

Maximum string length: 20000
tags
string[]

Labels that group related documents.

Maximum array length: 15
Maximum string length: 60
metadata
object

Free-form JSON object stored with the document.

Response

Created document.

success
boolean
required
doc
object
required

An organization knowledge document.