Skip to content

Ask ​

Plain-language questions answered with real data.

Generated

This page is generated from api/openapi/v1.yaml (OpenAPI 3.1.0, API version 1.0.0).

Ask a question in plain language ​

POST/v1/properties/{pid}/ask

Scope: ask. Eureka's analyst (Claude) picks the right reports, runs them on your data and answers with figures that all come from tool results, plus a chart suggestion and the report spec it used. Counts toward the plan's monthly AI questions.

Parameters ​

NameInTypeRequiredDescription
pidpathstringyesProperty id.

Request body ​

FieldTypeRequiredDescription
questionstringyes
json
{
  "question": "Where do agents drop off in checkout compared with humans?"
}

Responses ​

StatusDescription
200Answer.
400Invalid body or query (invalid_request), with errors[] for validation failures.
401Missing, invalid, expired or revoked API key (unauthorized).
402The plan does not include the feature (plan_required) or a monthly quota is used up (quota_exceeded). required_plan is the cheapest plan that unlocks it.
403The key lacks the required scope (forbidden_scope).
404Unknown endpoint, or a property / object that does not exist or is not accessible with this key (not_found).
503The feature is not available on this installation (internal, status 503).

Response fields

FieldTypeRequiredDescription
questionstring
titlestring
answerstringNarrative answer; every figure comes from a query result.
chartstring | nullSuggested visualization: kpi, line, bar, stacked_bar, table, pie, funnel, sunburst, sankey…
kindstring | null
report_specobject | null
resultanyData of the chosen result.
callsarray of object
modelstring
quotaobject

Agents & humans, every visit counts!