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[]
parameters
object
question
string
saved_ask_id
string
timezone
string

Response

Success response

answer
string
error
string

agent ran but its answer could not be read back; ThreadID and MessageID still identify the committed turn so the caller can recover it.

message
string
message_id
string
status
string
thread
object
thread_id
string