Directives

Create directive

Changed on

Create a global or tag-scoped hard rule for reflect prompts.

post/v1/default/banks/{bank_id}/directives

Request

Path parameters

bank_idstring required

Headers

authorizationstring nullable

Request body

namestring required

Human-readable name for the directive

contentstring required

The directive text to inject into prompts

priorityinteger

Higher priority directives are injected first

is_activeboolean

Whether this directive is active

tagsstring[]

Directive execution scope. Empty means global; non-empty requires a matching reflect scope.

Response

Successful Response

idstring required
bank_idstring required
namestring required
contentstring required
priorityinteger
is_activeboolean
tagsstring[]
created_atstring nullable
updated_atstring nullable

Changes

    • warning

      the request property's max was set to 2147483647.00

    • warning

      the request property's min was set to -2147483648.00

    • warning

      removed the optional property // from the response with the status