Skip to main content
POST
EvaluateLeadNextActionAPI mirrors the erdo_evaluate_lead_next_action MCP

Authorizations

Authorization
string
header
required

An Erdo API key (erdo_api_...) or scoped token (erdo_token_...).

Path Parameters

datasetSlug
string
required
leadRef
string
required

Body

application/json
agent_id
string
body
string

Response

Success response

agent
PlaybookAgent is the concierge a playbook names, as the API returns it. · object
evaluation
Evaluation is one decision about one lead, after enforcement. · object
read_back
ReadBack is what Erdo understood from a playbook's text when it was saved. · object

Only Actions[].Mode and WorkingHours are enforced; the stages and the priority ladder are a picture of the text drawn for the person who wrote it, and every evaluation still reads the whole text.

timeline
LeadTimeline is everything the evaluation reads about one lead. · object