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

# List brands

> The account's brands, newest first.



## OpenAPI

````yaml https://agentled.co/api/v1/openapi.json get /brands
openapi: 3.1.0
info:
  title: agentled API
  version: 1.0.0
  description: >-
    Programmatic access to the agentled AI Search monitor: manage brands and
    prompts, set a brand's measurement location, and read scan results — the
    same data behind the dashboard.


    All requests are authenticated with an API key you mint in the Account tab,
    sent as `Authorization: Bearer agl_live_...`. Every key is scoped to your
    account: you only ever see brands your account belongs to.


    **Base URL:** `https://agentled.co/api/v1`
  license:
    name: Apache-2.0
    url: https://www.apache.org/licenses/LICENSE-2.0
  contact:
    name: agentled
    url: https://agentled.co
servers:
  - url: https://agentled.co/api/v1
    description: Production
security:
  - bearerAuth: []
tags:
  - name: Plan
    description: The account's plan and its limits.
  - name: Brands
    description: Brands the account monitors.
  - name: Prompts
    description: The questions asked about a brand each scan.
  - name: Answers
    description: Per-scan answer history for a prompt.
  - name: Metrics
    description: A brand's AI-visibility metrics.
  - name: Scans
    description: Scan runs.
  - name: Geo
    description: Valid country/city values for a brand's location.
paths:
  /brands:
    get:
      tags:
        - Brands
      summary: List brands
      description: The account's brands, newest first.
      operationId: listBrands
      parameters:
        - name: limit
          in: query
          required: false
          description: Page size, 1–200. Invalid values fall back to the default.
          schema:
            type: integer
            minimum: 1
            maximum: 200
        - name: offset
          in: query
          required: false
          description: Rows to skip (0 or more). Use with `pagination.hasMore` to page.
          schema:
            type: integer
            minimum: 0
            default: 0
      responses:
        '200':
          description: A page of brands.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BrandList'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '500':
          $ref: '#/components/responses/ServerError'
components:
  schemas:
    BrandList:
      type: object
      required:
        - brands
        - pagination
      properties:
        brands:
          type: array
          items:
            $ref: '#/components/schemas/Brand'
        pagination:
          $ref: '#/components/schemas/Pagination'
    Brand:
      type: object
      properties:
        id:
          type: string
          format: uuid
        domain:
          type: string
        name:
          type:
            - string
            - 'null'
        description:
          type:
            - string
            - 'null'
        logoUrl:
          type:
            - string
            - 'null'
          format: uri
        status:
          type: string
          enum:
            - anonymous
            - active
          description: '`active` once the brand is claimed by an account.'
        isActive:
          type: boolean
        firstScanCompletedAt:
          type:
            - string
            - 'null'
          format: date-time
        lastScanAt:
          type:
            - string
            - 'null'
          format: date-time
        createdAt:
          type: string
          format: date-time
        claimedAt:
          type:
            - string
            - 'null'
          format: date-time
        location:
          $ref: '#/components/schemas/Location'
    Pagination:
      type: object
      description: Offset pagination. `hasMore` tells you whether another page exists.
      required:
        - limit
        - offset
        - hasMore
      properties:
        limit:
          type: integer
          description: The effective (clamped) page size used.
        offset:
          type: integer
          description: The offset used.
        hasMore:
          type: boolean
          description: True if more rows exist past this page.
    Error:
      type: object
      description: Every error has this shape. Branch on the stable `error.code`.
      required:
        - error
      properties:
        error:
          type: object
          required:
            - code
            - message
          properties:
            code:
              type: string
              description: Stable machine-readable code.
              enum:
                - unauthorized
                - not_found
                - bad_request
                - limit_reached
                - server_error
            message:
              type: string
              description: Human-readable explanation.
            upgradeUrl:
              type: string
              description: >-
                Present only when `code` is `limit_reached`: where to upgrade
                the plan.
    Location:
      type: object
      description: The market a brand's AI answers are measured from.
      required:
        - mode
        - country
        - city
        - label
      properties:
        mode:
          type: string
          enum:
            - worldwide
            - country
            - city
          description: Scope granularity.
        country:
          type:
            - string
            - 'null'
          description: ISO 3166-1 alpha-2 code, when scoped to a country or city.
        city:
          type:
            - string
            - 'null'
          description: City name, when scoped to a city.
        label:
          type:
            - string
            - 'null'
          description: Human-readable label, e.g. "Austin, United States".
  responses:
    Unauthorized:
      description: Missing or invalid API key.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    ServerError:
      description: Something went wrong. Retry.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        An API key from the Account tab, sent as `Authorization: Bearer
        agl_live_...`. Keys are secret; store them server-side.

````