> ## 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 block versions

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



## OpenAPI

````yaml /api-reference/openapi.json get /v1/prompt-blocks/{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/prompt-blocks/{id}/versions:
    get:
      tags:
        - Prompt blocks
      summary: List block versions
      description: Lists the block's published versions, newest first.
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
            example: d41a8f6b-9c27-4b13-a5e8-2f60c1d7b394
      responses:
        '200':
          description: The published versions, newest first
          content:
            application/json:
              schema:
                type: object
                properties:
                  versions:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                          format: uuid
                        version_number:
                          type: integer
                        change_message:
                          type: string
                          nullable: true
                          description: Whatever the publisher wrote to describe the change.
                        created_at:
                          type: string
                          format: date-time
              example:
                versions:
                  - id: 7e2b5a90-3c48-4d61-b9f7-05a8c2e14d6f
                    version_number: 2
                    change_message: Softer opening line
                    created_at: '2026-08-01T09:36:20.517Z'
        '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.

````