Skip to main content
POST
Create supporting document

Authorizations

Authorization
string
header
required

An API key prefixed with finta_, or the access token from a Finta CLI browser login (finta login), prefixed with finta_oat_. A CLI login's access token lasts one hour and the CLI renews it itself.

Body

application/json
filename
string
required

Original filename ending in .md, .txt or .csv. Stored as supplied.

Required string length: 1 - 255
description
string
required

A short description to help people find the document later.

Required string length: 1 - 300
explanation
string
required

Where the document came from, what it was used for and any figure taken from it.

Required string length: 1 - 5000
content
string
required

The full document text supplied directly in the request.

Required string length: 1 - 100000

Optional public record IDs. Accepts jmb_, jeu_, txn_ and cat_. Repeated IDs produce one link.

Maximum array length: 50

Response

The saved document, including its text

id
string
required
Pattern: ^doc_
Example:

"doc_a1b2c3d4e5f6g7"

object
enum<string>
required
Available options:
supporting_document
filename
string
required
Example:

"october-review.md"

description
string
required
explanation
string
required
added_by
string | null
required

Display name of the user who added the document - their first and last name, or the part of their email address before the @ when either name is missing. Null if that user was deleted.

created
integer
required

When the document was added, as a Unix timestamp in seconds.

source
enum<string>
required

The public API (including the CLI), an MCP client, or Finta Agent.

Available options:
api,
mcp,
finta_agent
client_name
string | null
required

The connected app's name at the time of creation, or null for an API key.

content
string
required

The full document text.