---
title: "Get an agent"
method: GET
path: "/governance/v1/agents/{agentId}"
tags: ["Governance"]
---

# Get an agent

`GET /governance/v1/agents/{agentId}`

## Request

- Base URL: `https://api.langdock.com`
- URL: `https://api.langdock.com/governance/v1/agents/{agentId}`
- Auth: HTTP bearer

Returns one agent with the same fields as a list item.
Returns 404 when the agent is not available in this workspace.

## Path parameters

- `agentId` string, uuid, required

## Response `200`

The agent

- GovernanceAgentResponse (unresolved $ref)

## Other responses

- `400`: agentId is not a UUID
- `401`: Missing or invalid API key
- `403`: Key lacks GOVERNANCE_API, or Governance is not enabled
- `404`: Agent not found
- `429`: Rate limit exceeded (500 requests per minute per workspace and API key)
- `500`: Internal server error

## Changes

- **2026-11-03** `c62bf90b4013`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/langdock/apis/langdock-api/changes/governance/v1/agents/:agentId/get.md)

---

[API](https://skmtc.dev/langdock/apis/langdock-api.md) - [All operations](https://skmtc.dev/langdock/apis/langdock-api/llms.txt) - [OpenAPI document](https://skmtc.dev/langdock/apis/langdock-api/revisions/c62bf90b4013?raw)
