> ## Documentation Index
> Fetch the complete documentation index at: https://docs.restate.dev/llms.txt
> Use this file to discover all available pages before exploring further.

<AgentInstructions>

## Submitting Feedback

If you encounter incorrect, outdated, or confusing documentation on this page, submit feedback:

POST https://docs.restate.dev/feedback

```json
{
  "path": "/admin-api/subscription/list-subscriptions",
  "feedback": "Description of the issue"
}
```

Only submit feedback when you have something specific and actionable to report.

</AgentInstructions>

# List subscriptions

> Returns a list of all registered subscriptions, optionally filtered by source or sink.



## OpenAPI

````yaml /schemas/openapi-admin.json get /subscriptions
openapi: 3.1.0
info:
  title: Admin API
  description: >-
    This API exposes the admin operations of a Restate cluster, such as
    registering new service deployments, interacting with running invocations,
    register Kafka subscriptions, retrieve service metadata. For an overview,
    check out the [Operate documentation](https://docs.restate.dev/operate/). If
    you're looking for how to call your services, check out the [Ingress HTTP
    API](https://docs.restate.dev/invoke/http) instead.
  contact:
    name: restate.dev
  license:
    name: MIT
    url: https://opensource.org/license/mit
  version: 1.6.2
servers: []
security: []
tags:
  - name: deployment
    description: Service Deployment management
  - name: invocation
    description: Invocation management
    externalDocs:
      url: https://docs.restate.dev/operate/invocation
      description: Invocations documentation
  - name: subscription
    description: Subscription management
    externalDocs:
      url: https://docs.restate.dev/operate/invocation#managing-kafka-subscriptions
      description: Kafka subscriptions documentation
  - name: service
    description: Service management
  - name: service_handler
    description: Service handlers metadata
  - name: cluster_health
    description: Cluster health
  - name: health
    description: Admin API health
  - name: version
    description: API Version
  - name: introspection
    description: System introspection
externalDocs:
  url: https://docs.restate.dev/operate/
  description: Restate operations documentation
paths:
  /subscriptions:
    get:
      tags:
        - subscription
      summary: List subscriptions
      description: >-
        Returns a list of all registered subscriptions, optionally filtered by
        source or sink.
      operationId: list_subscriptions
      parameters:
        - name: sink
          in: query
          description: Filter by the exact specified sink.
          required: false
          schema:
            type:
              - string
              - 'null'
        - name: source
          in: query
          description: Filter by the exact specified source.
          required: false
          schema:
            type:
              - string
              - 'null'
      responses:
        '200':
          description: List of subscriptions matching the filter criteria
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListSubscriptionsResponse'
components:
  schemas:
    ListSubscriptionsResponse:
      type: object
      description: List of all subscriptions.
      required:
        - subscriptions
      properties:
        subscriptions:
          type: array
          items:
            $ref: '#/components/schemas/SubscriptionResponse'
    SubscriptionResponse:
      type: object
      description: Subscription details.
      required:
        - id
        - source
        - sink
        - options
      properties:
        id:
          $ref: '#/components/schemas/SubscriptionId'
        options:
          type: object
          additionalProperties:
            type: string
          propertyNames:
            type: string
        sink:
          type: string
        source:
          type: string
    SubscriptionId:
      type: string

````