Skip to navigation

Refresh the observed profile of an agent

Reads the agent’s production traces now instead of waiting for the next scheduled refresh, and answers with the latest profile. A new version is recorded only when the prompts, tools, tool schemas or models changed; otherwise the latest version’s counts and window are updated.

Authentication

AuthorizationBearer
API key or Clerk session token

Path parameters

agentIdstringRequired
The agent ID

Response

The refreshed profile, or the reason there is none yet
agentIdstring
profileobject
reasonstring or null

Why there is no profile; null when there is one

statusenum

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