# ObjectsGrid > ObjectsGrid is a plug-and-play backend for commerce and organization data. You store Schema.org-modeled objects (products, offers, orders, inventory, places, reviews and more) through a GraphQL API (preferred) or REST APIs, with OAuth 2.0 access tokens and attribute-based access control (ABAC) written in OPA Rego. Key facts: - Each tenant is an **Organization Account** (ID format `org-…`), pinned at registration to the `EU` or `US` region for data residency. Every API request, GraphQL or REST, must send `X-ObjectsGrid-AccessPoint: EU` or `US` for that region. - Every request except token creation and organization-account creation must send `Authorization: Bearer `. - Access tokens last 1 hour (`expires_in: 3599`): a change to an account's tags or roles applies within the hour, and a disabled account gets no new token. User accounts also get a refresh token, which lasts 3 months; each refresh returns a new pair. Service accounts and anonymous clients get none (OAuth 2.0 client credentials): they request a new access token with the same credentials. - Each Organization Account has a monthly spending cap, `monthlyQuota`: the number of API requests a month it is willing to be billed for, chosen by its administrators (`0` means the default, 100,000; at most 1,000,000,000; a PUT that leaves it out keeps it). Past it, requests get `429`, except token requests and reading or replacing the Organization Account, so an administrator can always raise it. Every response carries `X-ObjectsGrid-Quota-Limit` and `X-ObjectsGrid-Quota-Used` (this month, this request included). - Object schemas are JSON Schema Draft 2020-12, modeled on Schema.org. - **The whole documentation in one file:** [llms-full.txt](https://objectsgrid.com/llms-full.txt), every docs page as Markdown in navigation order. - **Source of truth:** the machine-readable files under `https://objectsgrid.com/.well-known/` (discovery document, OpenAPI contracts, object catalog, OAuth metadata). Where they disagree with this file or with the documentation at objectsgrid.com/docs, `/.well-known` wins. ## Quick start 1. **Create an Organization Account** (first time only). Either use the [Admin site](https://admin.objectsgrid.com), or get a Google ID token from the [test token page](https://admin.objectsgrid.com/google_token.html) and call `POST https://apis.objectsgrid.com/organizationaccounts` with `Authorization: Bearer ` and `X-ObjectsGrid-AccessPoint`. Registration also creates your User Account, a default ABAC policy that makes you administrator, and an access token, returned in the response's `Authorization` header. - **Without signing in (AI agents included):** `POST https://apis.objectsgrid.com/organizationaccounts` with no `Authorization` header, `X-ObjectsGrid-AccessPoint`, and `{"name": "...", "email": ""}`. The `201` body is the Organization Account plus `bootstrap`: three API keys (`bootstrap.admin`, `.user`, `.anonymous`, each `{serviceAccount, accessToken, expiresAt}`), access tokens that work for 90 days (the anonymous one has no `expiresAt`: it does not expire), shown once. admin is an administrator; user (tag `role=user`) reads and writes every business object, not the webhook configuration, accounts, policy or access logs; anonymous (tag `role=anonymous`) reads the catalog types (return and shipping policies included), keeps Carts by id (create, retrieve, update, patch; never list, delete or checkout), reads AppConfigurations and FeatureFlags tagged `visibility` = `public`, and creates LogEvents. The account is unverified (`verified: false`): at most 50,000 requests a month, no sign-in with Google, Apple or Okta, until a person binds an administrator at `bootstrap.bindingUrl` (once, 30 days) or with `POST /organizationaccounts/{id}/administrator` `{"idToken": ""}` and the admin key, after which it is verified and keeps everything. Creation without a token is limited per address (5 an hour, 20 a day). See [Start without signing in](https://objectsgrid.com/docs/get-started/start-without-signing-in/). 2. **Get an access token.** Users exchange an ID token from a supported OpenID Connect provider: Google, Apple, or the account's own Okta org (any OpenID Connect issuer registered in the Organization Account's `identityProviders`): ```bash curl -X POST https://apis.objectsgrid.com/oauth2/token \ -H 'X-ObjectsGrid-AccessPoint: EU' \ -d grant_type=urn:ietf:params:oauth:grant-type:token-exchange \ --data-urlencode 'subject_token=' \ -d subject_token_type=urn:ietf:params:oauth:token-type:id_token \ -d 'client_id=' ``` Servers and scripts use a Service Account instead (see Authentication). 3. **Call the API:** ```bash curl https://apis.objectsgrid.com/graphql \ -H 'Content-Type: application/json' \ -H 'X-ObjectsGrid-AccessPoint: EU' \ -H 'Authorization: Bearer ' \ -d '{"query":"{ products(first: 10) { items { id sku name { at_language at_value } } pageInfo { endCursor hasNextPage } } }"}' ``` - Worked example on the blog: [How an AI Agent Can Onboard to a Backend API With No Human in the Loop](https://objectsgrid.com/blog/ai-agent-onboarding-without-a-human/). - Choosing between zero-friction onboarding and normal registration, and keeping an evaluation account: [How an LLM or a Human Uses Zero-Friction Onboarding](https://objectsgrid.com/blog/zero-friction-onboarding-or-registration/). ## GraphQL API (preferred) - Endpoint: `POST https://apis.objectsgrid.com/graphql` (GraphQL over HTTP). Introspection is enabled and does not require a token. - [GraphiQL playground](https://apis.objectsgrid.com/playground): interactive explorer; set the headers above in its Headers panel. - [GraphQL API examples](https://objectsgrid.com/docs/guides/graphql-api/): token creation and create/retrieve/update/delete/list examples. - Naming pattern: list queries are plural (`products(where, orderBy, first, after)`, answering `items`, `pageInfo` and `totalCount`), single reads are singular (`product(id)`), and writes are `createX(input)`, `updateX(input, expectedVersion)`, `deleteX(id, expectedVersion)`. Delete mutations return `true`. GraphQL serves business objects; Enums, accounts, policies and access logs are managed with the REST API. - Text fields such as `name` and `description` are localized: lists of `{ at_language at_value }`, so select those subfields. - GraphQL list queries take the same typed `where`, `orderBy`, `first` and `after` as the REST lists, and `GroupBy` groups them. See [Lists](https://objectsgrid.com/docs/guides/lists/). - List syntax (Prisma style; the schema's descriptions say the same, and introspection needs no token): - `where`: every condition given must hold; `AND`, `OR` and `NOT` take lists of wheres; at most 50 conditions, nested at most 5 levels. In GraphQL every condition is an object (`sku: {equals: "TRS-42"}`); in REST, JSON with a bare value meaning `equals` (`{"sku": "TRS-42"}`). - Conditions: a string takes `equals`, `in`, `notIn`, `lt`, `lte`, `gt`, `gte`, `contains`, `startsWith`, `endsWith`, `not`, and `mode: insensitive` to ignore case; a number or a date-time (an ISO 8601 string) takes `equals`, `in`, `notIn`, `lt`, `lte`, `gt`, `gte`, `not`; a boolean `equals`, `not`; a list of values `has`, `hasSome`, `hasEvery`, `isEmpty`; an embedded object a where on its fields; a list of objects `some`, `every`, `none` (a where one, every or no element meets) and `isEmpty`. A reference (`{at_id, id, at_type}`) takes conditions on those fields, and in REST `is` / `isNot` on the referenced object's fields. Every type also filters on `id`, `at_id`, `url`, `at_type` and `meta`. - Localized text is a list of objects, and one element must meet the whole where: `name: {some: {at_language: {equals: "en"}, at_value: {contains: "Boot"}}}`. - `orderBy`: up to 3 entries of `{: asc}` or `desc`, embedded fields nested (`{meta: {createdAt: desc}}`); lists can't be sorted on; the id always ends the order. REST alone also takes `{"": {"sort": "asc", "nulls": "last"}}`. - Paging: `first` is 1 to 100 (20 by default); `after` is the previous page's `pageInfo.endCursor`, with the same where and orderBy. A page holds only the objects your ABAC policy lets you read, so it can be shorter than `first` while `hasNextPage` is true. - Counting and grouping: select `totalCount` to count what the where matches. `GroupBy(by: [<1 to 3 fields>], where, having, orderBy, first, after)` answers `groups` with the by fields' values and the aggregates you select: `_count { _all }`, `_sum` and `_avg` (numbers), `_min` and `_max` (numbers and date-times). `having: {ratingValue: {_avg: {gte: 4}}}` keeps the groups whose aggregates meet conditions. `totalCount` and groupBy need access to every object of the type. - Example: `{ products(where: {color: {equals: "Blue"}, offers: {isEmpty: false}}, orderBy: [{meta: {createdAt: desc}}], first: 20) { items { id sku } pageInfo { endCursor hasNextPage } totalCount } }`; grouped: `{ ratingsGroupBy(by: [reviewAspect], having: {ratingValue: {_avg: {gte: 4}}}) { groups { reviewAspect _count { _all } _avg { ratingValue } } } }`. - Responses are `application/graphql-response+json` (send `Accept: application/json` for plain JSON). An operation that does not parse or validate answers `400` (`422` with `application/json`); one that runs answers `200`, failures included. - Errors come back in the standard `errors` array: `message` is the message for the user, and `extensions` carries `code` (`BAD_USER_INPUT`, `UNAUTHORIZED`, `FORBIDDEN`, `NOT_FOUND`, `CONFLICT`, `PRECONDITION_FAILED`, `TOO_MANY_REQUESTS`, `INTERNAL_SERVER_ERROR`), `httpStatusCode`, `correlationId` and, when given, `reasons`, plus `errorCode` (the error-details code, as REST's `code`), `type` (its page) and `domain`. Act on `errorCode` or `code`, not on the message. - `updateX` and `deleteX` take an optional `expectedVersion`: the `meta.objectVersion` you read (a String of digits; send it back unchanged). The write happens only if nobody changed the object since; otherwise `PRECONDITION_FAILED`: read it again and retry. ## REST API - Base URL: `https://apis.objectsgrid.com`. Contracts are OpenAPI 3.1.0, published under `/.well-known/openapi/` as JSON (`openapi.json`) or YAML (`openapi.yaml`). Use these rather than copies elsewhere. - [OpenAPI contract index](https://objectsgrid.com/.well-known/openapi/index.json): every REST API group; each entry links to its versioned contract. - Request bodies are JSON (`Content-Type: application/json`), including the OAuth token endpoints. - Optional headers: `X-ObjectsGrid-RestApiVersion` (`stable`, the default when omitted, or `latest`) and `X-ObjectsGrid-SessionID`, your own session ID, which is traced through the request stack and returned in the response. - Object list endpoints (`GET /`) accept `where` and `orderBy` (Prisma-style JSON, URL-encoded, for example `where={"sku":"ABC-1"}`), `first` (1 to 100) and `after` (the previous page's `pageInfo.endCursor`), `count=true`, `groupBy` (JSON), and `lang` (BCP 47). They answer `{"items": [...], "pageInfo": {"endCursor", "hasNextPage"}}`. See [Lists](https://objectsgrid.com/docs/guides/lists/). The account lists (user accounts, service accounts, access log entries) still take `query` (Elasticsearch Query DSL), `from` and `size`. - JSON-LD documents: `GET //{id}` with `Accept: application/ld+json` answers the object as Schema.org JSON-LD for web pages: `at_` becomes `@`, referenced objects and computed lists embedded one level deep, `@id` and `url` from the Organization Account's `jsonLdAddresses` (type to `https` template with `{field}` placeholders, administrators only), `lang` for plain strings, never personal data. A Place's or Event's `additionalType` (such as `Store` or `MusicEvent`) is its `@type`. Orders, Invoices, Reservations, Permits, ReturnActions, ProgramMemberships, EmployeeRoles, JSONObjects, AppConfigurations, FeatureFlags, Carts, PayActions, Inventories, Persons, log events, Enums and GenericObjects answer `406`. In GraphQL, the same fifteen types with documents have `jsonLd(lang: String): JSON`, the document of the version the object holds (25 of a query's 500 cost, at most 20 documents a query). See [JSON-LD for your pages](https://objectsgrid.com/docs/guides/json-ld/). - Batch create: `POST //batch` with `{"items": [...]}` creates up to 100 objects of one type, all or nothing (reasons name an item as `/items//...`). `201` answers `{"items": [{"status", "etag", "object"}]}` in request order; a rare partial storage failure is `207`, each item with its own `status` and `error`. Each object created counts against `monthlyQuota`. - Ids are assigned by ObjectsGrid, except Enums: you choose an Enum's id, and an id once used is refused with `409`. - Versions: single-object responses carry an `ETag` (and `Location` on create). Send it back as `If-Match` on `PUT`, `PATCH` or `DELETE` to write only if nobody changed the object since you read it; a stale `If-Match` returns `412` and changes nothing: read the object again and retry. Without `If-Match`, the API still binds each write to the version it authorized and checks again if the object changes meanwhile; `409` means it kept changing. - Errors return an [ErrorResponse](https://objectsgrid.com/.well-known/objects-catalog/ErrorResponse/v1/schema.json) (RFC 9457) with `code` (stable, e.g. `VALIDATION_FAILED`, `CART_CHECKED_OUT`; a status's generic code, e.g. `CONFLICT`, when there's none of its own), `domain` (`objectsgrid.com`), `type` and `errorDetailsLink` (the code's page), `title`, `detail`, `instance`, `message`, `reasons`, `httpStatusCode`, `httpStatusText`, `timestamp` and `correlationId`. Every code: [error-details registry](https://objectsgrid.com/.well-known/error-details/index.json), [pages](https://objectsgrid.com/docs/error-details/). Act on `code`. Expect `400`, `401`, `404`, `409` (conflict on create, or an object that kept changing), `412` (stale `If-Match`), `429` (rate or quota limit; back off and retry) and `500`. - `DELETE` is permanent. Do not delete or overwrite data an end user has not asked you to change. - Each contract defines its own operations; not every API supports full CRUD. REST API groups (all at version 1): - Commerce: [Products](https://objectsgrid.com/.well-known/openapi/Products/index.json), [Product Groups](https://objectsgrid.com/.well-known/openapi/ProductGroups/index.json), [Product Models](https://objectsgrid.com/.well-known/openapi/ProductModels/index.json), [Offers](https://objectsgrid.com/.well-known/openapi/Offers/index.json), [Orders](https://objectsgrid.com/.well-known/openapi/Orders/index.json), [Inventories](https://objectsgrid.com/.well-known/openapi/Inventories/index.json), [Brands](https://objectsgrid.com/.well-known/openapi/Brands/index.json), [Reviews](https://objectsgrid.com/.well-known/openapi/Reviews/index.json), [Organizations](https://objectsgrid.com/.well-known/openapi/Organizations/index.json), [Places](https://objectsgrid.com/.well-known/openapi/Places/index.json), [Ratings](https://objectsgrid.com/.well-known/openapi/Ratings/index.json), [Offer Catalogs](https://objectsgrid.com/.well-known/openapi/OfferCatalogs/index.json), [Services](https://objectsgrid.com/.well-known/openapi/Services/index.json), [Service Channels](https://objectsgrid.com/.well-known/openapi/ServiceChannels/index.json) - Flexible data: [Generic Objects](https://objectsgrid.com/.well-known/openapi/GenericObjects/index.json) (your own object types with typed attributes, for when no built-in type fits), [Enums](https://objectsgrid.com/.well-known/openapi/Enums/index.json) (managed value lists for dropdowns and similar, optionally localized) - Identity and access: [Tokens](https://objectsgrid.com/.well-known/openapi/Tokens/index.json), [Organization Accounts](https://objectsgrid.com/.well-known/openapi/OrganizationAccounts/index.json), [User Accounts](https://objectsgrid.com/.well-known/openapi/UserAccounts/index.json), [Service Accounts](https://objectsgrid.com/.well-known/openapi/ServiceAccounts/index.json), [ABAC Policies](https://objectsgrid.com/.well-known/openapi/ABACPolicies/index.json) - Observability: [Access Log Entries](https://objectsgrid.com/.well-known/openapi/AccessLogEntries/index.json) (audit log of every request), [Logs](https://objectsgrid.com/.well-known/openapi/Logs/index.json) (frontend log events, written in batches and searchable; also in GraphQL as `createLogEvents` and `logEvents`) - Events: [Webhooks](https://objectsgrid.com/.well-known/openapi/Webhooks/index.json) - Worked example on the blog: [Lost Updates: Optimistic Concurrency With ETag and If-Match](https://objectsgrid.com/blog/optimistic-concurrency-etag-if-match/). ## Authentication - [Auth guide](https://objectsgrid.com/docs/guides/authentication/): full request and response examples for every token flow. - [OAuth authorization-server metadata](https://objectsgrid.com/.well-known/oauth-authorization-server) (RFC 8414): issuer `https://objectsgrid.com`, `token_endpoint`, `revocation_endpoint`, grant types. Any OAuth 2.0 client library works with it. - The token endpoint is `POST https://apis.objectsgrid.com/oauth2/token` (RFC 6749): parameters form-encoded (`application/x-www-form-urlencoded`) or as a JSON object, the grant picked by `grant_type`, with the `X-ObjectsGrid-AccessPoint` header like every request (it picks the data center; a client library needs it added). It returns `200` with `Cache-Control: no-store`, `access_token`, `token_type` (`Bearer`), `expires_in` and, for user accounts, `refresh_token`. Refusals are RFC 6749 errors, `{"error", "error_description", "correlationId"}`: `invalid_request` (400, also a missing or wrong access point header), `invalid_client` (401, unknown client, wrong secret, disabled account), `invalid_grant` (400, bad or expired ID token or refresh token, wrong nonce, unverified email, app not in `identityProviders`), `unauthorized_client` (400), `unsupported_grant_type` (400); the rate limit, the spending cap and server errors keep the usual ObjectsGrid error. The GraphQL mutation for each grant is in parentheses. - `grant_type=urn:ietf:params:oauth:grant-type:token-exchange` with `subject_token` (the ID token), `subject_token_type=urn:ietf:params:oauth:token-type:id_token`, `client_id` (the Organization Account ID) and optional `nonce` (`createUserAccountAccessToken`). The response adds `issued_token_type`. The User Account is created automatically on a user's first token request. The ID token has to be issued to an app the Organization Account registered: its `identityProviders`, `[{"issuer": "https://accounts.google.com", "clientIds": [""]}, {"issuer": "https://appleid.apple.com", "clientIds": [""]}]`, list the apps whose ID tokens are accepted (the `aud` claim), and any other is refused with `401`. An ID token that carries an email must have it verified (`email_verified`, a boolean or Apple's string `"true"`), and an optional `nonce` in the body must equal the token's (`401` otherwise). Apple's ID tokens carry no name: an account created with Apple has a Person without one. `POST /useraccounts/{id}/identities` `{"idToken": "...", "nonce": "..."}`, with the account's own access token, adds a second provider's sign-in to the account (nothing is merged by email; `409` when that sign-in opens another account). An Organization Account starts with the app its creator signed in with; an administrator adds your app's client id with a `PUT /organizationaccounts/` (a PUT that leaves `identityProviders` out keeps them). Supported issuers: Google and Apple. - `grant_type=client_credentials`: for a `secret` Service Account (machine-to-machine, such as cron jobs). Send `Authorization: Basic base64(:)`, or `client_id` and `client_secret` as parameters (`createSecretServiceAccountAccessToken`). A `public` Service Account is refused here (`unauthorized_client`). The secret is generated by the platform and answered when the account is created. It is read-only: a PUT keeps it (and the account's `id`, `type` and `meta`), whatever it sends; lists do not carry it. To change it, `POST /serviceaccounts//secret` (`rotateServiceAccountSecret`) answers a new one; the replaced secret keeps working for 24 hours (`previousSecretExpiresAt`), so clients move over without downtime. At most two secrets work at once: a second rotation ends the previous one. Rotating is authorized like an update of the account; an account holding the administrator role needs an administrator. - Anonymous visitors (a `public` Service Account, such as people browsing a product catalog): the web page sends the account's **public API key** as its bearer token, with no token request. An administrator makes it with `POST /serviceaccounts/{id}/apikey` (`{"serviceAccountId", "apiKey"}`); it has no expiry and stops within a minute when the account is disabled or deleted. The account's `allowedOrigins` (a browser request from an unlisted `Origin` gets `403`; requests without the header are not refused) and `monthlyRequestLimit` (billable requests a month for that key, `429` after) limit a copied key; `GET /serviceaccounts/{id}/usage` gives its usage this month by origin. To replace a misused key without downtime: create a public service account with the same tags, ship its key, then disable the old one. An access token instead: `grant_type=urn:objectsgrid:params:oauth:grant-type:anonymous` with `client_id` (`createPublicServiceAccountAccessToken`). - `grant_type=refresh_token` (user accounts) with `refresh_token` (`refreshAccessToken`). The refresh token alone authenticates it: no access token is needed, so it also works after the access token has expired. Each refresh token works once; use the new one from the response. - Revocation (RFC 7009): `POST https://apis.objectsgrid.com/oauth2/token/revoke` with `token` (a refresh token; `token_type_hint` optional), form-encoded or JSON, and an access token of the same Organization Account that the ABAC policy allows (action `RevokeRefreshToken`). Returns `200` even if the token was already revoked or is not valid; an access token or API key gets `unsupported_token_type` (disable the account to stop it) (`revokeRefreshToken`). - The first endpoints, `/oauth2/token/useraccount`, `/serviceaccount`, `/anonymous` and `/refresh` (JSON only, `201`, ObjectsGrid errors), still work and will be removed; use `/oauth2/token`. - Worked example on the blog: [Rotate API Secrets Without Downtime](https://objectsgrid.com/blog/rotate-api-secrets-without-downtime/). ## Access control (ABAC) - [Access control via ABAC](https://objectsgrid.com/docs/guides/access-control/): policy examples. - Each Organization Account has exactly one [ABAC policy](https://objectsgrid.com/docs/accounts/abac-policy/), written in [Open Policy Agent Rego](https://www.openpolicyagent.org/docs/latest/policy-language/) (`package abac`, `default allow := false`). Its ID is `abac-policy--`; read and replace it with `GET` and `PUT /abacpolicies/{id}`. Only an administrator can replace it, whatever the policy says; it cannot be created or deleted, and a policy that does not compile (or is not `package abac`) is refused with `400`. - Object and account `tags` (`name`/`val` pairs) are the attributes. A request is decided in two stages: first with `input.subject` (`id`, `objectType`, `tags`), `input.action` (`create`, `retrieve`, `list`, `update`, `patch`, `delete`, `retag`) and `input.objectType` (the catalog name of the type the request addresses, e.g. `Product`, `ABACPolicy`, `LogEvent`; `Enum` for all enumerations at `/enums`; the same at both stages), with `input.object` null; then per object, with `input.object` the stored object (every field the API returns, except credentials; null on create; its own type is `input.object.meta.objectType`) and, for `create`, `update` and `patch`, `input.newObject`, the object as the write would leave it. A rule that reads only the object must let the first stage through (`input.object == null`). - With `input.newObject` comes `input.changedFields`, the top-level fields the write changes (on create, every field the new object has). Access needs an `allow` rule to hold and no `deny` rule to hold: a `deny` overrides every `allow`, so a guard such as `deny if { "price" in input.changedFields; not "pricing" in roles }` is written once. - Field-level read access: `redact contains "cost" if { ... }` hides fields from a subject; `visible contains "name" if { ... }`, when the policy has any, shows only the fields it names. Paths reach nested fields and lists: `brand.url`, `offers.price` (the price of every offer). Hidden fields are left out of every response (REST, GraphQL, where they read as `null`, and webhook deliveries, decided with the permissions of the account that last wrote the webhook configuration) and listed in `meta.redactedFields`. A subject cannot set, change, filter or sort on a field hidden from it (`401`, or `400` for a list query); a `PUT` that leaves hidden fields out keeps them. `id`, `meta`, `at_type`, `at_context` and `url` are always shown. - An update or patch that changes an object's tags is also decided as the action `retag`: allowing `update` does not allow changing the tags. A create is not a retag: the policy decides the tags a new object starts with when it decides the `create`, on `input.newObject`. - Administrators: the tag `security.role` = `organization-account-administrator` makes a User Account or a secret Service Account an administrator of its Organization Account; the policy is not evaluated for administrators. The registering user is the first one. Only an administrator can grant or remove the role, or change, disable or delete an account that holds it, whatever the policy says; an administrator cannot remove its own role, disable or delete its own account, so an Organization Account always keeps one. A public Service Account cannot hold it. - Tag names starting with `security.` are security tags: the platform defines them and who may write them; any other `security.` name or value is refused. Every account also gets `organization_account_id` = ``, set by the platform: no client, administrators included, can add, change or remove it. - The default policy gives accounts other than administrators no access until you add rules; its comments show an example. - A policy change can lock users out. Test changes in a separate Organization Account first, and keep the previous policy so you can roll back. - Complete starting policies, for a shop and for a service business with several locations: [How to Initially Configure Your ABAC Policy Upon Organization Account Registration](https://objectsgrid.com/blog/configure-abac-policy-at-registration/). - Worked example on the blog: [How to Configure an ABAC Policy for Fine-Grained Access Control (FGA)](https://objectsgrid.com/blog/fine-grained-access-control-abac/). ## Object catalog - [Object catalog index](https://objectsgrid.com/.well-known/objects-catalog/index.json): every object schema, with its versions and schema URL. - [Objects schemas guide](https://objectsgrid.com/docs/guides/data-model/): how ObjectsGrid applies Schema.org. - Core schemas and their required fields: - [Product](https://objectsgrid.com/.well-known/objects-catalog/Product/v1/schema.json): `name`, `sku` - [Offer](https://objectsgrid.com/.well-known/objects-catalog/Offer/v1/schema.json): `name`, `price`, `priceCurrency` - [Order](https://objectsgrid.com/.well-known/objects-catalog/Order/v1/schema.json): `acceptedOffer`, `customer`, `orderDate`, `orderItem` (lines: `{orderItemNumber, orderQuantity, orderItemStatus, orderedItem}`), `seller`; parcels in `orderDelivery` (personal) - [Invoice](https://objectsgrid.com/.well-known/objects-catalog/Invoice/v1/schema.json): `customer`, `provider` - [Event](https://objectsgrid.com/.well-known/objects-catalog/Event/v1/schema.json): `name`, `startDate`; its kind in `additionalType`; tickets are Offers whose `itemOffered` is the Event - [Reservation](https://objectsgrid.com/.well-known/objects-catalog/Reservation/v1/schema.json): `reservationFor`, `underName`; an appointment is one of a Service with `startTime`/`endTime` and the staff member as `provider`; `additionalType` FoodEstablishmentReservation (`partySize`), LodgingReservation (check-in and check-out, no `startTime`) or EventReservation - [ReturnAction](https://objectsgrid.com/.well-known/objects-catalog/ReturnAction/v1/schema.json): `object` (the Order), `agent` (pinned), `returnedItem`; a bundle is a Product with `additionalType` `ProductCollection` and `includesObject`; a price range is an Offer with `additionalType` `AggregateOffer` and `lowPrice` - [EmployeeRole](https://objectsgrid.com/.well-known/objects-catalog/EmployeeRole/v1/schema.json): `employee`, `employer`; working hours in `workSchedule` (Schedules with their time zone); GraphQL `availableSlots` gives free times; appointments (Reservations of no kind with a provider and times) of one provider never overlap (409) - [ProgramMembership](https://objectsgrid.com/.well-known/objects-catalog/ProgramMembership/v1/schema.json): `member`; [Demand](https://objectsgrid.com/.well-known/objects-catalog/Demand/v1/schema.json): `name`, a quote request - [Cart](https://objectsgrid.com/.well-known/objects-catalog/Cart/v1/schema.json): `cartItem` [{offer, quantity}], prices and `totalPrice` computed on a read of one cart, expires 30 days after the last change; [PayAction](https://objectsgrid.com/.well-known/objects-catalog/PayAction/v1/schema.json): `object` (Order or Invoice), `agent` pays `recipient`, `price`, `priceCurrency`, `providerPaymentId`, `refundOf`; [MerchantReturnPolicy](https://objectsgrid.com/.well-known/objects-catalog/MerchantReturnPolicy/v1/schema.json) and [ShippingService](https://objectsgrid.com/.well-known/objects-catalog/ShippingService/v1/schema.json): stored objects, referenced by `hasMerchantReturnPolicy` and `hasShippingService` - [AppConfiguration](https://objectsgrid.com/.well-known/objects-catalog/AppConfiguration/v1/schema.json): your id `_`, `settings` (JSON, 256 KB); [FeatureFlag](https://objectsgrid.com/.well-known/objects-catalog/FeatureFlag/v1/schema.json): your id is the flag key, `environments` {enabled, rolloutPercentage, allow}; on when sha256(":") first 4 bytes mod 100 < rolloutPercentage; GraphQL `featureFlagsFor`; [JSONObject](https://objectsgrid.com/.well-known/objects-catalog/JSONObject/v1/schema.json): `objectType`, `data` - Any single-object read answers `304` (no body, not billed) to `If-None-Match` with its ETag; see [Configuration and feature flags](https://objectsgrid.com/docs/guides/configuration-and-feature-flags/) - [Course](https://objectsgrid.com/.well-known/objects-catalog/Course/v1/schema.json): `name`; its runs are Events with `additionalType` `CourseInstance` and `instanceOf`; [Permit](https://objectsgrid.com/.well-known/objects-catalog/Permit/v1/schema.json): `name`, a Service's `serviceOutput` - [MemberProgram](https://objectsgrid.com/.well-known/objects-catalog/MemberProgram/v1/schema.json): `name`, `hostingOrganization`; [MemberProgramTier](https://objectsgrid.com/.well-known/objects-catalog/MemberProgramTier/v1/schema.json): `name`, `isTierOf`; a member price is an Offer `priceSpecification` with `validForMemberTier` - [Accommodation](https://objectsgrid.com/.well-known/objects-catalog/Accommodation/v1/schema.json): `name`; kinds `HotelRoom`, `Suite`, `Apartment`, `House`...; in `containedInPlace` (a Hotel lists them in `containsAccommodation`); two LodgingReservations of one Accommodation can't overlap (409 `STAY_OVERLAPS`); a hotel's category booking is a LodgingReservation of the Place with `lodgingUnitType`. [Hotels and rentals](https://objectsgrid.com/docs/guides/hotels-and-rentals/) - [Menu](https://objectsgrid.com/.well-known/objects-catalog/Menu/v1/schema.json), [MenuSection](https://objectsgrid.com/.well-known/objects-catalog/MenuSection/v1/schema.json) (`partOfMenu`), [MenuItem](https://objectsgrid.com/.well-known/objects-catalog/MenuItem/v1/schema.json) (`partOfMenuSection`, `suitableForDiet`, `nutrition`, `allergens` of the EU's 14); prices are Offers of the MenuItem; a restaurant Place lists `hasMenu`. [Restaurants and menus](https://objectsgrid.com/docs/guides/restaurants-and-menus/) - Vehicles: a [Product](https://objectsgrid.com/.well-known/objects-catalog/Product/v1/schema.json) of kind `Car`, `Motorcycle`, `BusOrCoach` or `Vehicle` takes `vehicleIdentificationNumber`, `vehicleModelDate`, `mileageFromOdometer`, `fuelType`, `vehicleEngine` and the other vehicle fields. [Car dealers](https://objectsgrid.com/docs/guides/car-dealers/); [RealEstateListing](https://objectsgrid.com/.well-known/objects-catalog/RealEstateListing/v1/schema.json): `about` an Accommodation, `offers`. [Real estate listings](https://objectsgrid.com/docs/guides/real-estate-listings/) - [ItemList](https://objectsgrid.com/.well-known/objects-catalog/ItemList/v1/schema.json): `name`, `itemListElement` [{position, item (a Reference to any object), dateAdded}], `numberOfItems` set by the platform; a wishlist is an ItemList tagged `list-type` = `wishlist` with the shopper as `author`. [Wishlists, questions and messages](https://objectsgrid.com/docs/guides/wishlists-questions-messages/) - [Question](https://objectsgrid.com/.well-known/objects-catalog/Question/v1/schema.json) and [Answer](https://objectsgrid.com/.well-known/objects-catalog/Answer/v1/schema.json): a Question is `about` any object; an Answer's `parentItem` is its Question; `acceptedAnswer`, `upvoteCount`, `downvoteCount`. - [Conversation](https://objectsgrid.com/.well-known/objects-catalog/Conversation/v1/schema.json) and [Message](https://objectsgrid.com/.well-known/objects-catalog/Message/v1/schema.json): a Message is `isPartOf` a Conversation, from a `sender`; its `text` is encrypted with the sender Person's key and erased with them; private, no JSON-LD. - [DiscountCode](https://objectsgrid.com/.well-known/objects-catalog/DiscountCode/v1/schema.json): your id is the code (stored upper case); `percentOff` or `amountOff`+`priceCurrency` or `freeShipping`; dates, `minimumOrderValue`, eligible offers, categories and customer tags, `maxUses`, `maxUsesPerCustomer`. A Cart's `discountCode` shows `discount` or `discountRefused` on read; checkout counts the use or answers 409 `DISCOUNT_CODE_NOT_APPLICABLE`. [Discount codes](https://objectsgrid.com/docs/guides/discount-codes/) - [CheckInAction](https://objectsgrid.com/.well-known/objects-catalog/CheckInAction/v1/schema.json): `agent`, `object` (a ProgramMembership or a Reservation), `location`; a Reservation is checked in once (409 `TICKET_ALREADY_USED`); never updated. [Check-ins](https://objectsgrid.com/docs/guides/check-ins/) - Fields marked `x-objectsgrid-extension` are ObjectsGrid's, beyond Schema.org: stored and served, left out of JSON-LD documents. - [Inventory](https://objectsgrid.com/.well-known/objects-catalog/Inventory/v1/schema.json): stock for a product at a location and channel - [GenericObject](https://objectsgrid.com/.well-known/objects-catalog/GenericObject/v1/schema.json): `objectType` - [Organization](https://objectsgrid.com/.well-known/objects-catalog/Organization/v1/schema.json) and [Place](https://objectsgrid.com/.well-known/objects-catalog/Place/v1/schema.json): `name`; a Place with `additionalType` `LocalBusiness` or a subtype (`Store`, `Restaurant`, `Hotel`, ...) is a local business - Modeling conventions: - Relationships between top-level objects are References, `{"at_id": "", "id": ..., "at_type": ...}` (write `at_id` only), not nested copies; in GraphQL a reference field is the `ObjectsGridObject` interface, so one query reads the referenced objects with fragments (`brand { ... on Brand { name { at_value } } }`). Lists that grow with other objects (a Product's `review`, `offers`) are computed from the other side and never written. Small contained types (such as `PostalAddress`, `QuantitativeValue`, `GeoCoordinates`, `AggregateRating`) are embedded in their parent. - Property names are often singular even when they hold a list (for example, Product `review` is a list of Review URLs). `hasX` properties are relationships, not booleans. - `at_context` and `at_type` stand in for JSON-LD `@context` and `@type`; rename them when you emit JSON-LD. Only Schema.org types have `at_context`; ObjectsGrid's own types (GenericObject, JSONObject, AppConfiguration, FeatureFlag, Enum, LogEvent, Inventory) don't. Enumeration values are full Schema.org URLs, for example `https://schema.org/InStock`. - `PropertyValue` and `LocationFeatureSpecification` use typed fields (`valueText`, `valueNumber`, `valueBoolean`, `valueDateTime`, `valueReference`) instead of a single `value`. - Every object can carry `tags`. The platform adds read-only metadata ([ObjectMeta](https://objectsgrid.com/.well-known/objects-catalog/ObjectMeta/v1/schema.json)): version, type, namespace, created/updated time and user, and the correlation ID of the last update. - `Organization` is a Schema.org business entity you store as data. `OrganizationAccount` is your ObjectsGrid tenant. They are different things. - Worked example on the blog: [Schema.org Structured Data Straight From Your Backend](https://objectsgrid.com/blog/schema-org-structured-data-from-your-backend/). - Worked example on the blog: [Building a Multilingual Product Catalog](https://objectsgrid.com/blog/multilingual-product-catalog/). ## Reference data - [Reference data guide](https://objectsgrid.com/docs/guides/reference-data/): `GET https://apis.objectsgrid.com/referencedata` (the datasets, sources, licences, revisions), `/referencedata/` (a list: `lang`, `search`, `where`, `limit`) and `/referencedata//` (a record: `lang`); every route takes `revision` (YYYY-MM, immutable; the newest without it). Public: no token, no `X-ObjectsGrid-AccessPoint`, not billed; rate-limited per client address. [Contract](https://objectsgrid.com/.well-known/openapi/ReferenceData/v1/openapi.json). - Datasets: `countries` (ISO 3166-1), `subdivisions` (ISO 3166-2), `languages` (ISO 639), `currencies` (ISO 4217), `timezones` (IANA), `locales` (BCP 47), `units` (UN/CEFACT Rec 20); names from Unicode CLDR in every modern language (`lang` falls back de-AT, de, English). [Every code](https://objectsgrid.com/docs/reference-data/). - `search` matches codes, names in every language and other names (USA, UK), ignoring case and accents, at the start of any word; best match first, 20 by default, 100 at most; `meta.matched` says what matched. Withdrawn codes stay (`withdrawn`, `replacedBy`) and resolve, but are listed only when `where` names `withdrawn`. Errors: `CODE_NOT_FOUND`, `DATASET_NOT_FOUND`, `REVISION_NOT_FOUND` (404), `INVALID_QUERY` (400). - GraphQL: `country`, `countries`, `subdivision(s)`, `language(s)`, `currency`, `currencies`, `timeZone(s)`, `locale(s)`, `unit(s)`, `referenceDatasets`, `referenceDataRevisions`; every code field of a stored object has a `Info(lang)` companion (`countryOfOriginInfo`, `priceCurrencyInfo`, `unitCodeInfo`...), null for an unknown code. A request asking only for reference data needs no token and isn't billed. ## Privacy and audit - A user's personal data (email, name, address, phone) is kept in `UserPrivateInformation` (`/userprivateinformation/{id}`), separate from `UserAccount`, and deleting it removes it. Personal data you store in business objects, such as an Order's billing address, is yours to manage. - Every request is recorded as an [AccessLogEntry](https://objectsgrid.com/docs/accounts/access-log-entry/): caller, operation, IP address, user agent, URL, response code, timing, which objects were granted or denied, and the version of the ABAC policy that decided. Request and response bodies are not recorded. Entries can only be listed, with `GET /accesslogentries` and Elasticsearch Query DSL, subject to your ABAC policy; filter on `correlationID` to find one request. - Worked example on the blog: [GDPR Right to Erasure Without Breaking Your Data](https://objectsgrid.com/blog/gdpr-right-to-erasure-crypto-shredding/). ## Webhooks - One webhook configuration per Organization Account ([Webhook schema](https://objectsgrid.com/.well-known/objects-catalog/Webhook/v1/schema.json)); endpoints must be HTTPS. - Events are `Created`, `Updated` (PUT), `Patched` (PATCH) and `Deleted` for Brand, Enum, GenericObject, Inventory, Offer, OfferCatalog, Order, Organization, Place, Product, ProductGroup, ProductModel, Rating, Review, Service and ServiceChannel, plus the webhook configuration's own; the full list is the [WebhooksEventsEnumeration](https://objectsgrid.com/.well-known/objects-catalog/WebhooksEventsEnumeration/v1/schema.json). Log events have none. - Each endpoint lists the events it receives. A delivery carries the object as stored after the change in `data`, without the fields hidden from the account that last changed the webhook configuration. Events may arrive out of order: compare the `objectversion` attribute. - Payloads are CloudEvents JSON (`application/cloudevents+json`). Delivery is at least once, so deduplicate by the CloudEvent `id`. - Each delivery carries an RS256-signed bearer JWT. Validate the signature with the [webhook JWKS](https://objectsgrid.com/.well-known/objects-catalog/Webhook/jwks.json) (match `kid`), and check `iss` = `https://objectsgrid.com`, `aud` = your Organization Account ID, and `exp` (5 minutes after issue). Note that this issuer differs from the OAuth token issuer (`https://apis.objectsgrid.com`). - Worked example on the blog: [How to Verify Webhooks and Handle Retries](https://objectsgrid.com/blog/verify-webhook-signatures-and-handle-retries/). ## Frontend logging - [Frontend logging guide](https://objectsgrid.com/docs/guides/frontend-logging/): websites and apps send client-side errors, performance data and user events with `POST /log`. - [Carts and checkout guide](https://objectsgrid.com/docs/guides/carts-and-checkout/): Carts priced from Offers on read, `POST /carts/{id}/checkout` into an Order (409 for lines gone, ended, sold out or short of stock; repeat-safe), PayActions recording a payment provider's outcome (no card data, refunds with refundOf), MerchantReturnPolicy and ShippingService defined once and referenced. - [Explain your API's errors guide](https://objectsgrid.com/docs/guides/error-catalog/): DefinedTermSets (`domain`) and DefinedTerms (id = your code; `name`, `description`, `causes`, `remedy`, `httpStatus`, `seeAlso`, `internalNotes` hidden from anonymous callers, `mainEntityOfPage`), public reads when tagged `visibility` = `public`, JSON-LD for agents. - [Configuration and feature flags guide](https://objectsgrid.com/docs/guides/configuration-and-feature-flags/): AppConfigurations per application and environment, FeatureFlags with percentage rollouts and the evaluation rule (JavaScript, Go, test vectors), polling with If-None-Match (304, not billed), access rules. - `POST /log` takes `{"sourceInfo": {...}, "logEvents": [...]}`: up to **1000** `LogEvent`s, with the fields they share (app, session, device, network and similar) sent once in `sourceInfo` and copied into each event; an event's own value wins. All or nothing: one invalid event refuses the batch, its reasons naming it as `/logEvents//...`. `201` has no body; a rare partial failure is `207` with `{"errors": [{"index", "error"}]}`. Body up to 10 MB, each event up to 1 MB; each event counts against `monthlyQuota`. - List them with `GET /log` and a `where` and `orderBy`, like any object list (or `logEvents` in GraphQL), read one with `GET /log/{id}`. Log events cannot be changed or deleted. - Worked example on the blog: [Catch the JavaScript Errors Your Users See](https://objectsgrid.com/blog/catch-javascript-errors-your-users-see/). ## Support - [Support](https://objectsgrid.com/docs/support/): live chat, Help Desk form for problems, Improvement Requests form for new objects, and support@objectsgrid.com. - [Terms and conditions](https://objectsgrid.com/legal/terms/): accounts and API keys, fees and the spending cap, acceptable use (no access to other tenants' data, no getting around limits or access policies, no load testing; good-faith security research under the security policy is permitted), your data and personal data, API changes, liability, California law. - [security.txt](https://objectsgrid.com/.well-known/security.txt): how to report vulnerabilities. - [Security policy](https://objectsgrid.com/legal/security-policy/): how to report a vulnerability, what is in scope, the rules for testing, and safe harbor. - [Pricing](https://objectsgrid.com/pricing/): the first 50,000 API requests each month are free, then $0.0001 per request (US dollars), never more than the monthly spending cap. - [Changelog](https://objectsgrid.com/docs/changelog/): what changed in the APIs, objects and accounts, newest first. ## Blog - [Wishlists, Discount Codes and Check-ins Without a Backend](https://objectsgrid.com/blog/wishlists-discount-codes-check-ins/): ItemLists for wishlists and staff picks, Questions and Answers, Conversations whose Messages are erased with the customer, DiscountCodes counted race-free at checkout, and CheckInActions where a ticket admits once. - [Hotel Rooms, Menus and Cars, the Schema.org Way](https://objectsgrid.com/blog/hotels-restaurants-car-dealers-schema-org/): Accommodations and LodgingReservations that never double-book a room (409 STAY_OVERLAPS), category bookings with lodgingUnitType and inventoryLevel, Menus with sections, diets and the EU's 14 allergens, cars as Products of kind Car with vehicle fields, RealEstateListings, and x-objectsgrid-extension fields left out of JSON-LD. - [Stop Keeping Your Own Country and Currency Tables](https://objectsgrid.com/blog/country-currency-language-codes-api/): the free reference data API (countries, subdivisions, languages, currencies, time zones, locales, units; CLDR names in every language), search for pickers (other names, accents, word starts), withdrawn codes that still resolve, revisions, and the GraphQL Info companions. - [Error Codes People and Agents Can Follow](https://objectsgrid.com/blog/error-codes-people-and-agents-can-follow/): RFC 9457 errors with a stable code, domain and page per code; ObjectsGrid's error-details registry; DefinedTerms as an error catalog for your own API. - [Feature Flags Every Client Agrees On](https://objectsgrid.com/blog/feature-flags-percentage-rollout/): the deterministic rollout rule (SHA-256 of :, first 4 bytes mod 100, below rolloutPercentage), allow lists, test vectors, featureFlagsFor, public flags for browsers. - [Runtime Configuration With Free Polling](https://objectsgrid.com/blog/runtime-configuration-polling-with-etag/): AppConfigurations per application and environment, polling with If-None-Match (304 not billed), rollback by ?version=, a policy keeping production in few hands, not for secrets. - [Return and Shipping Policies, Defined Once](https://objectsgrid.com/blog/return-and-shipping-policies-for-google/): MerchantReturnPolicy and ShippingService objects referenced by Organization, Offer and Product, precedence Offer then Product then seller, free shipping as a ShippingConditions orderValue range with rate 0, embedded in JSON-LD. - [A Checkout That Can't Charge the Wrong Price](https://objectsgrid.com/blog/checkout-that-cant-charge-the-wrong-price/): Carts priced on read (never stored), POST /carts/{id}/checkout with acceptedOffer at the versions read, 409 for gone, ended, unavailable or short-of-stock lines, the order id is the cart's so a retry is safe. - [Record Payments Without Storing Card Data](https://objectsgrid.com/blog/record-stripe-payments-without-card-data/): PayActions from a payment provider's webhooks (no card fields), lookup by providerPaymentId for duplicate deliveries, refunds with refundOf, an Order's payments in GraphQL. - [Stop Double Bookings in an Appointment App](https://objectsgrid.com/blog/prevent-double-bookings/): appointments as Reservations with a provider (overlaps refused with 409, race-free), EmployeeRole workSchedule (scheduleTimezone, P2W, exceptDate), GraphQL availableSlots, book then confirm. - [Loyalty Tiers and Member Prices With Schema.org](https://objectsgrid.com/blog/loyalty-tiers-and-member-prices/): MemberProgram and tiers (benefits, requirements, points), member prices as priceSpecification with validForMemberTier, ProgramMembership, Person memberOf and demographics.loyaltyTiers. - [An Order That Remembers the Customer as They Were](https://objectsgrid.com/blog/order-remembers-customer-pinned-versions/): every write a version (?version=, readable after delete), pinned references (Order and Invoice customer, return and payment agent, checkout's acceptedOffer), where on a pinned reference without the version. - [Filter, Sort and Group Without a Query Language](https://objectsgrid.com/blog/filter-sort-group-without-query-language/): the Prisma-style where (conditions, lists, localized text, references with is), cursor paging, count, groupBy with _count/_sum/_avg/_min/_max and having, limits and policy-aware filtering. - [Let Your Business Customers Sign In With Okta](https://objectsgrid.com/blog/business-customers-sign-in-with-okta/): tenant Okta issuers in identityProviders (up to 3, checked on save), the token exchange, accounts found by issuer and subject, refreshTokenLifetimeHours, registration and binding still Google or Apple. - [Public API Keys in the Browser, Without Regret](https://objectsgrid.com/blog/public-api-keys-in-the-browser/): public service accounts and their API keys, the default anonymous rights, allowedOrigins (403), monthlyRequestLimit (429), usage by origin, replacing a misused key without a gap. - [When Your Data Doesn't Fit Schema.org](https://objectsgrid.com/blog/when-your-data-doesnt-fit-schema-org/): built-in types first, GenericObject (typed attribute lists, filterable) versus JSONObject (one JSON document up to 256 KB, not searched), access control, versions and webhooks for both. - [What JSON-LD Is and How Google Uses It](https://objectsgrid.com/blog/json-ld-and-google-search/): JSON-LD structured data, the rich results, merchant listings and Shopping knowledge panel Google builds from it, why it makes a page eligible rather than ranking it higher, Google's rules, and publishing it with Accept: application/ld+json. - [How an LLM or a Human Uses Zero-Friction Onboarding](https://objectsgrid.com/blog/zero-friction-onboarding-or-registration/): zero-friction onboarding compared with normal registration (sign-in, owner, starting policy, monthly limit, recovery), when to choose each, and the checklist for keeping an evaluation account: bind an administrator, raise monthlyQuota (an account created without signing in stores 50,000), replace the bootstrap keys, lock down the anonymous key, tighten the policy, register identityProviders, add a second administrator. - [How to Configure an ABAC Policy for Fine-Grained Access Control (FGA)](https://objectsgrid.com/blog/fine-grained-access-control-abac/): object, field and value level rules in Rego: match the caller's and the object's tags, refuse changes by order state, guard a field with input.changedFields, cap a value with input.newObject, hide fields with redact, allow-list fields with visible (once a policy has any visible rule, every non-administrator sees only the fields its visible rules name), and access that ends on a date. - [How to Initially Configure Your ABAC Policy Upon Organization Account Registration](https://objectsgrid.com/blog/configure-abac-policy-at-registration/): where a new account's policy starts, and complete Rego policies for retail (customers read orders tagged with their id; fulfillment changes only an order's status) and for services (appointments as Reservations, staff and appointments matched by a location tag; overlapping appointments refused). - [How an AI Agent Can Onboard to a Backend API With No Human in the Loop](https://objectsgrid.com/blog/ai-agent-onboarding-without-a-human/): one unauthenticated request creates an Organization Account with admin, user and anonymous API keys, a working policy and 50,000 free requests a month; a person binds an administrator later. - [How to Verify Webhooks and Handle Retries](https://objectsgrid.com/blog/verify-webhook-signatures-and-handle-retries/): verify the signed JWT, answer fast, deduplicate at-least-once deliveries by event id, and handle out-of-order events. - [Catch the JavaScript Errors Your Users See](https://objectsgrid.com/blog/catch-javascript-errors-your-users-see/): capture browser and app errors and slow requests, send them to POST /log in batches with the anonymous key, and find what broke for whom. - [Rotate API Secrets Without Downtime](https://objectsgrid.com/blog/rotate-api-secrets-without-downtime/): rotate service account secrets with an overlap window in which old and new both work, one secret per job. - [Building a Multilingual Product Catalog](https://objectsgrid.com/blog/multilingual-product-catalog/): language-tagged text with BCP 47 tags, fallbacks, prices per market, and hreflang and structured data per language. - [Schema.org Structured Data Straight From Your Backend](https://objectsgrid.com/blog/schema-org-structured-data-from-your-backend/): publish Product JSON-LD for Google rich results from objects already modeled on Schema.org, without a mapping layer. - [GDPR Right to Erasure Without Breaking Your Data](https://objectsgrid.com/blog/gdpr-right-to-erasure-crypto-shredding/): erase a Person by crypto-shredding: delete its keys, keep orders and reviews intact, and meet tax retention rules. - [Lost Updates: Optimistic Concurrency With ETag and If-Match](https://objectsgrid.com/blog/optimistic-concurrency-etag-if-match/): what a lost update is, and how ETag and If-Match in REST, or expectedVersion in GraphQL, prevent it. - [Usage-Based API Pricing Without Bill Shock](https://objectsgrid.com/blog/usage-based-pricing-with-a-spending-cap/): what counts as a billable request, what is free, and how the monthly spending cap prevents a surprise bill. - [Attribute Based Access Control](https://objectsgrid.com/blog/attribute-based-access-control/): what ABAC is: access decided from attributes of the caller, the object, the action and the environment. - [ABAC vs RBAC](https://objectsgrid.com/blog/abac-vs-rbac/): why attribute-based access control scales better than roles and avoids role explosion. ## Optional - [Object reference](https://objectsgrid.com/docs/objects/): a page per object type, with its fields, REST endpoints, GraphQL operations and webhook events. - [Login with Google setup](https://objectsgrid.com/docs/get-started/login-with-google/), [Sign in with Apple setup](https://objectsgrid.com/docs/get-started/sign-in-with-apple/) and [Sign in with Okta](https://objectsgrid.com/docs/get-started/sign-in-with-okta/): registering an app with Google, Apple or your own Okta org to get ID tokens for your users; how long a sign-in lasts (refreshTokenLifetimeHours). - [User Account](https://objectsgrid.com/docs/accounts/user-account/), [Service Account](https://objectsgrid.com/docs/accounts/service-account/) and [Organization Account](https://objectsgrid.com/docs/accounts/organization-account/) reference pages. - [Core concepts](https://objectsgrid.com/docs/get-started/core-concepts/) - [Discovery document](https://objectsgrid.com/.well-known/index.json): machine-readable pointers to the APIs and documentation. - Planned objects, not yet available: Customer, PriceSpecification.