> ## 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 file

> Retrieve details for a specific file.

Returns the full details for a file, including processing status and download URL.

## Related Resources

If the file was processed into a [Drawing](/cms-api/drawings/index), the `drawing_id` field will contain the ID of the created drawing. Use [`GET /drawings/{id}`](/cms-api/drawings/get) to access the drawing and its sheets.


## OpenAPI

````yaml GET /files/{file_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:
  /files/{file_id}:
    get:
      tags:
        - CMS
      summary: Get file
      description: Retrieve file details from storage.
      operationId: getFile
      parameters:
        - $ref: '#/components/parameters/ApiVersionHeader'
        - name: file_id
          in: path
          required: true
          schema:
            type: string
          description: File ID
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/FileSummary'
              example:
                data:
                  id: projects%2Fprj_01JABCD123%2Ffiles%2Fsite-photo.jpg
                  name: site-photo.jpg
                  uri: >-
                    gs://bedrock-files/projects/prj_01JABCD123/files/site-photo.jpg
                  size: 2048576
                  content_type: image/jpeg
                  last_modified: '2024-06-18T11: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:
    FileSummary:
      type: object
      properties:
        id:
          type: string
        name:
          type: string
        uri:
          type: string
        size:
          type: number
        content_type:
          type: string
        last_modified:
          type: string
          format: date-time
      required:
        - id
        - name
        - uri
        - size
        - content_type
        - last_modified
      example:
        id: projects%2Fprj_01JABCD123%2Ffiles%2Fsite-photo.jpg
        name: site-photo.jpg
        uri: gs://bedrock-files/projects/prj_01JABCD123/files/site-photo.jpg
        size: 2048576
        content_type: image/jpeg
        last_modified: '2024-06-18T11: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

````