---
title: "Retrieve a customer"
method: GET
path: "/api/users/{customer_identifier}/"
tags: ["users"]
---

# Retrieve a customer

`GET /api/users/{customer_identifier}/`

Retrieve a customer by `customer_identifier`. This endpoint returns the editable customer profile and current budget usage fields.

## Path parameters

- `customer_identifier` string, required

## Query parameters

- `environment` 'prod' | 'test'

## Headers

- `Authorization` string, required

## Response `200`

Customer details.

- UsersRetrieveUserResponse200
  - `id` string — Customer identifier used by the detail serializer.
  - `name` string, nullable — Customer display name.
  - `email` string, nullable — Customer email address.
  - `customer_identifier` string — Your unique identifier for the customer.
  - `environment` 'prod' | 'test' — Customer environment.
  - `total_budget` number, double, nullable — Lifetime spending budget in USD.
  - `period_budget` number, double, nullable — Current period budget in USD.
  - `organization_name` string, nullable — Owning organization name.
  - `total_period_usage` number, double — Usage in the current budget period in USD.
  - `period_start` string, date-time — Start of the current budget period.
  - `period_end` string, date-time, nullable — End of the current budget period.
  - `budget_duration` 'daily' | 'weekly' | 'monthly' — Budget renewal period.
  - `updated_at` string, date-time — Last update timestamp.

## Other responses

- `401` — Unauthorized - Missing/invalid authentication
- `404` — Not Found
- `429` — Rate Limited
- `500` — Internal Server Error

## Changes

> 6 revisions in range; 3 could not be searched.

- **2026-07-31** `c26d550029f8` — 3 breaking, 1 warning, 11 info
  - the response property `customer_identifier` became nullable for the status `200`
  - added `#/components/schemas/EnvironmentA4fEnum, #/components/schemas/BlankEnum` to the `environment` response property `oneOf` list for the response status `200`
  - the `environment` response's property type/format changed from `string`/`` to ``/`` for status `200`
  - deleted the `query` request parameter `environment`
  - …11 more

[Change history](https://skmtc.dev/keywordsai/apis/api-reference/changes/api/users/:customer_identifier/get.md)

---

[API](https://skmtc.dev/keywordsai/apis/api-reference.md) · [All operations](https://skmtc.dev/keywordsai/apis/api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/keywordsai/api-reference/revisions/c61efaf24756/schema)
