Check cache before generating
CallGET /conversations/{id}/keypoints before POST. Cached results are free — POST uses an AI credit only when no cached result exists.
Handle rate limits with backoff
When you receive a429, read the Retry-After header (seconds until reset) and wait before retrying. Avoid tight retry loops.
Use webhooks instead of polling
Instead of pollingGET /conversations for new data, register a webhook for conversation.keypoints.ready and react to events in real time. This is faster and doesn’t count against your rate limit.
Store your API key securely
Use environment variables — never hardcode keys in source code or commit them to version control. If a key is compromised, revoke it immediately in Settings → API Keys and create a new one.Paginate large result sets
The list conversations endpoint returns up to 100 results per page. Useoffset to iterate through all results.
