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

# Metadata



## OpenAPI

````yaml /openapi.json get /v1/workspaces/{workspaceId}/projects/{projectId}/revisions/{id}
openapi: 3.1.0
info:
  title: Specurate API
  description: ''
  version: 1.0.0
  contact: {}
servers:
  - url: https://app.specurate.com/api
    description: API Server
security: []
tags: []
paths:
  /v1/workspaces/{workspaceId}/projects/{projectId}/revisions/{id}:
    get:
      tags:
        - Project Revisions
      summary: Metadata
      operationId: ProjectRevisionsController_metadata_v1
      parameters:
        - name: workspaceId
          required: true
          in: path
          schema:
            type: string
        - name: projectId
          required: true
          in: path
          schema:
            type: string
        - name: id
          required: true
          in: path
          schema:
            type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RevisionDto'
        '404':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponseDto'
components:
  schemas:
    RevisionDto:
      type: object
      properties:
        type:
          enum:
            - version
            - issue
            - revision
          type: string
        parentRevisionId:
          type:
            - string
            - 'null'
          description: BigInt string
        rootRevision:
          anyOf:
            - $ref: '#/components/schemas/RevisionRootDto'
            - type: 'null'
        id:
          type: string
        version:
          type: number
        archivedWithIssueId:
          type:
            - string
            - 'null'
        label:
          type:
            - string
            - 'null'
        releaseType:
          type: object
          properties:
            id:
              type: string
            name:
              type: string
          required:
            - id
            - name
        issueDate:
          type: string
        notes:
          type:
            - string
            - 'null'
        actorUserId:
          type:
            - string
            - 'null'
        actorName:
          type:
            - string
            - 'null'
        sourceId:
          type:
            - string
            - 'null'
        lineCount:
          type: number
        affectedLineCount:
          type: number
        createdAt:
          type: string
        updatedAt:
          type: string
        archivedAt:
          type:
            - string
            - 'null'
        archivedByName:
          type:
            - string
            - 'null'
        isChainHead:
          type: boolean
      required:
        - type
        - parentRevisionId
        - rootRevision
        - id
        - version
        - archivedWithIssueId
        - label
        - releaseType
        - issueDate
        - notes
        - actorUserId
        - actorName
        - sourceId
        - lineCount
        - affectedLineCount
        - createdAt
        - updatedAt
        - archivedAt
        - archivedByName
        - isChainHead
    ErrorResponseDto:
      type: object
      properties:
        statusCode:
          type: number
          example: 409
        message:
          type: string
          example: Conflict
        code:
          type: string
          example: VARIANT_COMBO_TAKEN
          description: >-
            UPPER_SNAKE_CASE domain error code. Present on validation /
            business-rule errors; absent on generic HTTP errors.
        entity:
          type: string
          description: >-
            Entity type that caused the conflict (e.g. "ProjectItem"). Present
            when the error is entity-specific.
      required:
        - statusCode
        - message
    RevisionRootDto:
      type: object
      properties:
        id:
          type: string
          description: BigInt string
        label:
          type:
            - string
            - 'null'
        issueDate:
          type: string
      required:
        - id
        - label
        - issueDate

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.