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

# Get one flow version

> One stored version, including the graph it held — so you can inspect an old config before rolling back to it.

The list row plus the graph that version held, so an old config can be inspected before rolling back to it.


## OpenAPI

````yaml GET /v1/flows/{flow_id}/versions/{number}
openapi: 3.1.0
info:
  title: Databar.ai API
  description: >-

    # Authentication


    Databar uses API keys to allow access to the API. You can find your API key
    in your workspace home page, but to use the REST API you’ll first need to
    schedule a call with us.

    Our API expects the API key to be included in all API requests to the server
    in the Header of your request with the key `x-apikey`.

    To find your API key, head over to your Databar workspace and click
    Integrations.


    **Example:**


    `bash

    curl https://api.databar.ai/v1/user/me -H x-apikey: {YOUR_API_KEY}`
  contact:
    email: info@databar.ai
  version: 0.1.2
servers:
  - url: https://api.databar.ai
    description: Production
security: []
paths:
  /v1/flows/{flow_id}/versions/{number}:
    get:
      tags:
        - Flows
      summary: Get one flow version
      description: >-
        One stored version, including the graph it held — so you can inspect an
        old config before rolling back to it.
      operationId: get_flow_version_v1_flows__flow_id__versions__number__get
      parameters:
        - name: flow_id
          in: path
          required: true
          schema:
            type: string
            title: Flow ID
          description: Flow identifier, e.g. `fl_ab12cd34`
        - name: number
          in: path
          required: true
          schema:
            type: integer
            title: Version number
          description: Version number from `GET /v1/flows/{flow_id}/versions`
        - name: x-apikey
          in: header
          required: true
          schema:
            type: string
            title: API Key
            description: API Key for authentication
          description: API Key for authentication
      responses:
        '200':
          description: The version and its config
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FlowVersionDetail'
        '403':
          description: Forbidden
        '404':
          description: Flow or version not found
components:
  schemas:
    FlowVersionDetail:
      properties:
        number:
          type: integer
          title: Number
          description: 1-based, monotonic within one flow.
        name:
          type: string
          title: Name
        description:
          type: string
          title: Description
        changed_fields:
          type: array
          items:
            type: string
          title: Changed Fields
          description: >-
            Which of `name`, `description`, `config`, `ui` differ from the
            previous version — so a canvas-only move can be told from a graph
            edit.
        source:
          type: string
          enum:
            - ui
            - api
            - mcp
            - admin
            - system
          title: Source
          description: Where the edit came from.
        created_at:
          type: string
          title: Created At
        created_by:
          anyOf:
            - type: string
            - type: 'null'
          title: Created By
          description: Email of the author, or null for edits made outside a user session.
        restored_from:
          anyOf:
            - type: integer
            - type: 'null'
          title: Restored From
          description: Set when this version was produced by a rollback.
        config:
          type: object
          title: Config
        ui:
          type: object
          title: Ui
      type: object
      required:
        - number
        - name
        - description
        - changed_fields
        - source
        - created_at
        - created_by
        - config
        - ui
      title: FlowVersionDetail

````