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

> ## Agent Instructions
> To act on Atlan objects, use the Atlan MCP server at https://api.atlan.com/mcp or the SDK. To install or publish skills from a terminal, use the `aireg` CLI; `aireg --map json` prints its command map. The `atlanai` CLI is deprecated. Run a read-only identity check before any write.
> The docs MCP server at /mcp searches these docs only. It cannot read or change Atlan objects.
> SDK packages: Python `atlanai` (PyPI) and TypeScript `@atlanai/sdk` (npm). Show Python first, then TypeScript.
> These docs cover Atlan AI Registry, Atlan's hosted product. The AI registry specification and aireg CLI are maintained separately. /open-source lists publicly reachable signed installers and explains that the source repository and hosted CLI reference currently require GitHub access. Do not claim the repository or its reference docs are publicly accessible. Use these docs for Atlan-specific setup such as the adapter, sign-in and workspaces.

# Compile bounded release-consistent binding context



## OpenAPI

````yaml /public-openapi.json post /ontology_binding/v1/context-queries
openapi: 3.1.0
info:
  title: Atlan public API
  version: current
  description: >-
    Public HTTP API reference for Registry, Skills, Agents, outputs, files, MCP
    servers and tools, and OTLP telemetry ingestion.
servers:
  - url: https://api.atlan.com
    description: Atlan API base URL
security:
  - bearer: []
tags:
  - name: Core
  - name: Skill
  - name: Agent
  - name: Files
  - name: Knowledge
  - name: MCP
  - name: Observability
  - name: API proxy
  - name: Credentials
  - name: Store
  - name: Apps
  - name: Evals
  - name: Ontologies
  - name: Ontology bindings
  - name: Slack
  - name: GitHub
  - name: Objectives
  - name: Repositories
paths:
  /ontology_binding/v1/context-queries:
    post:
      tags:
        - Ontology bindings
      summary: Compile bounded release-consistent binding context
      operationId: ontologyBinding.getContext
      parameters:
        - name: Content-Encoding
          in: header
          required: false
          schema:
            type: string
            enum:
              - base64
              - gzip, base64
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ontology_binding-ContextQuery'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ontology_binding-ContextResponse'
          description: HTTP 200 response.
        '400':
          content:
            application/problem+json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/ontology_binding-ProblemDetails'
                  - type: object
                    required:
                      - code
                    properties:
                      code:
                        type: string
                        enum:
                          - invalid_base64
                          - invalid_gzip
                          - invalid_json
          description: HTTP 400 response.
        '401':
          content:
            application/problem+json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/ontology_binding-ProblemDetails'
                  - type: object
                    required:
                      - code
                    properties:
                      code:
                        type: string
                        enum:
                          - alg_mismatch
                          - alg_not_allowed
                          - audience_mismatch
                          - invalid_api_key
                          - missing_identity
                          - missing_org
                          - missing_user
                          - signature_invalid
                          - token_expired
                          - token_malformed
                          - token_missing
                          - token_not_yet_valid
                          - token_rejected
                          - token_service_account_unbound
                          - unauthorized
                          - unknown_account
                          - unknown_key
                          - untrusted_issuer
          description: HTTP 401 response.
        '403':
          content:
            application/problem+json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/ontology_binding-ProblemDetails'
                  - type: object
                    required:
                      - code
                    properties:
                      code:
                        type: string
                        enum:
                          - access_denied
                          - account_suspended
                          - forbidden
                          - platform_principal_refused
          description: HTTP 403 response.
        '413':
          content:
            application/problem+json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/ontology_binding-ProblemDetails'
                  - type: object
                    required:
                      - code
                    properties:
                      code:
                        type: string
                        enum:
                          - compressed_payload_too_large
                          - decompressed_payload_too_large
                          - payload_too_large
          description: HTTP 413 response.
        '415':
          content:
            application/problem+json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/ontology_binding-ProblemDetails'
                  - type: object
                    required:
                      - code
                    properties:
                      code:
                        type: string
                        enum:
                          - unsupported_content_encoding
                          - unsupported_content_type
          description: HTTP 415 response.
        '422':
          content:
            application/problem+json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/ontology_binding-ProblemDetails'
                  - type: object
                    required:
                      - code
                    properties:
                      code:
                        type: string
                        enum:
                          - graph_limit_exceeded
                          - logical_model_invalid
                          - source_unavailable
                          - validation_failed
          description: HTTP 422 response.
        '500':
          content:
            application/problem+json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/ontology_binding-ProblemDetails'
                  - type: object
                    required:
                      - code
                    properties:
                      code:
                        type: string
                        enum:
                          - internal_error
          description: HTTP 500 response.
        '503':
          content:
            application/problem+json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/ontology_binding-ProblemDetails'
                  - type: object
                    required:
                      - code
                    properties:
                      code:
                        type: string
                        enum:
                          - auth_unavailable
                          - service_overloaded
          description: HTTP 503 response.
        '504':
          content:
            application/problem+json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/ontology_binding-ProblemDetails'
                  - type: object
                    required:
                      - code
                    properties:
                      code:
                        type: string
                        enum:
                          - request_timeout
          description: HTTP 504 response.
components:
  schemas:
    ontology_binding-ContextQuery:
      type: object
      required:
        - binding_id
        - release_id
        - query
      properties:
        binding_id:
          type: string
        diagnostics:
          type: boolean
        logical_resource_ids:
          type: array
          items:
            type: string
        max_depth:
          type:
            - integer
            - 'null'
          minimum: 0
        max_resources:
          type:
            - integer
            - 'null'
          minimum: 0
        max_tokens:
          type:
            - integer
            - 'null'
          minimum: 0
        ontology_release_id:
          type:
            - string
            - 'null'
        query:
          type: string
        release_id:
          type: string
      additionalProperties: false
    ontology_binding-ContextResponse:
      type: object
      required:
        - binding_id
        - binding_release_id
        - binding_release
        - binding_manifest_digest
        - ontology_id
        - binding_ontology_release_id
        - binding_ontology_release
        - binding_ontology_manifest_digest
        - ontology_release_id
        - ontology_release
        - ontology_manifest_digest
        - ontology_compatibility
        - resources
        - estimated_tokens
        - truncated
        - handoff
      properties:
        binding_id:
          type: string
        binding_manifest_digest:
          type: string
        binding_ontology_manifest_digest:
          type: string
        binding_ontology_release:
          type: string
        binding_ontology_release_id:
          type: string
        binding_release:
          type: string
        binding_release_id:
          type: string
        diagnostics: {}
        estimated_tokens:
          type: integer
          minimum: 0
        handoff:
          $ref: '#/components/schemas/ontology_binding-HandoffReport'
        ontology_compatibility:
          $ref: '#/components/schemas/ontology_binding-OntologyBindingCompatibility'
        ontology_id:
          type: string
        ontology_manifest_digest:
          type: string
        ontology_release:
          type: string
        ontology_release_id:
          type: string
        resources:
          type: array
          items:
            $ref: '#/components/schemas/ontology_binding-ContextResource'
        truncated:
          type: boolean
    ontology_binding-ProblemDetails:
      type: object
      required:
        - title
        - status
        - detail
        - code
      properties:
        code:
          type: string
        detail:
          type: string
        status:
          type: integer
          format: int32
          minimum: 0
        title:
          type: string
        trace_id:
          type:
            - string
            - 'null'
    ontology_binding-HandoffReport:
      type: object
      required:
        - scope
        - source_verification
        - is_execution_verified
        - is_context_truncated
        - context_precedence
        - blockers
        - derivations
      properties:
        blockers:
          type: array
          items:
            $ref: '#/components/schemas/ontology_binding-HandoffBlocker'
        context_precedence:
          $ref: '#/components/schemas/ontology_binding-ContextPrecedence'
        derivations:
          type: array
          items:
            $ref: '#/components/schemas/ontology_binding-DerivationStatus'
        is_context_truncated:
          type: boolean
        is_execution_verified:
          type: boolean
        scope:
          type: string
        source_verification:
          type: string
    ontology_binding-OntologyBindingCompatibility:
      type: string
      enum:
        - pinned
        - referenced_resources_unchanged
    ontology_binding-ContextResource:
      type: object
      required:
        - kind
        - artifact_id
        - api_name
        - logical_definition
        - binding
        - score
      properties:
        api_name:
          type: string
        artifact_id:
          type: string
        binding: {}
        kind:
          type: string
        logical_definition: {}
        score:
          type: integer
          minimum: 0
    ontology_binding-HandoffBlocker:
      type: object
      required:
        - code
        - artifact_id
        - remediation
      properties:
        artifact_id:
          type: string
        code:
          type: string
        property_api_name:
          type:
            - string
            - 'null'
        remediation:
          type: string
    ontology_binding-ContextPrecedence:
      type: object
      required:
        - logical_meaning
        - physical_implementation
        - document_evidence
        - conflicts
      properties:
        conflicts:
          type: string
        document_evidence:
          type: string
        logical_meaning:
          type: string
        physical_implementation:
          type: string
    ontology_binding-DerivationStatus:
      type: object
      required:
        - artifact_id
        - status
        - reason
      properties:
        artifact_id:
          type: string
        property_api_name:
          type:
            - string
            - 'null'
        reason:
          type: string
        status:
          type: string
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
      bearerFormat: JWT

````

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