Documents

Set the readable-name rule

Changed on

off derives nothing and clears stored names, default tidies each filename, lua runs your script (reads record.filename, calls record:set('display_name', value)). Takes effect for new documents; apply it to existing ones with the backfill. Requires the documents:write scope. The key's person must be an Admin of the workspace (the workspace permission), as in the web app.

patch/v1/documents/display-name-rule

Request

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

Request body

object required
mode, 'off' | 'default' | 'lua' required
script, string

Response

OK

object required

Changes