Skip to main content
POST
/
agents
/
allow_type
Allow Agent Type
curl --request POST \
  --url https://api.svantic.com/agents/allow_type \
  --header 'Content-Type: application/json' \
  --data '
{
  "tenant_id": "acme-corp",
  "agent_type": "document-processor"
}
'
{
  "ok": true,
  "agent_type": "document-processor",
  "was_new": true
}

Documentation Index

Fetch the complete documentation index at: https://docs.svantic.com/llms.txt

Use this file to discover all available pages before exploring further.

Body

application/json
tenant_id
string
required

The tenant whose allow-list to modify.

Example:

"acme-corp"

agent_type
string
required

The agent type identifier to allow or disallow.

Example:

"document-processor"

Response

Agent type added to allow-list (or already present).

ok
boolean
Example:

true

agent_type
string

The agent type that was allowed.

Example:

"document-processor"

was_new
boolean

true if the type was newly added to the allow-list. false if it was already present (idempotent).

Example:

true