Confluent | the Data Streaming Platform Statements (sql/v1) API

[![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](#section/Versioning/API-Lifecycle-Policy) `Statement` represents a core resource used to model SQL statements for execution. A statement generalizes DDL, DML, DQL, etc., but doesn’t attempt to handle session management or any higher-level functionality. The API allows you to list, create, read, and delete your statements. ## The Statements Model

Operations 6

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /sql/v1/organizations/{organization_id}/environments/{environment_id}/statements List Flink SQL statements · List of Statements #
Ask an LLM
“Which Flink SQL statements are running in my environment?”
“Can I list only the statements on a particular compute pool?”
Tell an agent
List Flink SQL statements in environment {environment_id} of organization {organization_id}.
List statements in org {organization_id}, environment {environment_id} on compute pool {pool}.
POST /sql/v1/organizations/{organization_id}/environments/{environment_id}/statements Submit a Flink SQL statement · Create a Statement #
Ask an LLM
“How do I run a Flink SQL query through the API?”
“Can I submit a SQL statement to a specific compute pool?”
Tell an agent
Submit Flink SQL statement {name} in org {organization_id}, environment {environment_id}.
Run this SQL {spec} as a new statement in environment {environment_id} of org {organization_id}.
GET /sql/v1/organizations/{organization_id}/environments/{environment_id}/statements/{statement_name} Get a Flink SQL statement · Read a Statement #
Ask an LLM
“What is the current phase of a Flink SQL statement I submitted?”
“Can I see the SQL text and status of one statement by name?”
Tell an agent
Show statement {statement_name} in org {organization_id}, environment {environment_id}.
Check the status of Flink statement {statement_name} in environment {environment_id}, org {organization_id}.
DELETE /sql/v1/organizations/{organization_id}/environments/{environment_id}/statements/{statement_name} Delete a Flink SQL statement · Delete a Statement #
Ask an LLM
“How do I delete a Flink SQL statement I no longer need?”
“Does deleting a statement stop it from running?”
Tell an agent destructive · confirm first
Delete statement {statement_name} in org {organization_id}, environment {environment_id}.
Remove Flink SQL statement {statement_name} from environment {environment_id} of org {organization_id}.
PUT /sql/v1/organizations/{organization_id}/environments/{environment_id}/statements/{statement_name} Replace a Flink SQL statement's spec · Update a Statement #
Ask an LLM
“Can I stop a running statement or move it to another compute pool with a full update?”
“Why does updating a statement fail with a conflict if it changed since I read it?”
Tell an agent
Update statement {statement_name} in org {organization_id}, environment {environment_id} with spec {spec}.
Replace the full definition of statement {statement_name} in environment {environment_id}, org {organization_id}.
PATCH /sql/v1/organizations/{organization_id}/environments/{environment_id}/statements/{statement_name} Patch a Flink SQL statement · Patch a Statement #
Ask an LLM
“Can I change just part of a statement without sending its whole definition?”
“Is partial patching of Flink statements available (early access)?”
Tell an agent
Patch statement {statement_name} in org {organization_id}, environment {environment_id}.
Apply a partial patch to Flink statement {statement_name} in environment {environment_id} of org {organization_id}.

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/confluent-the-data-streaming-platform:confluent-the-data-streaming-platform-statements-sql-v1-api"
All apis
curl "https://apis.io/api/v1/apis?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.

OpenAPI Specification

confluent-the-data-streaming-platform-statements-sql-v1-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Confluent Cloud Statements (sql/v1) API
  version: ''
  x-api-id: 46234552-5833-42eb-ba0f-883ad3f70d2b
  x-audience: external-public
  x-logo:
    url: https://assets.confluent.io/m/1661ef5e4ff82d3d/
  description: '# Introduction


    Note


    This documents the collection of Confluent Cloud APIs.'
servers:
- url: https://api.confluent.cloud
  description: Confluent Cloud API
tags:


# --- truncated at 32 KB (73 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/confluent-the-data-streaming-platform/refs/heads/main/openapi/confluent-the-data-streaming-platform-statements-sql-v1-api-openapi.yml