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

# Get an asset



## OpenAPI

````yaml /api/openapi.yaml get /assets/{id}
openapi: 3.1.0
info:
  title: Antigen API
  version: v1
  description: >-
    Use the Antigen API to manage targets, runs, vulnerabilities, evidence,
    reports, hooks, assets, and integrations.
servers:
  - url: https://api.antigen.sh/v1
    description: Production
security:
  - ApiKeyAuth: []
  - BearerAuth: []
  - SessionCookie: []
tags:
  - name: Authentication
  - name: API keys
  - name: Models
  - name: Agents
  - name: Targets
  - name: Runs
  - name: Vulnerabilities
  - name: Evidence
  - name: Reports
  - name: Hooks
  - name: Asset Map
  - name: Integrations
paths:
  /assets/{id}:
    get:
      tags:
        - Asset Map
      summary: Get an asset
      operationId: getAsset
      parameters:
        - $ref: '#/components/parameters/AssetId'
      responses:
        '200':
          description: Asset details and relationships.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AssetDetail'
components:
  parameters:
    AssetId:
      name: id
      in: path
      required: true
      schema:
        type: string
        format: uuid
  schemas:
    AssetDetail:
      allOf:
        - $ref: '#/components/schemas/Asset'
        - type: object
          required:
            - configuration
            - relationships
            - updated_at
          properties:
            configuration:
              type: object
              additionalProperties: true
            relationships:
              type: array
              items:
                type: object
                required:
                  - type
                  - target_id
                  - target_name
                  - target_type
                properties:
                  type:
                    type: string
                    enum:
                      - connects_to
                      - authenticates_with
                      - stores_data_in
                      - exposes
                  target_id:
                    type: string
                    format: uuid
                  target_name:
                    type: string
                  target_type:
                    type: string
            updated_at:
              $ref: '#/components/schemas/Timestamp'
    Asset:
      type: object
      required:
        - id
        - type
        - name
        - provider
        - exposed
        - tags
        - discovered_at
      properties:
        id:
          type: string
          format: uuid
        type:
          type: string
        name:
          type: string
        provider:
          type: string
        exposed:
          type: boolean
        tags:
          type: object
          additionalProperties: true
        discovered_at:
          $ref: '#/components/schemas/Timestamp'
    Timestamp:
      type: string
      format: date-time
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: API key from the Antigen dashboard.
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: access token
      description: Better Auth access token.
    SessionCookie:
      type: apiKey
      in: cookie
      name: better-auth.session_token
      description: Better Auth browser session cookie.

````