Skip to main content
POST
AskDataQuestionAPI mirrors the erdo_ask_data_question MCP tool as a REST endpoint.

Authorizations

Authorization
string
header
required

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

Body

application/json
async
boolean

answer — use it for long operations (e.g. building a landing page) that would otherwise exceed the HTTP/edge timeout. Poll erdo_list_agent_runs / GET /v1/runs?thread_id=<thread_id> until the run is completed, then read its output.

dataset_slugs
string[]
images
MCPImageRef is a reference to an image already uploaded via erdo_upload_image. · object[]
question
string
timezone
string

Response

Success response

answer
string
message
string
status
string
thread_id
string