API reference

Nine operations. Each is POST https://api.datagoat.io/v1/<path> over REST and a tool of the same name over MCP (https://api.datagoat.io/mcp). The full schemas are in openapi.json, generated from the same definitions the server validates against.

Tool REST Does Cost
dg_ask /v1/ask Answer yesno, score, choice and rank questions about cases, from a table or any shape. The one call. one decision per answered case; a fit on a new record
dg_add_dataset /v1/add-dataset Store a table once (rows, CSV, a URL, or a presigned upload); append pieces free
dg_poll /v1/poll Follow a pending ask to its answer free
dg_preflight /v1/preflight Check a table before the first ask: grain, column values, fitness free
dg_report_outcomes /v1/report-outcomes Record what really happened after you acted free
dg_drift /v1/drift Compare a refit with the fit before it: keep, refit or abandon free
dg_verify /v1/verify Check a Verdict is genuine. Needs no key. free
dg_describe /v1/describe Question types, shapes, limits, prices, retention, and the samples. Needs no key. free
dg_delete_dataset /v1/delete-dataset Delete a stored dataset now free

POST /v1/agents/register with no credential returns a free test key for the samples.

Conventions