Documents

Try a readable-name script

Changed on

Runs a candidate lua_script over a sample of real filenames (default 50, at most 200) without saving it. Requires the documents:write scope. The key's person must be an Admin of the workspace (the workspace permission), as in the web app. The sample is drawn only from documents the key's person can see.

post/v1/documents/display-name-rule/preview

Request

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

Request body

object required
lua_script, string required
sample_size, integer

Response

OK

object required

Changes