Build with the API

What you can do with the AgentWorks API and how the pieces fit together.

The AgentWorks API lets your own systems work with one workspace: start agent runs, create and follow tasks, search knowledge, send chat completions and read usage analytics. Everything the API does is done as a person in that workspace, with a key that you scope to exactly what the integration needs.

What you can build

The basics

Base URLhttps://api.agent-works.ai
AuthenticationAuthorization: Bearer aw_ak_… (details)
FormatJSON over HTTPS
PermissionsScopes per key
LimitsRate limits and errors

Every endpoint a key can reach is listed in the API reference tab, each with the scope it needs.

How access works

A key belongs to one workspace and acts as the person who created it. It can never do more than that person's role allows, and it stops working when that person is deactivated. On top of that, the key only reaches the endpoints its scopes allow.

Two things are never possible with a key, whatever its scopes:

  • Deciding approvals. When an agent or workflow asks a person to approve an action, that decision stays with a person in the app.
  • Changing guardrails. Approval settings, per-action confirmations and the personal-data policy are changed in the app, not over the API.