Skip to main content
Darpan works out a query’s cost before reading anything. A query over a limit is rejected without touching the database, with an error code that says which limit.

Limits

How a query is costed

A full auditReport query, every field, costs well under 1000.

Throttle

Each API key has a bucket of 1000 points that refills at 50 points a second. A query’s cost is taken from the bucket when it runs. A query that costs more than the bucket holds is rejected with THROTTLED; wait for the bucket to refill. Every response reports the cost and the bucket:
Your administrator may set different limits for a key.