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

# List workflow versions

> Lists the workflow's published versions, newest first.



## OpenAPI

````yaml /api-reference/openapi.json get /v1/workflows/{id}/versions
openapi: 3.1.0
info:
  title: Sidenet API
  version: 1.0.0
  description: >-
    Sidenet HTTP endpoints exposed by the Sidenet Studio. All routes require an
    api key that can be generated through the studio in studio.sidenet.ai.
servers:
  - url: https://api.sidenet.ai
security:
  - bearerAuth: []
paths:
  /v1/workflows/{id}/versions:
    get:
      tags:
        - Workflows
      summary: List workflow versions
      description: Lists the workflow's published versions, newest first.
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
            example: 4c2f9e18-7a63-4d05-b1e8-93a7c0f2d641
      responses:
        '200':
          description: >-
            The published versions, newest first. Identity only — read one with
            `GET /v1/workflows/{id}?version=<number>` for its definition.
          content:
            application/json:
              schema:
                type: object
                properties:
                  versions:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                          format: uuid
                        version_number:
                          type: integer
                          description: >-
                            Published versions are 1 and above; the draft (0) is
                            never listed here.
                        created_at:
                          type: string
                          format: date-time
              example:
                versions:
                  - id: b3f7a2c8-5d19-4e6b-8f02-1a4c9e7d3b55
                    version_number: 3
                    created_at: '2026-08-04T10:22:05.117Z'
                  - id: 9d0e6c17-4a82-4b35-91cf-6e2d8b0a3f74
                    version_number: 2
                    created_at: '2026-07-28T14:51:39.006Z'
        '404':
          description: Not found
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        Organization API key, generated in studio.sidenet.ai. Backend only —
        never in a browser.

````