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

# Get agent detail

> Returns full agent identity including registered services, resolved categories, and computed reputation summary. The `id` parameter is the NFT mint pubkey that uniquely identifies the agent.



## OpenAPI

````yaml https://api.x84.ai/openapi.yaml get /agents/{id}
openapi: 3.0.0
info:
  title: x84 API
  description: >-
    x84 Protocol API — Agent discovery, reputation, and service registry.


    ## Overview


    On-chain data indexed from the x84 Solana program, cached with 30s TTL.


    ### Agents

    Search and discover AI agents registered as Metaplex Core NFTs. Filter by
    category, owner, or active status. Each agent includes a computed reputation
    summary.


    ### Services

    MCP, A2A, API, and Web service endpoints registered per agent.


    ### Categories

    Known agent categories mapped to their on-chain tag hashes (SHA-256). Use
    category names in the `GET /agents` filter.


    ### Pagination

    All list endpoints support `page`, `limit`, `sortBy`, and `sortOrder` query
    parameters.
  version: 0.1.0
  contact: {}
servers:
  - url: https://api.x84.ai
    description: Endpoint
security: []
tags:
  - name: Agents
    description: Agent discovery, search, registration, categories, and detail
  - name: Services
    description: Service endpoints per agent
  - name: Users
    description: Authenticated user endpoints
paths:
  /agents/{id}:
    get:
      tags:
        - Agents
      summary: Get agent detail
      description: >-
        Returns full agent identity including registered services, resolved
        categories, and computed reputation summary. The `id` parameter is the
        NFT mint pubkey that uniquely identifies the agent.
      operationId: AgentsController_detail
      parameters:
        - name: id
          required: true
          in: path
          description: NFT mint pubkey (agent ID)
          schema:
            example: DRpbCBMxVnDK7maPM5tGv6MvB3v1sRMC86PZ8okm21hy
            type: string
      responses:
        '200':
          description: Agent detail with services and reputation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AgentDetailDto'
              examples:
                found:
                  summary: Agent found
                  value:
                    nftMint: DRpbCBMxVnDK7maPM5tGv6MvB3v1sRMC86PZ8okm21hy
                    owner: D6j5dis544qzYmSNixwYwBXqcDqgWiFHpi6hebPEQNVu
                    metadataUri: https://arweave.net/abc123
                    categories:
                      - defi
                      - trading
                    active: true
                    reputation:
                      verifiedCount: 42
                      verifiedAvgScore: 90
                      unverifiedCount: 5
                      unverifiedAvgScore: 72
                      validationCount: 3
                    address: 7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU
                    ownerVersion: '1'
                    feedbackAuthority: FbA1EbECHnpmVGirBGhCRjtek8VDaL6DT3sQqQU4NXHV
                    metadataHash: >-
                      a1b2c3d4e5f67890a1b2c3d4e5f67890a1b2c3d4e5f67890a1b2c3d4e5f67890
                    tags:
                      - >-
                        b5d4045c3f466fa91fe2cc6abe79232a1a57cdf104f7a26e716e0a1e2789df78
                      - >-
                        88cd2108b5347d973cf39cdf9053d7dd42704876d8c9a9bd8e2d168259d3ddf7
                    delegationCount: '2'
                    services:
                      - address: 9xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU
                        serviceType: a2a
                        endpoint: https://agent.x84.ai/a2a/my-agent
                        version: 1.0.0
                        active: true
                      - address: 3xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU
                        serviceType: mcp
                        endpoint: https://agent.x84.ai/mcp/my-agent
                        version: 1.0.0
                        active: true
                not-found:
                  summary: Agent not found
                  value:
                    error: Agent not found
components:
  schemas:
    AgentDetailDto:
      type: object
      properties:
        nftMint:
          type: string
          description: NFT mint pubkey (agent ID)
          example: DRpbCBMxVnDK7maPM5tGv6MvB3v1sRMC86PZ8okm21hy
        owner:
          type: string
          description: Current owner pubkey
          example: D6j5dis544qzYmSNixwYwBXqcDqgWiFHpi6hebPEQNVu
        metadataUri:
          type: string
          description: Off-chain metadata URI
          example: https://arweave.net/abc123
        categories:
          description: Resolved category names (from tags)
          example:
            - defi
            - trading
          type: array
          items:
            type: string
        active:
          type: boolean
          description: Whether agent is active
          example: true
        reputation:
          description: Reputation summary
          allOf:
            - $ref: '#/components/schemas/ReputationSummaryDto'
        address:
          type: string
          description: PDA address
          example: 7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU
        ownerVersion:
          type: string
          description: Owner version (increments on transfer)
          example: '1'
        feedbackAuthority:
          type: string
          description: Feedback authority pubkey
          example: FbA1EbECHnpmVGirBGhCRjtek8VDaL6DT3sQqQU4NXHV
        metadataHash:
          type: string
          description: SHA-256 hash of metadata (hex)
        tags:
          description: Raw tag hashes (hex)
          type: array
          items:
            type: string
        delegationCount:
          type: string
          description: Delegation count
          example: '2'
        services:
          description: Registered services
          type: array
          items:
            $ref: '#/components/schemas/AgentServiceDto'
      required:
        - nftMint
        - owner
        - active
        - reputation
        - address
        - ownerVersion
        - feedbackAuthority
        - delegationCount
        - services
    ReputationSummaryDto:
      type: object
      properties:
        verifiedCount:
          type: number
          description: Verified feedback count
          example: 42
        verifiedAvgScore:
          type: number
          description: Average verified score (0-100)
          example: 90
        unverifiedCount:
          type: number
          description: Unverified feedback count
          example: 5
        unverifiedAvgScore:
          type: number
          description: Average unverified score (0-100)
          example: 72
        validationCount:
          type: number
          description: Total validation count
          example: 3
      required:
        - verifiedCount
        - verifiedAvgScore
        - unverifiedCount
        - unverifiedAvgScore
        - validationCount
    AgentServiceDto:
      type: object
      properties:
        address:
          type: string
          description: PDA address
          example: 9xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU
        serviceType:
          type: string
          description: Service type
          enum:
            - mcp
            - a2a
            - api
            - web
          example: a2a
        endpoint:
          type: string
          description: Service endpoint URL
          example: https://agent.x84.ai/a2a/my-agent
        version:
          type: string
          description: Service version
          example: 1.0.0
        active:
          type: boolean
          description: Whether service is active
          example: true
      required:
        - address
        - serviceType
        - active

````