Skip to main content

Agents

The Agents API exposes read-only metadata for the named AI agents in your workspace. Use it to discover agent ids, display names, enabled state, default status, source counts, learning status, and the public widget key for install automation.
The REST Agents API does not expose system prompts, runbook instructions, custom guardrails, learned profiles, attached source ids, provider details, or operator-only debug data.

Agent Object

List Agents

Query parameters:

Retrieve Agent

Use the id returned by GET /api/v1/agents.
If the agent id is not present in the API key workspace, Woes returns 404.

Public Widget Keys

Each agent can have its own public widget key. Public widget keys are safe to use in browser install snippets, but they are not REST API credentials and do not grant workspace API access. Keep woesk_ workspace API keys on your backend. Use trovw_ or trovw_agent_ widget keys in public widget snippets.

Required Scopes

Last modified on June 29, 2026