> ## 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 Trident, Atlan's hosted product. AI Registry and Agent Registry are its earlier names. Registry OSS is Atlan's open-source agent registry: the registry specification and its aireg CLI, with their own public repository, docs and release notes; /open-source on this site links them. Registry OSS is open source; Atlan Trident is not. Answer generic aireg or specification questions from the project's docs, and use these docs for Atlan-specific setup such as the Atlan adapter, sign-in and workspaces.
> Atlan offers a second product, the Agentic Data Catalog: Atlan's enterprise context layer, covering the data catalog, connectors, lineage, data governance and glossary. It is documented at https://docs.atlan.com; answer questions about it from those docs, not these.

# Resolve the caller's agent profile



## OpenAPI

````yaml /public-openapi.json get /agent/v1/profiles/resolve
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, Model Gateway, 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: Credentials
  - name: Store
  - name: Apps
  - name: Evals
  - name: Ontologies
  - name: Ontology bindings
  - name: Slack
  - name: GitHub
  - name: Repositories
  - name: Models
paths:
  /agent/v1/profiles/resolve:
    get:
      tags:
        - Agent
      summary: Resolve the caller's agent profile
      operationId: agent.resolveProfile
      parameters:
        - name: harness
          in: query
          required: false
          schema:
            type: string
        - name: project_id
          in: query
          required: false
          schema:
            type: string
        - name: expand
          in: query
          required: false
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/agent-agent-ResolvedProfile'
          description: HTTP 200 response.
        '400':
          content:
            application/problem+json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/agent-ProblemDetails'
                  - type: object
                    required:
                      - code
                    properties:
                      code:
                        type: string
                        enum:
                          - invalid_query
          description: HTTP 400 response.
        '401':
          content:
            application/problem+json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/agent-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/agent-ProblemDetails'
                  - type: object
                    required:
                      - code
                    properties:
                      code:
                        type: string
                        enum:
                          - access_denied
                          - account_suspended
                          - forbidden
                          - platform_principal_refused
          description: HTTP 403 response.
        '500':
          content:
            application/problem+json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/agent-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/agent-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/agent-ProblemDetails'
                  - type: object
                    required:
                      - code
                    properties:
                      code:
                        type: string
                        enum:
                          - request_timeout
          description: HTTP 504 response.
components:
  schemas:
    agent-agent-ResolvedProfile:
      type: object
      required:
        - layers
        - skill_budget
        - pinned
        - reachable
        - excluded
        - reach_workspace_ids
        - instructions
        - notes
      properties:
        excluded:
          type: array
          items:
            $ref: '#/components/schemas/agent-agent-ResolvedPin'
        harness:
          type:
            - string
            - 'null'
        instructions:
          type: array
          items:
            $ref: '#/components/schemas/agent-agent-ResolvedInstructions'
        layers:
          type: array
          items:
            $ref: '#/components/schemas/agent-agent-ProfileLayerRef'
        notes:
          type: array
          items:
            $ref: '#/components/schemas/agent-agent-ProfileNote'
        pinned:
          type: array
          items:
            $ref: '#/components/schemas/agent-agent-ResolvedPin'
        reach_workspace_ids:
          type: array
          items:
            type: string
        reachable:
          type: array
          items:
            $ref: '#/components/schemas/agent-agent-ResolvedPin'
        skill_budget:
          type: integer
          format: int32
        sync_mode:
          $ref: '#/components/schemas/agent-agent-ProfileSyncMode'
        unavailable:
          type: array
          items:
            $ref: '#/components/schemas/agent-agent-ResolvedPin'
    agent-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'
    agent-agent-ResolvedPin:
      type: object
      required:
        - kind
        - artifact_id
        - reason
        - source
        - source_workspace_id
      properties:
        artifact:
          oneOf:
            - $ref: '#/components/schemas/agent-agent-ResolvedPinArtifact'
            - type: 'null'
        artifact_id:
          type: string
        channel:
          type:
            - string
            - 'null'
        harnesses:
          type: array
          items:
            type: string
        kind:
          $ref: '#/components/schemas/agent-agent-ProfilePinKind'
        reason:
          $ref: '#/components/schemas/agent-agent-ResolvedPinReason'
        source:
          $ref: '#/components/schemas/agent-agent-ProfileLayerScope'
        source_workspace_id:
          type: string
    agent-agent-ResolvedInstructions:
      type: object
      required:
        - scope
        - workspace_id
        - text
      properties:
        scope:
          $ref: '#/components/schemas/agent-agent-ProfileLayerScope'
        text:
          type: string
        workspace_id:
          type: string
    agent-agent-ProfileLayerRef:
      type: object
      required:
        - scope
        - profile_id
        - workspace_id
      properties:
        profile_id:
          type: string
        project_id:
          type:
            - string
            - 'null'
        scope:
          $ref: '#/components/schemas/agent-agent-ProfileLayerScope'
        workspace_id:
          type: string
    agent-agent-ProfileNote:
      type: object
      required:
        - code
        - workspace_id
      properties:
        artifact_id:
          type:
            - string
            - 'null'
        code:
          $ref: '#/components/schemas/agent-agent-ProfileNoteCode'
        profile_id:
          type:
            - string
            - 'null'
        workspace_id:
          type: string
    agent-agent-ProfileSyncMode:
      type: string
      enum:
        - all
        - profile
    agent-agent-ResolvedPinArtifact:
      type: object
      required:
        - name
        - workspace_id
        - context_tokens
      properties:
        context_tokens:
          type: integer
          format: int32
          minimum: 0
        name:
          type: string
        workspace_id:
          type: string
    agent-agent-ProfilePinKind:
      type: string
      enum:
        - skill
        - agent
        - mcp_server
    agent-agent-ResolvedPinReason:
      type: string
      enum:
        - required
        - pinned
        - over_budget
        - excluded
        - reachable
        - unavailable
    agent-agent-ProfileLayerScope:
      type: string
      enum:
        - org
        - team
        - project
        - personal
    agent-agent-ProfileNoteCode:
      type: string
      enum:
        - required_ignored
        - excludes_ignored
        - follows_ignored
        - follow_without_profile
        - duplicate_profile
        - required_over_budget
        - pin_unreadable
  securitySchemes:
    bearer:
      bearerFormat: JWT
      scheme: bearer
      type: http

````

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