ReferenceAPI reference
Agents
2 operations in the Agents group.
1 of 2 operations on this page are generated contract stubs: the routes are real, the schemas are placeholders pending the owning subsystem's contract pass.
GET /api/agents
Generated contract stub — the route is real and served, but its request/response schema has not been hand-tightened yet.
Operation ID: getApiAgents
Responses
| Status | Description | Schema |
|---|---|---|
| 200 | Successful response | GenericApiResponse |
| 401 | Authentication is required | ErrorEnvelope |
| 403 | Permission denied | ErrorEnvelope |
| 422 | Validation failed | ErrorEnvelope |
| 500 | Server error | ErrorEnvelope |
GET /api/resources/{workspace}/agents
List GitOps-defined agents for a workspace
Read-only Product20 agent catalog. Agents are sourced from GitOps agent documents; UI writes are not allowed and raw prompts/secret refs are never returned.
Operation ID: listAgentCatalog
Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
workspace | path | yes | string |
Responses
| Status | Description | Schema |
|---|---|---|
| 200 | GitOps-defined agent catalog. | AgentCatalogCollectionResponse |
| 403 | Forbidden | — |