Generate Profiles
Start one generation: sample a few entities, or build one for a single entity.
Authorizations
API key authentication. Prefix your Mem0 API key with 'Token '. Example: 'Token your_api_key'
Headers
Makes a retry safe: the same key returns the same job.
8 - 128Body
What to generate. Optional only when entity_id is set, which means trigger.
sample, trigger user One entity, for trigger.
How many entities to sample.
1 <= x <= 10Response
Job accepted.
Poll this. Building the path yourself breaks on a route change.
Entities reserved against usage for this job.
True when an Idempotency-Key returned an existing job.
sample only.
sample only: the entity ids picked. Read each with GET /v2/entities/user/{entity_id}/profile/.