Skip to contentSkip to page list

Docs

Get one registry agent

One agent with its endpoints, model configuration, system instructions, tools with JSON Schema parameters, owner and registry version. An id outside the organisation is a 404 agent_registry_entry_not_found.

GET/api/v1/governance/registry/agents/{agentId}
Request and response examples
request.py
import osimport requests​origin = "https://app.langwatch.ai"path = "/api/v1/governance/registry/agents/<agentId>"api_key = os.environ["LANGWATCH_API_KEY"]headers = {    "Authorization": "Bearer " + api_key,}​response = requests.get(    origin + path,    headers=headers,)print(response.json())

Success

application/json · Generated from schema

{  "data": {    "id": "string",    "source": "langwatch",    "management": "managed",    "kind": "string",    "name": "string",    "description": "string",    "status": "active",    "shadow": false,    "version": 0,    "source_version": "string",    "project_id": "string",    "environment": "string",    "owner": {      "user_id": "string",      "name": "string"    },    "endpoints": [      {        "kind": "invoke",        "url": "string",        "protocol": "string"      }    ],    "model": {      "provider": "string",      "model": "string",      "parameters": {}    },    "instructions": "string",    "capabilities": [      "string"    ],    "tools": [      {        "name": "string",        "description": "string",        "input_schema": {},        "output_schema": {},        "status": "active",        "deprecated_in_version": 0,        "deprecated_at": "string"      }    ],    "first_seen_at": "string",    "last_seen_at": "string",    "updated_at": "string",    "removed_at": "string"  }}
api-reference/governance-agent-registry/get-one-registry-agent

Authorization

Authorizationstringheaderrequired

Admin API key for organization-level operations (managing projects, API keys). Create one in Settings > API Keys or via POST /api/api-keys. Format: sk-lw-{id}_{secret}.

Path parameters

agentIdstringrequired
At least 1 character

Responses

200

Success

application/json

dataobjectrequired
idstringrequired
sourcestringrequired
One of"langwatch""databricks""copilot_studio""traffic"
managementstringrequired
One of"managed""discovered""observed"
kindstringrequired
namestringrequired
descriptionstring | nullrequired
statusstringrequired
One of"active""removed"
shadowbooleanrequired
versionintegerrequired
Maximum 9007199254740991
source_versionstring | nullrequired
project_idstring | nullrequired
environmentstring | nullrequired
ownerobject | nullrequired
endpointsobject[]required
modelobject | nullrequired
instructionsstring | nullrequired
capabilitiesstring[]required
toolsobject[]required
first_seen_atstringrequired
last_seen_atstring | nullrequired
updated_atstringrequired
removed_atstring | nullrequired
400

Bad Request

application/json

typestringrequired
codestringrequired
messagestringrequired
retryablebooleanrequired
metaobject
trace_idstring
span_idstring
traceobject
traceIdstring
spanIdstring
traceUrlstring
logsUrlstring
tipsstring[]
docs_urlstring
faultstring
One of"customer""platform""provider""presumed_platform"
reasonsany[]
401

Unauthorized

application/json

typestringrequired
codestringrequired
messagestringrequired
retryablebooleanrequired
metaobject
trace_idstring
span_idstring
traceobject
traceIdstring
spanIdstring
traceUrlstring
logsUrlstring
tipsstring[]
docs_urlstring
faultstring
One of"customer""platform""provider""presumed_platform"
reasonsany[]
403

Forbidden

application/json

typestringrequired
codestringrequired
messagestringrequired
retryablebooleanrequired
metaobject
trace_idstring
span_idstring
traceobject
traceIdstring
spanIdstring
traceUrlstring
logsUrlstring
tipsstring[]
docs_urlstring
faultstring
One of"customer""platform""provider""presumed_platform"
reasonsany[]
404

Not Found

application/json

typestringrequired
codestringrequired
messagestringrequired
retryablebooleanrequired
metaobject
trace_idstring
span_idstring
traceobject
traceIdstring
spanIdstring
traceUrlstring
logsUrlstring
tipsstring[]
docs_urlstring
faultstring
One of"customer""platform""provider""presumed_platform"
reasonsany[]
422

Unprocessable Entity

application/json

typestringrequired
codestringrequired
messagestringrequired
retryablebooleanrequired
metaobject
trace_idstring
span_idstring
traceobject
traceIdstring
spanIdstring
traceUrlstring
logsUrlstring
tipsstring[]
docs_urlstring
faultstring
One of"customer""platform""provider""presumed_platform"
reasonsany[]
500

Internal Server Error

application/json

typestringrequired
codestringrequired
messagestringrequired
retryablebooleanrequired
metaobject
trace_idstring
span_idstring
traceobject
traceIdstring
spanIdstring
traceUrlstring
logsUrlstring
tipsstring[]
docs_urlstring
faultstring
One of"customer""platform""provider""presumed_platform"
reasonsany[]

Documentation