Skip to main content
WA-Templates
API reference

Discovery API

One call that describes the rest. Ask the gateway what it can do and which of those things your key is allowed to do, then plan from the answer instead of from documentation that may be older than the deployment.

GET/capabilitiesany key

Catalog + granted scopes

Machine-readable map of the gateway: every tool with its method, path, and required scope, the scopes your key actually holds, and the pricing seam (null today). Call it first to plan what you may do.

Takes no arguments.

Request

curl -X GET "https://your-server/api/agent/capabilities" \
  -H "Authorization: Bearer $WA_AGENT_KEY"

Same call, as a tool

# MCP tool name
capabilities

# CLI (planned)
$ wa capabilities