API referenceGenerated
Get Agent Definition
The agent's OBSERVED configuration — system prompt / messages / tool definitions from the most recent trace's gen_ai content events, plus the request params (top_p/max_tokens) projected onto llm_call. Read-only, NOT versioned.
Authorization
HTTPBearer AuthorizationBearer <token>
In: header
Path Parameters
agent_id*Agent Id
Response Body
application/json
application/json
curl -X GET "https://example.com/agents/string/definition"{ "trace_id": "string", "observed_at": "2019-08-24T14:15:22Z", "model": "string", "system_instructions": "string", "tool_definitions": "string", "events": [ { "span_id": "string", "event_name": "string", "body": "string", "attributes": { "property1": "string", "property2": "string" }, "ts": "2019-08-24T14:15:22Z", "severity": "string" } ], "top_p": 0, "max_tokens": 0, "temperature": 0}{ "detail": [ { "loc": [ "string" ], "msg": "string", "type": "string", "input": null, "ctx": {} } ]}