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

# Get an Example

> Returns a canned Example response. Exists only to exercise the labs epoch versioning surface (v1.0 to v1.1 field-rename migration); not backed by any real entity.



## OpenAPI

````yaml /astro/api/v-1-labs/openapi.yaml get /examples/{exampleId}
openapi: 3.0.3
info:
  contact: {}
  description: Astro Labs API - Experimental endpoints for preview features
  title: Astro Labs API
  version: v1
servers:
  - url: https://api.astronomer.io/labs/v1
security:
  - JWT: []
tags:
  - description: >-
      Canned-data placeholder used to exercise the labs epoch versioning
      surface. Real labs endpoints register their own tags.
    name: Example
paths:
  /examples/{exampleId}:
    get:
      tags:
        - Example
      summary: Get an Example
      description: >-
        Returns a canned Example response. Exists only to exercise the labs
        epoch versioning surface (v1.0 to v1.1 field-rename migration); not
        backed by any real entity.
      operationId: LabsGetExample
      parameters:
        - description: >-
            The Example's ID. Any non-empty string is accepted; echoed back in
            the response.
          in: path
          name: exampleId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Example'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Unauthorized
      security:
        - JWT: []
components:
  schemas:
    Example:
      properties:
        createdAt:
          description: The time the response was generated, in UTC.
          format: date-time
          type: string
        id:
          description: The Example's ID; echoed back from the request path.
          example: clmaxoarx000008l2c5ayb9pt
          type: string
        proofOfConcept:
          description: >-
            The Example's name. Renamed to "name" for v1.0 clients via the epoch
            migration.
          example: Hello Labs
          type: string
      required:
        - createdAt
        - id
        - proofOfConcept
      type: object
    Error:
      properties:
        fieldErrors:
          description: >-
            FieldErrors carries one entry per failed request-validation
            constraint.

            Only present on 400 responses caused by request binding/validation.
          items:
            $ref: '#/components/schemas/FieldValidationError'
          type: array
        message:
          type: string
        requestId:
          type: string
        statusCode:
          maximum: 600
          minimum: 400
          type: integer
      required:
        - message
        - requestId
        - statusCode
      type: object
    FieldValidationError:
      properties:
        code:
          type: string
        field:
          type: string
        message:
          type: string
      required:
        - code
        - field
        - message
      type: object
  securitySchemes:
    JWT:
      scheme: bearer
      type: http

````