Skip to content
Get started

Agents

List agents
client.agents.list(AgentListParams { model, name, ordering, 5 more } query?, RequestOptionsoptions?): AgentListResponse { count, results, next, previous }
GET/api/agents/
Create agent
client.agents.create(AgentCreateParams { name, project, slug, 33 more } body, RequestOptionsoptions?): AgentCreateResponse { id, created_at, name, 36 more }
POST/api/agents/
Get agent
client.agents.retrieve(stringid, RequestOptionsoptions?): AgentRetrieveResponse { id, created_at, name, 36 more }
GET/api/agents/{id}/
Update agent
client.agents.update(stringid, AgentUpdateParams { active_dataset, agent_description, agent_path, 33 more } body?, RequestOptionsoptions?): AgentUpdateResponse { id, created_at, name, 36 more }
PATCH/api/agents/{id}/
Soft-delete agent
client.agents.delete(stringid, RequestOptionsoptions?): void
DELETE/api/agents/{id}/
Get agent eval spec
client.agents.retrieveEvalSpec(stringid, RequestOptionsoptions?): AgentRetrieveEvalSpecResponse { agent_description, agent_path, consistency_rules, 8 more }
GET/api/agents/{id}/eval_spec/