Skip to content

Usage and limits

Your monthly spending cap

ObjectsGrid is billed by usage: the API requests your Organization Account makes. Its monthlyQuota is your spending cap, the number of requests a month you are willing to be billed for. You choose it; ObjectsGrid doesn't lower it.

  • 0 means the default, 100,000 requests a month. The highest cap is 1,000,000,000.
  • An Organization Account created without signing in is unverified until an administrator is bound: it may make at most 50,000 requests a month, the free tier, whatever its monthlyQuota, and is never billed. X-ObjectsGrid-Quota-Limit shows the limit that applies.
  • Only an administrator changes it, with a PUT of the Organization Account. A PUT that leaves it out keeps it.
  • In a batch create, each object created counts as one request.

What counts

You are billed for the requests that got you what you asked for, and the spending cap counts the same ones:

Request Counts
Answered with 2xx, or with a 4xx other than 401, 403 and 429 (a validation error, a 404, a conflict, a failed precondition) 1
A batch create 1 per object created; a batch refused for an invalid item (400) counts 1
A GraphQL request 1, however many objects and fields it resolves
A read answered 304 Not Modified: you sent the object's current ETag in If-None-Match free
A failed sign-in or authorization (401, 403) free
A request refused by the rate limit or the spending cap (429) free
A server error (500 and above) free
Token requests: sign-in, refresh, anonymous tokens free

So nobody can run up your bill with bad credentials, and a request the cap refuses doesn't use it up. You are never billed for more than your spending cap, even when a few requests in flight pass it as it is reached. Each access log entry records what its request counted, in billableRequests.

Every response tells you where you stand this month, this request included, GraphQL responses too:

X-ObjectsGrid-Quota-Limit: 100000
X-ObjectsGrid-Quota-Used: 81234

When the cap is reached, requests are refused with 429 Too Many Requests until the next month, except token requests and reading or replacing the Organization Account, so an administrator can always raise the cap:

curl -X PUT https://apis.objectsgrid.com/organizationaccounts/<organization account id> \
  -H 'Content-Type: application/json' \
  -H 'X-ObjectsGrid-AccessPoint: EU' \
  -H "Authorization: Bearer $ADMIN_TOKEN" \
  -d '{"name": "Northpeak Outdoor", "accessPoint": "EU", "monthlyQuota": 500000}'

See your usage

Administrators of your Organization Account can see this month's billable requests against the cap, and what was billed for each past month (requests held to the cap, less any credits):

curl https://apis.objectsgrid.com/organizationaccounts/<organization account id>/usage \
  -H 'X-ObjectsGrid-AccessPoint: EU' \
  -H "Authorization: Bearer $ADMIN_TOKEN"
{
  "organizationAccountID": "org-123-4567",
  "currentMonth": {"month": "2026-11", "usage": 81234, "cap": 100000},
  "months": [
    {"month": "2026-10", "billed": 99000, "usage": 100003, "cap": 100000, "capped": true, "credits": 1000}
  ]
}

In GraphQL, ask for usage on the organization account: organizationAccount(id: "…") { usage { currentMonth { usage cap } months { month billed } } }. Anyone but an administrator gets an error on that field. Reading your usage is never refused by the cap. A month appears in months once it is over.

Warnings before the cap

As your billable requests pass 80, 85, 90 and 95% of the cap, ObjectsGrid emails your Organization Account's administrators and its billing contact. At 100%, they get one more email: requests are now refused. Each step is sent once a month, and raising the cap re-arms the steps above your usage. Your systems can get the same notices as the webhook events MonthlyQuotaApproaching and MonthlyQuotaReached, for example to raise the cap automatically.

Watch the headers

Alert yourself when X-ObjectsGrid-Quota-Used passes, say, 80% of X-ObjectsGrid-Quota-Limit, so your app never stops at the end of a busy month.

Rate limits

To keep the platform fast for everyone, the number of requests per Organization Account and per client in a short time is limited. A request over the limit is refused with 429 Too Many Requests. Wait a moment and retry, with a growing delay between retries (exponential backoff).

Size limits

Limit Value
One object 1 MB
Request body of a batch create or a log batch 10 MB
Objects in a batch create 100
Log events in one POST /log 1000
Objects in one list page (first) 1 to 100, 20 by default
Accounts or access log entries in one list page (size) 1 to 100, 10 by default
Deepest position in an account or access log list (from) 10,000
Tags on one object 50
Enum id 1 to 50 characters

A request over a size limit is refused, with 413 Payload Too Large for a body that is too big, and 400 otherwise. Object lists page with first and after as deep as you need; see Lists. To go through more than 10,000 accounts or access log entries, narrow the query, for example by date.

Reduce your usage

  • Batch writes. Create up to 100 objects with one batch request, and send log events in batches.
  • Cache what rarely changes, such as enums and catalogs, and refresh it when a webhook tells you it changed, rather than polling.
  • Reuse access tokens for their hour, rather than asking for a new one per request.