Microsoft Fabric Updates Blog

Announcing REST APIs for Fabric Eventstream

We’re excited to announce the REST APIs for Fabric Eventstream! These new APIs are designed to automate your development workflows for Eventstream, making it easier and faster for your team to build robust streaming solutions. With the Eventstream REST API, you can now programmatically create, manage, and update Eventstream items, reducing manual work and the potential for errors. This enhances productivity, minimizes costs, and helps your team focus on building complex streaming solutions efficiently.

For a complete overview of Microsoft Fabric REST APIs, you can visit Using the Microsoft Fabric REST APIs.

Supported Eventstream APIs

An Eventstream item is composed of several key components: sources, destinations, operators, and streams. The Eventstream REST API currently supports three definition-based operations, giving you full control to manage every component of an Eventstream item.

  • Create Eventstream item with definition – Define and create a new Eventstream item with a complete topology, including sources, destinations, operators, and streams.
  • Get Eventstream item definition – Retrieve the full definition of an Eventstream item, including detailed topology information.
  • Update Eventstream item definition – Edit the topology of an existing Eventstream item.

In addition to these definition-based operations, Eventstream also supports basic CRUD (Create, Read, Update, Delete) operations, allowing for efficient management of Eventstream items within your workspace.

  • Create Eventstream: Initialize a new Eventstream item.
  • Delete Eventstream: Remove an existing Eventstream item.
  • Get Eventstream: Retrieve details of a specific Eventstream item.
  • List Eventstreams: Access a list of Eventstream items within a workspace.
  • Update Eventstream: Edit the metadata of an Eventstream item.

For more information, please refer to Fabric REST APIs for Eventstream.

Example of the Create Eventstream Definition API

Here’s a quick overview of the Create Eventstream with Definition API, along with example request and response, to help you get hands-on with the Eventstream REST API.

Request

POST https://api.fabric.microsoft.com/v1/workspaces/{workspaceId}/items

Body

// Example of payload content decoded from Base64
{
  "sources": [
    {
      "name": "AzureEventHubSource",
      "type": "AzureEventHub",
      "properties":
      {
        "dataConnectionId": "aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb",
        "consumerGroupName": "$Default",
        "inputSerialization":
        {
          "type": "Json",
          "properties":
          {
            "encoding": "UTF8"
          }
        }
      }
    }
  ],
  "destinations": [
    {
      "name": "EventhouseDestination",
      "type": "Eventhouse",
      "properties":
      {
        "dataIngestionMode": "ProcessedIngestion",
        "workspaceId": "aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb",
        "itemId": "bbbbbbbb-1111-2222-3333-cccccccccccc",
        "databaseName": "myeventhouse",
        "tableName": "mytable",
        "inputSerialization":
        {
          "type": "Json",
          "properties":
          {
            "encoding": "UTF8"
          }
        }
      },
      "inputNodes": []
    }
  ],
  "streams": [],
  "operators": [],
  "compatibilityLevel": "1.0"
}

Response

{
  "202":
  {
    "headers":
    {
      "Location": "https://api.fabric.microsoft.com/v1/operations/aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb",
      "x-ms-operation-id": "bbbbbbbb-1111-2222-3333-cccccccccccc",
      "Retry-After": 30
    }
  }
}

With Eventstream REST API, you can effortlessly build and deploy Eventstream items within your CI/CD pipeline and seamlessly integrate Eventstream into your applications. We look forward to how you’ll leverage these powerful APIs to drive real-time intelligence across your business processes.

Get started today and unlock the full potential of Fabric Eventstream!

Related blog posts

Announcing REST APIs for Fabric Eventstream

July 10, 2025 by Matthew Hicks

Effortlessly read Delta Lake tables using Apache Iceberg readers Microsoft Fabric is a unified, SaaS data and analytics platform designed for the era of AI. All workloads in Microsoft Fabric use Delta Lake as the standard, open-source table format. With Microsoft OneLake, Fabric’s unified SaaS data lake, customers can unify their data estate across multiple … Continue reading “New in OneLake: Access your Delta Lake tables as Iceberg automatically (Preview)”

July 10, 2025 by Vaibhav Shrivastava

A new feature has been added to Eventstream—the SQL Operator—which enables real-time data transformation within the platform. Whether you’re filtering, aggregating, or joining data streams, or handling complex data transformation needs like conditional logic, nested expression, string manipulation etc. SQL Operator gives you the flexibility and control to craft custom transformations using the language you … Continue reading “From Clicks to Code: SQL Operator under Fabric Eventstream (Preview)”