Workflow AI

Generate data check expression

Accepts natural language intent and returns a DuckDB SQL boolean expression.

post/workspaces/{workspace_id}/ai/check-expression

Request

  • Base URL: https://app.mammoth.io/api/v2
  • URL: https://app.mammoth.io/api/v2/workspaces/{workspace_id}/ai/check-expression
  • Auth: one of:
    • HTTP bearer
    • API key in header X-API-KEY and API key in header X-API-SECRET and API key in header X-WORKSPACE-ID

Path parameters

workspace_idinteger required

Workspace refers to a collection of projects. Workspace ID is unique identifier for workspace.

Example:4

Request body

intentstring required

Natural language description of the data quality check

Response

Document created, URL follows

expressionstring required

DuckDB SQL boolean expression

explanationstring required

Human-readable explanation

Changes

No recorded changes to this operation across all 3 revisions of this API.