Skip to content
Get started

Get agent eval spec

agents.retrieve_eval_spec(strid) -> AgentRetrieveEvalSpecResponse
GET/api/agents/{id}/eval_spec/

Get agent eval spec

ParametersExpand Collapse
id: str
formatuuid
ReturnsExpand Collapse
class AgentRetrieveEvalSpecResponse:
agent_description: str
agent_path: str
consistency_rules: object
fixed_elements: object
input_schema: object
optimizable_elements: object
output_fields: object
structure_weight: float
formatdouble
tool_config: object
tool_usage_weight: float
formatdouble
total_points: float
formatdouble
Get agent eval spec
from overmind_lab import OvermindLab

client = OvermindLab()
response = client.agents.retrieve_eval_spec(
    "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
)
print(response.agent_description)
{
  "agent_description": "agent_description",
  "agent_path": "agent_path",
  "consistency_rules": {},
  "fixed_elements": {},
  "input_schema": {},
  "optimizable_elements": {},
  "output_fields": {},
  "structure_weight": 0,
  "tool_config": {},
  "tool_usage_weight": 0,
  "total_points": 0
}
Returns Examples
{
  "agent_description": "agent_description",
  "agent_path": "agent_path",
  "consistency_rules": {},
  "fixed_elements": {},
  "input_schema": {},
  "optimizable_elements": {},
  "output_fields": {},
  "structure_weight": 0,
  "tool_config": {},
  "tool_usage_weight": 0,
  "total_points": 0
}