Save policy
curl --request POST \
--url https://agenticadvertising.org/api/policies/save \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"policy_id": "my_brand_safety",
"version": "1.0.0",
"name": "Acme Corp Brand Safety",
"policy": "Ads must not appear adjacent to content depicting violence...",
"description": "<string>",
"jurisdictions": [
"<string>"
],
"region_aliases": {},
"policy_categories": [
"<string>"
],
"channels": [
"<string>"
],
"effective_date": "<string>",
"sunset_date": "<string>",
"governance_domains": [
"<string>"
],
"source_url": "<string>",
"source_name": "<string>",
"guidance": "<string>",
"exemplars": {
"pass": [
{
"scenario": "<string>",
"explanation": "<string>"
}
],
"fail": [
{
"scenario": "<string>",
"explanation": "<string>"
}
]
},
"ext": {}
}
'{
"message": "<string>",
"policy_id": "<string>",
"revision_number": 123
}Policy Registry
Save policy
Create or update a community-contributed policy. Requires authentication. Registry-sourced and pending-review policies cannot be edited (returns 409). Updates automatically create a revision record.
POST
/
api
/
policies
/
save
Save policy
curl --request POST \
--url https://agenticadvertising.org/api/policies/save \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"policy_id": "my_brand_safety",
"version": "1.0.0",
"name": "Acme Corp Brand Safety",
"policy": "Ads must not appear adjacent to content depicting violence...",
"description": "<string>",
"jurisdictions": [
"<string>"
],
"region_aliases": {},
"policy_categories": [
"<string>"
],
"channels": [
"<string>"
],
"effective_date": "<string>",
"sunset_date": "<string>",
"governance_domains": [
"<string>"
],
"source_url": "<string>",
"source_name": "<string>",
"guidance": "<string>",
"exemplars": {
"pass": [
{
"scenario": "<string>",
"explanation": "<string>"
}
],
"fail": [
{
"scenario": "<string>",
"explanation": "<string>"
}
]
},
"ext": {}
}
'{
"message": "<string>",
"policy_id": "<string>",
"revision_number": 123
}Documentation Index
Fetch the complete documentation index at: https://agenticadvertisingorg-changeset-release-main.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
bearerAuthoauth2
Bearer token in the Authorization header. Two token types are accepted:
- Organization API key (
sk_...) issued via the dashboard. Org-scoped, long-lived, for server-to-server use. - User JWT obtained via the OAuth 2.1 authorization code flow with PKCE. User-scoped, short-lived. Discover the authorization server at
/.well-known/oauth-authorization-serverand the protected-resource metadata at/.well-known/oauth-protected-resource/api.
Body
application/json
Lowercase alphanumeric with underscores
Example:
"my_brand_safety"
Example:
"1.0.0"
Example:
"Acme Corp Brand Safety"
Available options:
regulation, standard Available options:
must, should, may Example:
"Ads must not appear adjacent to content depicting violence..."
Show child attributes
Show child attributes
Must use http:// or https://
Show child attributes
Show child attributes
Show child attributes
Show child attributes
⌘I