Dataiku · Arazzo Workflow

Dataiku Resolve Connection and Run SQL Query

Version 1.0.0

Verify a DSS connection exists, then execute a SQL query against it and return the rows.

1 workflow 2 source APIs 1 provider
View Spec View on GitHub AnalyticsArtificial IntelligenceData PlatformData ScienceMachine-LearningArazzoWorkflows

Provider

dataiku

Workflows

run-sql-query
Confirm a connection and execute a SQL query against it.
Lists connections, gets the target connection, then runs a SQL query and returns the columns and rows.
3 steps inputs: apiKey, connectionName, query outputs: columns, rows
1
listConnections
List the DSS connections available on the instance.
2
getConnection
Fetch the target connection's details to confirm it exists and is usable.
3
runQuery
Execute the SQL query against the confirmed connection.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Dataiku Resolve Connection and Run SQL Query
  summary: Verify a DSS connection exists, then execute a SQL query against it and return the rows.
  description: >-
    Runs an ad-hoc SQL query against a Dataiku DSS connection safely. The
    workflow lists the available connections, confirms the target connection by
    fetching its details, and then executes the supplied SQL query against that
    connection, returning the result columns and rows. Every step inlines its
    request so the flow can be executed without opening the underlying OpenAPI
    description.
  version: 1.0.0
sourceDescriptions:
- name: connectionsApi
  url: ../openapi/dataiku-connections-api-openapi.yml
  type: openapi
- name: sqlQueriesApi
  url: ../openapi/dataiku-sql-queries-api-openapi.yml
  type: openapi
workflows:
- workflowId: run-sql-query
  summary: Confirm a connection and execute a SQL query against it.
  description: >-
    Lists connections, gets the target connection, then runs a SQL query and
    returns the columns and rows.
  inputs:
    type: object
    required:
    - apiKey
    - connectionName
    - query
    properties:
      apiKey:
        type: string
        description: DSS API key passed as a Bearer token in the Authorization header.
      connectionName:
        type: string
        description: Name of the DSS connection to query.
      query:
        type: string
        description: SQL query to execute.
  steps:
  - stepId: listConnections
    description: List the DSS connections available on the instance.
    operationId: listConnections
    parameters:
    - name: Authorization
      in: header
      value: Bearer $inputs.apiKey
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      connections: $response.body
  - stepId: getConnection
    description: Fetch the target connection's details to confirm it exists and is usable.
    operationId: getConnection
    parameters:
    - name: Authorization
      in: header
      value: Bearer $inputs.apiKey
    - name: connectionName
      in: path
      value: $inputs.connectionName
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      connection: $response.body
  - stepId: runQuery
    description: Execute the SQL query against the confirmed connection.
    operationId: executeSqlQuery
    parameters:
    - name: Authorization
      in: header
      value: Bearer $inputs.apiKey
    requestBody:
      contentType: application/json
      payload:
        connection: $inputs.connectionName
        query: $inputs.query
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      columns: $response.body#/columns
      rows: $response.body#/rows
  outputs:
    columns: $steps.runQuery.outputs.columns
    rows: $steps.runQuery.outputs.rows

Work with this as data

Every workflow here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/dataiku-run-sql-query-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.