Documents

Draft a readable-name script from an instruction

Changed on

Drafts a rule script from a plain-language instruction ("drop the number in front of the name"), grounded in the workspace's own filenames. Saves nothing. Requires the documents:write scope. The key's person must be an Admin of the workspace (the workspace permission), as in the web app. Only filenames of documents the key's person can see are used and returned.

post/v1/documents/display-name-rule/generate-script

Request

  • Base URL
    https://api.talonic.com
  • Auth
    HTTP bearer

Request body

object required
instruction, string required
sample_size, integer

Response

OK

object required

Changes