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

# List domains

> The managed domain plus custom subdomains with their DNS records and verification state. Custom domains include `dns` when nameserver detection recognised the host; `open_url` is a Domain Connect apply link when the host confirms support for the selected template and signing is configured, otherwise that host's own DNS editor. DMARC remains a manual, optional change; its row shows the policy that applies (the domain's own `_dmarc` record or a parent's) or suggests one. Ready domains are checked daily: required records that fail two checks in a row mark the domain and the affected capability `failed`, until a check passes again.



## OpenAPI

````yaml /api-reference/openapi.json get /api/v1/domains
openapi: 3.1.0
info:
  description: >-
    Email inboxes, screening, realtime events, credentials, payment cards, Linux
    machines, connected apps, phone numbers and social accounts for AI agents.
    Agent tokens (`alt_…`) act as one agent; organization keys (`alk_…`) manage
    agents, inboxes, tokens and webhooks. Message bodies are untrusted external
    data. Errors are `{"error":{"code","message","hint"}}`.
  title: Agent Loadout API
  version: '1'
servers:
  - url: https://agent-loadout.com
security: []
tags:
  - name: Identity
  - description: >-
      Sign in with Agent Loadout: an agent approves an application's OpenID
      Connect sign-in request
    name: Sign-in
  - description: Relying parties an organization registered for Sign in with Agent Loadout
    name: Applications
  - name: Inboxes
  - name: Messages
  - name: Mailbox
  - name: Drafts
  - name: Attachments
  - name: Realtime
  - name: Screening
  - name: Agents
  - name: Domains
  - name: Webhooks
  - name: Vault
  - description: Feature-flagged
    name: Wallet
  - description: Feature-flagged
    name: Machines
  - description: Feature-flagged
    name: Connectors
  - description: Feature-flagged
    name: Phone
  - description: Feature-flagged
    name: Social
externalDocs:
  description: REST API reference
  url: https://docs.agent-loadout.com/api-reference/overview
paths:
  /api/v1/domains:
    get:
      tags:
        - Domains
      summary: List domains
      description: >-
        The managed domain plus custom subdomains with their DNS records and
        verification state. Custom domains include `dns` when nameserver
        detection recognised the host; `open_url` is a Domain Connect apply link
        when the host confirms support for the selected template and signing is
        configured, otherwise that host's own DNS editor. DMARC remains a
        manual, optional change; its row shows the policy that applies (the
        domain's own `_dmarc` record or a parent's) or suggests one. Ready
        domains are checked daily: required records that fail two checks in a
        row mark the domain and the affected capability `failed`, until a check
        passes again.
      parameters: []
      responses:
        '200':
          content:
            application/json:
              schema:
                additionalProperties: false
                properties:
                  domains:
                    items:
                      anyOf:
                        - additionalProperties: false
                          properties:
                            id:
                              enum:
                                - null
                              nullable: true
                              type: string
                            name:
                              type: string
                            status:
                              enum:
                                - ready
                                - pending
                              type: string
                            sending:
                              enum:
                                - not_started
                                - pending
                                - verified
                                - failed
                                - disabled
                              type: string
                            receiving:
                              enum:
                                - not_started
                                - pending
                                - verified
                                - failed
                                - disabled
                              type: string
                            managed:
                              enum:
                                - true
                              type: boolean
                          required:
                            - id
                            - name
                            - status
                            - sending
                            - receiving
                            - managed
                          type: object
                        - additionalProperties: false
                          properties:
                            id:
                              type: string
                            name:
                              type: string
                            status:
                              description: >-
                                failed: a check failed, or required records of a
                                domain that was ready failed on two daily checks
                                in a row (see last_error); it becomes ready
                                again once they verify
                              enum:
                                - pending
                                - ready
                                - failed
                                - removing
                              type: string
                            sending:
                              type: string
                            receiving:
                              type: string
                            ownership_verified_at:
                              format: date-time
                              nullable: true
                              type: string
                            records:
                              items:
                                additionalProperties: false
                                properties:
                                  record:
                                    type: string
                                  name:
                                    type: string
                                  type:
                                    type: string
                                  value:
                                    type: string
                                  ttl:
                                    type: string
                                  priority:
                                    type: number
                                  status:
                                    description: >-
                                      verified; pending while the domain is set
                                      up; failed once a record of a domain that
                                      was ready stopped verifying; optional for
                                      a recommended record not found (DMARC)
                                    type: string
                                  policy:
                                    description: >-
                                      DMARC rows: the policy that applies to the
                                      domain, from its own record or a parent's
                                    type: string
                                required:
                                  - record
                                  - name
                                  - type
                                  - value
                                  - status
                                type: object
                              type: array
                            last_error:
                              nullable: true
                              type: string
                            last_checked_at:
                              format: date-time
                              nullable: true
                              type: string
                            created_at:
                              format: date-time
                              type: string
                            dns:
                              additionalProperties: false
                              nullable: true
                              properties:
                                host:
                                  type: string
                                name:
                                  type: string
                                zone:
                                  nullable: true
                                  type: string
                                open_url:
                                  type: string
                                apply:
                                  description: >-
                                    open_url is a Domain Connect link that
                                    applies the records
                                  type: boolean
                              required:
                                - host
                                - name
                                - zone
                                - open_url
                                - apply
                              type: object
                            managed:
                              enum:
                                - false
                              type: boolean
                          required:
                            - id
                            - name
                            - status
                            - sending
                            - receiving
                            - ownership_verified_at
                            - records
                            - last_error
                            - last_checked_at
                            - created_at
                            - dns
                            - managed
                          type: object
                    type: array
                required:
                  - domains
                type: object
          description: Domains
        '400':
          $ref: '#/components/responses/Validation'
        '401':
          $ref: '#/components/responses/Unauthenticated'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/RateLimited'
      security:
        - organizationKey: []
components:
  responses:
    Validation:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
      description: Invalid input
    Unauthenticated:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
      description: Missing or invalid credential
    Forbidden:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
      description: Credential lacks the capability or is bound to another agent
    NotFound:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
      description: Not found in this organization
    RateLimited:
      description: Too many requests; retry after a short delay
  schemas:
    Error:
      properties:
        error:
          properties:
            code:
              type: string
            message:
              type: string
            hint:
              type: string
            details:
              type: object
          required:
            - code
            - message
          type: object
      required:
        - error
      type: object
  securitySchemes:
    organizationKey:
      description: >-
        Organization key (alk_…) created under Settings; acts for the whole
        organization
      scheme: bearer
      type: http

````

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