Documentation menu
You are reading docs for v0.4. Read the current version.

API reference

4 operations in quotes. Raw spec: openapi.json.

POST/api/v1/money-authoring/sources

POST /api/money-authoring/sources — read an uploaded file as text.

It writes nothing: the text goes back to the panel, which hands it to the author route like any other source. No second file store exists, and the text is not kept after the response.

Request body

SourceUploadRequest

Responses

StatusDescription
200

Security: bearer

POST/api/v1/quotes/author

POST /api/quotes/author — draft a quote from words, notes or uploads. No write.

Request body

AuthorMoneyRequest

Responses

StatusDescription
200
403AI admission refused (typed reason in the envelope)

Security: bearer

POST/api/v1/quotes/author/change

POST /api/quotes/author/change — propose edits from one sentence. Nothing is applied, here or by the client, until a person clicks Apply.

Request body

QuoteChangeRequest

Responses

StatusDescription
200

Security: bearer

POST/api/v1/quotes/extract

POST /api/quotes/extract — the live chips. No model call, no write: it reads the words the panel already has, so it is safe to run on every keystroke.

Request body

ExtractRequest

Responses

StatusDescription
200

Security: bearer