Create a custom instruction
Create a new custom instruction for the AI Agent. New instructions default to inactive (enabled: false); enable one by setting enabled: true on create or via a later update.
Authentication
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
Display name for the custom instruction (unique per Agent)
The instruction content — the rule the Agent should follow
Internal notes about this instruction (not shown to the Agent)
Optional availability rule as a rule-expression string with v("<variable_name>") lookups. Omit or send null for no rule. A rule that references an unknown variable, or that is malformed or uses an unsupported operator, is rejected with 400.
Response
Display name for the custom instruction (unique per Agent)
The instruction content — the rule the Agent should follow
Internal notes about this instruction (not shown to the Agent)
Availability rule gating which end users this instruction applies to, as a rule-expression string with v("<variable_name>") variable lookups. null when no rule is set.