Skip to main content
Returns agents in your workspace, most recently created first, with cursor pagination. Each agent includes its review status and compliance rule results. Archived agents and agent templates are not included. Agents hidden by Hide private resources in Governance are not included.

Base URL

Dedicated deploymentsReplace api.langdock.com with <your-deployment-url>/api/public in all requests.

Prerequisites

  • API key with the GOVERNANCE_API scope
  • Enable Governance is on
See the Governance API Overview for the agent fields, polling, and errors.

Parameters

updatedSince follows the agent’s updatedAt, not the time a compliance rule finished. For how to poll flagged agents, see Polling.
The response has agents and nextCursor. The compliance status filter runs before paging, so nextCursor continues through that filtered list. Pass nextCursor as cursor and keep the same filters. When nextCursor is null, that was the last page.

Rate Limits

This endpoint allows 500 requests per minute for each workspace and API key. No token limit applies. Above that limit you get 429 Too Many Requests.
Langdock intentionally blocks browser-origin requests to protect your API key and ensure your applications remain secure. For more information, please see our guide on API Key Best Practices.