Skip to main content
Returns one agent with the same fields as a list item. The body is { "agent": { ... } }.

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
  • agentId is the agent UUID

Behavior

  • Agent not available? Returns 404 with the message Agent not found. That includes an unknown id, an archived agent, an agent template, and an agent hidden by Hide private resources in Governance.
  • agentId is not a UUID? Returns 400.
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.