Budget Rules

Create Custom Template

Create a new custom rule template from structured data

post/api/v1/rules/templates/custom

Request

  • Base URL: https://api.adrex.ai (the document declares no server; this is the origin it was published from)
  • URL: https://api.adrex.ai/api/v1/rules/templates/custom
  • Auth: none declared

Request body

namestring required
descriptionstring required
categorystring required
iconstring
conditionsobject[] required
actionobject required
guardrailsobject required
original_promptstring nullable
client_idinteger nullable

Response

Successful Response

idstring required
namestring required
descriptionstring required
iconstring required
categorystring required
conditions_summarystring required
action_summarystring required
guardrails_summarystring required
enabled_campaigns_countinteger
is_customboolean
original_promptstring nullable

Changes

No recorded changes to this operation across all 1 revision of this API.