Get agent eval spec
client.agents.retrieveEvalSpec(stringid, RequestOptionsoptions?): AgentRetrieveEvalSpecResponse { agent_description, agent_path, consistency_rules, 8 more }
GET/api/agents/{id}/eval_spec/
Get agent eval spec
Parameters
id: string
formatuuid
Returns
Get agent eval spec
import OvermindLab from 'overmind-lab';
const client = new OvermindLab();
const response = await client.agents.retrieveEvalSpec('182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e');
console.log(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
}