naftiko: 1.0.0-alpha2 info: label: Azure Event Hubs Data Plane REST API description: The Azure Event Hubs Data Plane REST API enables you to send events to and interact with Event Hubs directly. This API operates against the Event Hubs service endpoint at {namespace}.servicebus.windows.net and supports sending individual events, batch events, partition-specific events, and events with publisher identity. Authentication is via Azure Active Directory tokens or Shared Access Signature (SAS) tokens. tags: - Microsoft - Azure - Event - Hubs - API created: '2026-05-06' modified: '2026-05-06' capability: consumes: - type: http namespace: microsoft-azure-event-hubs baseUri: https://my-namespace.servicebus.windows.net description: Azure Event Hubs Data Plane REST API HTTP API. authentication: type: apikey in: header name: Authorization value: '{{MICROSOFT_AZURE_EVENT_HUBS_TOKEN}}' resources: - name: eventhubpath-messages path: /{eventHubPath}/messages operations: - name: sendevent method: POST description: Azure Event Hubs Send event inputParameters: - name: x-ms-retrypolicy in: header type: string description: Set to NoRetry to disable automatic retry on send operations when transient errors occur. outputRawFormat: json outputParameters: - name: result type: object value: $. - name: eventhubpath-messages-batch-true path: /{eventHubPath}/messages?batch=true operations: - name: sendbatchevents method: POST description: Azure Event Hubs Send batch events inputParameters: - name: x-ms-retrypolicy in: header type: string description: Set to NoRetry to disable automatic retry on send operations when transient errors occur. outputRawFormat: json outputParameters: - name: result type: object value: $. - name: eventhubpath-partitions-partitionid-messages path: /{eventHubPath}/partitions/{partitionId}/messages operations: - name: sendpartitionevent method: POST description: Azure Event Hubs Send partition event inputParameters: - name: x-ms-retrypolicy in: header type: string description: Set to NoRetry to disable automatic retry on send operations when transient errors occur. outputRawFormat: json outputParameters: - name: result type: object value: $. - name: eventhubpath-publishers-publisherid-messages path: /{eventHubPath}/publishers/{publisherId}/messages operations: - name: sendeventwithpublisherid method: POST description: Azure Event Hubs Send event with publisher ID inputParameters: - name: x-ms-retrypolicy in: header type: string description: Set to NoRetry to disable automatic retry on send operations when transient errors occur. outputRawFormat: json outputParameters: - name: result type: object value: $. exposes: - type: rest port: 8080 namespace: microsoft-azure-event-hubs-rest description: REST adapter for Azure Event Hubs Data Plane REST API. resources: - path: /{eventHubPath}/messages name: sendevent operations: - method: POST name: sendevent description: Azure Event Hubs Send event call: microsoft-azure-event-hubs.sendevent outputParameters: - type: object mapping: $. - path: /{eventHubPath}/messages?batch=true name: sendbatchevents operations: - method: POST name: sendbatchevents description: Azure Event Hubs Send batch events call: microsoft-azure-event-hubs.sendbatchevents outputParameters: - type: object mapping: $. - path: /{eventHubPath}/partitions/{partitionId}/messages name: sendpartitionevent operations: - method: POST name: sendpartitionevent description: Azure Event Hubs Send partition event call: microsoft-azure-event-hubs.sendpartitionevent outputParameters: - type: object mapping: $. - path: /{eventHubPath}/publishers/{publisherId}/messages name: sendeventwithpublisherid operations: - method: POST name: sendeventwithpublisherid description: Azure Event Hubs Send event with publisher ID call: microsoft-azure-event-hubs.sendeventwithpublisherid outputParameters: - type: object mapping: $. - type: mcp port: 9090 namespace: microsoft-azure-event-hubs-mcp transport: http description: MCP adapter for Azure Event Hubs Data Plane REST API for AI agent use. tools: - name: sendevent description: Azure Event Hubs Send event hints: readOnly: false destructive: false idempotent: false call: microsoft-azure-event-hubs.sendevent outputParameters: - type: object mapping: $. - name: sendbatchevents description: Azure Event Hubs Send batch events hints: readOnly: false destructive: false idempotent: false call: microsoft-azure-event-hubs.sendbatchevents outputParameters: - type: object mapping: $. - name: sendpartitionevent description: Azure Event Hubs Send partition event hints: readOnly: false destructive: false idempotent: false call: microsoft-azure-event-hubs.sendpartitionevent outputParameters: - type: object mapping: $. - name: sendeventwithpublisherid description: Azure Event Hubs Send event with publisher ID hints: readOnly: false destructive: false idempotent: false call: microsoft-azure-event-hubs.sendeventwithpublisherid outputParameters: - type: object mapping: $. binds: - namespace: env keys: MICROSOFT_AZURE_EVENT_HUBS_TOKEN: MICROSOFT_AZURE_EVENT_HUBS_TOKEN