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

# Get overlay

> Retrieve details for a specific overlay.

Returns the full details for an overlay, including all image URLs and change data.

## Image URLs

| Field           | Description                                |
| --------------- | ------------------------------------------ |
| `uri`           | Combined overlay with changes highlighted  |
| `addition_uri`  | Only additions (green)                     |
| `deletion_uri`  | Only deletions (red)                       |
| `aligned_a_uri` | Source block aligned to target coordinates |
| `aligned_b_uri` | Target block in its native coordinates     |

## Running Vision Analysis

The `changes` and `clashes` arrays are populated after running Vision API analysis:

* [Change Detection](/vision-api/change-detection) - Categorizes and describes changes
* [Clash Detection](/vision-api/clash-detection) - Identifies coordination conflicts


## OpenAPI

````yaml GET /overlays/{overlay_id}
openapi: 3.1.0
info:
  title: Bedrock API
  version: 1.0.0
  description: >-
    REST API for construction document management and computer vision
    intelligence.
  contact:
    name: Bedrock Support
    url: https://bedrock.cv
    email: support@bedrock.cv
servers:
  - url: https://api.bedrock.cv
security:
  - BearerAuth: []
  - ApiKeyAuth: []
paths:
  /overlays/{overlay_id}:
    get:
      tags:
        - CMS
      summary: Get overlay
      description: Retrieve overlay details.
      operationId: getOverlay
      parameters:
        - $ref: '#/components/parameters/ApiVersionHeader'
        - name: overlay_id
          in: path
          required: true
          schema:
            type: string
          description: Overlay ID
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/OverlaySummary'
              example:
                data:
                  id: ovl_01JABCD123
                  block_a_id: blk_01JABCD100
                  block_b_id: blk_01JABCD200
                  job_id: job_01JABCD123
                  uri: gs://bedrock-files/overlays/ovl_01JABCD123.png
                  addition_uri: gs://bedrock-files/overlays/ovl_01JABCD123_add.png
                  deletion_uri: gs://bedrock-files/overlays/ovl_01JABCD123_del.png
                  aligned_a_uri: gs://bedrock-files/overlays/ovl_01JABCD123_a.png
                  aligned_b_uri: gs://bedrock-files/overlays/ovl_01JABCD123_b.png
                  score: 0.87
                  summary:
                    added_area: 1240
                    removed_area: 560
                    changed_percent: 4.2
                  changes:
                    - type: addition
                      description: New partition wall added at grid line C-4
                  clashes: []
                  created_at: '2024-06-17T09:00:00Z'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '429':
          $ref: '#/components/responses/RateLimited'
components:
  parameters:
    ApiVersionHeader:
      name: X-API-Version
      in: header
      required: false
      schema:
        type: string
        default: '2026-01-01'
      description: API version
  schemas:
    OverlaySummary:
      type: object
      properties:
        id:
          type: string
        block_a_id:
          type: string
        block_b_id:
          type: string
        job_id:
          type: string
          nullable: true
        uri:
          type: string
          nullable: true
        addition_uri:
          type: string
          nullable: true
        deletion_uri:
          type: string
          nullable: true
        aligned_a_uri:
          type: string
          nullable: true
        aligned_b_uri:
          type: string
          nullable: true
        score:
          type: number
          nullable: true
        summary:
          type: object
          additionalProperties:
            type: object
          nullable: true
        changes:
          type: array
          items:
            type: object
            properties:
              type:
                type: string
              description:
                type: string
        clashes:
          type: array
          items:
            type: object
            properties:
              type:
                type: string
              description:
                type: string
        created_at:
          type: string
          format: date-time
      required:
        - id
        - block_a_id
        - block_b_id
        - job_id
        - uri
        - addition_uri
        - deletion_uri
        - aligned_a_uri
        - aligned_b_uri
        - score
        - summary
        - changes
        - clashes
        - created_at
      example:
        id: ovl_01JABCD123
        block_a_id: blk_01JABCD100
        block_b_id: blk_01JABCD200
        job_id: job_01JABCD123
        uri: gs://bedrock-files/overlays/ovl_01JABCD123.png
        addition_uri: gs://bedrock-files/overlays/ovl_01JABCD123_add.png
        deletion_uri: gs://bedrock-files/overlays/ovl_01JABCD123_del.png
        aligned_a_uri: gs://bedrock-files/overlays/ovl_01JABCD123_a.png
        aligned_b_uri: gs://bedrock-files/overlays/ovl_01JABCD123_b.png
        score: 0.87
        summary:
          added_area: 1240
          removed_area: 560
          changed_percent: 4.2
        changes:
          - type: addition
            description: New partition wall added at grid line C-4
        clashes: []
        created_at: '2024-06-17T09:00:00Z'
    ApiError:
      type: object
      properties:
        type:
          type: string
        title:
          type: string
        status:
          type: integer
        detail:
          type: string
        code:
          type: string
        request_id:
          type: string
        instance:
          type: string
        errors:
          type: object
          additionalProperties:
            type: array
            items:
              type: string
      required:
        - type
        - title
        - status
        - detail
      example:
        type: https://docs.bedrock.cv/errors/bad-request
        title: Bad Request
        status: 400
        detail: One or more request fields are invalid.
        instance: /projects
  responses:
    Unauthorized:
      description: Unauthorized
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
          example:
            type: https://docs.bedrock.cv/errors/authentication
            title: Unauthorized
            status: 401
            detail: Invalid or missing API key.
            code: UNAUTHORIZED
            request_id: req_01JABCD123
    RateLimited:
      description: Rate limited
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
          example:
            type: https://docs.bedrock.cv/errors/rate-limit
            title: Rate limited
            status: 429
            detail: Rate limit exceeded. Try again in 60 seconds.
            code: RATE_LIMITED
            request_id: req_01JABCD123
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: 'API key prefixed with `sk_`. Example: `Authorization: Bearer sk_xxx`'
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key

````