Browse the help center

Whether an upstream macro preset can be filled from a document

available is false when no Anthropic key is set up (reason no_key) or this month's AI budget is spent (reason limit); the preset editor offers Fill from document only while it is true.

Reference
GET https://YOUR-NETWORK-DOMAIN/rest-api/upstream-macro-presets/from-document.do

available is false when no Anthropic key is set up (reason no_key) or this month's AI budget is spent (reason limit); the preset editor offers Fill from document only while it is true. Also answers the size limits a document is held to: a PDF, an image, a text or HTML file or downloaded page, and pasted text. Requires the UPSTREAM_MACRO_PRESETS admin permission and an Anthropic key: the user's own, the network's, or Epom's while the network's plan includes it.

Responses

200

{available, reason, maxPdfMb, maxImageMb, maxPageMb, maxTextLength}

400

Bad request — invalid or missing parameters

401

Authentication error

403

Insufficient permissions, naming the missing one

Please disable Adblock
Are you using adblock? Disable it and reload the page to proceed to the destination page.

A registration has already been submitted from this page. Please try again in 10 minutes.