Skip to main content
Customers represent the merchant’s billable account or workspace. Entities represent children of that customer, such as users, agents, projects, or environments.

Upsert a customer

customers.upsert() sends the merchant’s secret key directly to Nozle Core. Core derives the owning organization from that key; the SDK never provisions a customer through a global or master organization.

Read Entities

status accepts active, suspended, or deleted. limit must be an integer from 1 to 100.

Upsert an Entity

Entity IDs and idempotency keys are limited to 255 UTF-8 bytes. Retry an uncertain mutation with the same key and payload.

Activate or suspend

These helpers first fetch the Entity, then preserve its current name and metadata while changing status.

Bulk upsert

Each bulk request must contain 1–500 unique Entity external IDs.

Seat billing is explicit

Entity lifecycle methods do not emit billable seat events. If seats are billed through a Feature, track add/remove operations separately with stable transaction IDs through nozle.track().

Entity credits

Use Entity IDs with nozle.credits and nozle.usage for per-Entity balances, transfers, attribution, and pool policy. See Product credits.