Confluent 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 filter my SQL statements by compute pool or label?”
Tell an agent
List the SQL statements in environment {environment_id} of org {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 new Flink SQL statement through the API?”
“Can I give a statement my own name when I submit it?”
Tell an agent
Create statement {name} in environment {environment_id} of org {organization_id}.
Submit a SQL statement with spec {spec} to org {organization_id}, environment {environment_id}.
GET /sql/v1/organizations/{organization_id}/environments/{environment_id}/statements/{statement_name} Read a Flink SQL statement · Read a Statement #
Ask an LLM
“What is the current status and result of one of my SQL statements?”
“Can I fetch a single statement by its name?”
Tell an agent
Show statement {statement_name} in environment {environment_id} of org {organization_id}.
Get the status of SQL statement {statement_name} (org {organization_id}, env {environment_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 remove a SQL statement I no longer need?”
“Can I delete a statement by name from an environment?”
Tell an agent destructive · confirm first
Delete statement {statement_name} in environment {environment_id} of org {organization_id}.
Remove SQL statement {statement_name} from org {organization_id}, env {environment_id}.
PUT /sql/v1/organizations/{organization_id}/environments/{environment_id}/statements/{statement_name} Replace a Flink SQL statement · Update a Statement #
Ask an LLM
“Why does updating a statement fail with a 409 Conflict?”
“Can I replace a statement's full spec, for example to stop it?”
Tell an agent
Update statement {statement_name} in org {organization_id}, env {environment_id} with spec {spec}.
Replace the full definition of statement {statement_name} (org {organization_id}, env {environment_id}).
PATCH /sql/v1/organizations/{organization_id}/environments/{environment_id}/statements/{statement_name} Patch a Flink SQL statement · Patch a Statement #
Ask an LLM
“Is there an early-access way to change only part of a SQL statement?”
“Can I patch a statement instead of sending the whole resource?”
Tell an agent
Patch statement {statement_name} in org {organization_id}, environment {environment_id}.
Apply a partial change to SQL statement {statement_name} (org {organization_id}, env {environment_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:confluent-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-statements-sql-v1-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Confluent 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: 'Operations tagged Statements (sql/v1) across 2 of this provider''s published API definitions: confluent-cloud-openapi.yaml, confluent-cloud-full.yaml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.confluent.cloud
  description: Confluent Cloud API
tags:


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