Get agent
Get a agent object by its id
Authorizations
Most Braintrust endpoints are authenticated by providing your API key as a header Authorization: Bearer [api_key] to your HTTP request. You can create an API key in the Braintrust organization settings page.
Path Parameters
Agent id
Response
Returns the agent object
An agent is a project-scoped durable object that identifies an AI agent or service emitting spans
Unique identifier for the agent
Unique identifier for the project that the agent belongs under
Name of the agent. Within a project, agent names are unique
Stable, URL-safe identifier for the agent, unique within its project.
Agent classification: 'custom' for customer-defined agents, 'loop' for built-in Loop agents.
Date of agent creation
Textual description of the agent
User-controlled metadata about the agent