Get the observed profile of an agent
What the agent’s production traces show it to be: its system prompts, tools with call and error counts, models, and turn and conversation counts over the last 14 days. Production traces are those whose deployment.environment.name (or deployment.environment) is production or prod, in any case. A new version is recorded when the prompts, tools, tool schemas or models change; counts update the latest version. Pass version to read an earlier one.
Authentication
AuthorizationBearer
API key or Clerk session token
Path parameters
agentId
The agent ID
Query parameters
version
A version number; defaults to the latest
Response
The profile, or the reason there is none yet
agentId
profile
reason
Why there is no profile; null when there is one
status
no_production_traces until a production trace of this agent has been read
Allowed values:
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error