# Get a customer

`GET /api/v1/customers/{id}`

Carries the SAME aggregates as the list route — a detail page that disagrees with the row the operator clicked is a bug report every time.

Needs the `customers:read` scope, or a full-access key.

## Path parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | string | required |  |

## Responses

### 200

The customer with its aggregates.

JSON Schema:

```json
{
  "type": "object",
  "properties": {
    "data": {
      "type": "object",
      "properties": {
        "active_subs_count": {
          "type": "integer",
          "description": "Subscriptions in a non-terminal state."
        },
        "total_revenue_cents": {
          "type": "string",
          "pattern": "^\\d+$",
          "description": "Lifetime revenue: the sum of PAID invoices, minor units as a decimal string.",
          "example": "1999"
        }
      },
      "required": [
        "active_subs_count",
        "total_revenue_cents"
      ]
    },
    "_agent": {
      "type": "object",
      "properties": {
        "summary": {
          "type": "string"
        },
        "status": {
          "type": "string",
          "enum": [
            "ok"
          ]
        },
        "next_actions": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "warnings": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      },
      "required": [
        "summary",
        "status",
        "next_actions",
        "warnings"
      ]
    },
    "api_version": {
      "type": "string",
      "example": "2026-07-01"
    }
  },
  "required": [
    "data",
    "_agent",
    "api_version"
  ]
}
```
