Skip to navigation

Create a document

View as Markdown

Create a strategy document (markdown). Returns its ID as documentId. Use this ID as docId in the other tools. Requires write access.

Authentication

AuthorizationBearer

A Basement key (bsmt_...), from Agents, Connect in the app.

Request

This endpoint expects an object.
titlestringRequired
Document title
bodyMarkdownstringOptional
Optional initial markdown body

Response

The tool's answer.
oktrue
documentIdstring

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
429
Too Many Requests Error
500
Internal Server Error