- a User
- a Team
- a Project
- a Client

Creating an identity using the Studio
To create an Identity, head to the Identity Analytics section and choose Create an Identity. The following panel opens:
Budget Control
When creating an identity, set a Budget in order to:- Prevent individual users from exceeding the allocated AI budget
- Set department-level spending limits for the enterprise team
- Control costs across multiple AI models and services
429 Too Many Requests response until the period resets.
The available periods are Daily, Weekly, Monthly, and Yearly.

Creating an identity using the API
To create an identity, you have two options:- Use the API directly: You can create an Identity with the cURL code snippet.
- SDK Implementation: (Recommended) The SDK provides a more streamlined approach to creating Identities.
Developers, please see the API Reference for further explanation.
Using Identity metrics
To track Identity metrics effectively, you have two primary options:- API Direct Usage: When using the API directly, you can attach the
identity IDthrough the request headers. - SDK Implementation: We strongly recommend using our SDKs, as they provide a more streamlined approach to tracking identity metrics.
To learn more, see the API Reference.
Retrieving an identity via the API
Once an identity is in use, you can fetch its full record at any time using its_id (ULID) or external_id.
See the API Reference for the full parameter and response specification.
Listing identities with metrics
Passinclude_metrics=true to the list endpoint to include 30-day usage metrics for each identity in the response. This is useful for auditing spend, spotting high error rates, or building identity-level dashboards.
metrics object with usage data for the last 30 days:
| Field | Description |
|---|---|
total_cost | Total spend in USD over the last 30 days |
total_tokens | Total tokens consumed over the last 30 days |
total_requests | Total number of requests made over the last 30 days |
error_rate | Ratio of failed requests over the last 30 days (e.g. 0.33 = 33% of requests returned an error) |
See the API Reference for the full list of query parameters including pagination, search, and tag filtering.