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

# Return an ERC-8004-compatible registration document for an agent.



## OpenAPI

````yaml /openapi/v1.yaml get /agents/{agentId}/erc8004
openapi: 3.1.0
info:
  title: Attexra API
  version: 0.1.0
  description: >-
    Identity, scoped authorization, and auditable action evidence for autonomous
    agents. The MVP is non-custodial and does not execute payments.
servers:
  - url: /v1
    description: Current API server
  - url: https://api.attexra.tech/v1
    description: Production example
security:
  - apiKeyAuth: []
  - bearerAuth: []
paths:
  /agents/{agentId}/erc8004:
    get:
      summary: Return an ERC-8004-compatible registration document for an agent.
      operationId: getAgentERC8004
      parameters:
        - $ref: '#/components/parameters/AgentId'
      responses:
        '200':
          description: ERC-8004 agent registration profile.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ERC8004Registration'
        '404':
          $ref: '#/components/responses/NotFound'
components:
  parameters:
    AgentId:
      in: path
      name: agentId
      required: true
      schema:
        type: string
        format: uuid
  schemas:
    ERC8004Registration:
      type: object
      required:
        - type
        - agentId
        - name
        - active
        - ownerType
        - ownerId
        - services
        - wallets
        - supportedTrust
      properties:
        type:
          type: string
        agentId:
          type: string
          format: uuid
        name:
          type: string
        active:
          type: boolean
        ownerType:
          type: string
        ownerId:
          type: string
          format: uuid
        services:
          type: array
          items:
            $ref: '#/components/schemas/ERC8004Service'
        wallets:
          type: array
          items:
            type: string
        supportedTrust:
          type: array
          items:
            type: string
    ERC8004Service:
      type: object
      required:
        - name
        - endpoint
      properties:
        name:
          type: string
        endpoint:
          type: string
        version:
          type: string
  responses:
    NotFound:
      description: The requested resource does not exist in this tenant.
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        Console session token (also supported via attexra_session HttpOnly
        cookie).

````

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