GaurGaur docs

Integrate with Gaur

The integrator's path. Query governed contracts from your applications, dashboards, and AI agents.

The Integrate track is for developers calling Gaur from their own software. You don't need to author contracts to integrate. You need a consumer slug, an API key, and the name of a contract to query.

If you're authoring contracts rather than consuming them, head to the Build track.

The three protocols

A consumer exposes its contracts through three protocols. Pick the one that fits your use case, or use more than one.

Everything you call is governed

Whichever protocol you use, you're always calling a contract. You never write SQL, never see raw schemas, and never bypass the row-level security a builder put in place. That's the point: your integration gets correct, consistent numbers, and the data team can change what's underneath without breaking you.

Before you start

You need three things from whoever administers your Gaur workspace:

  1. The base URL of the Gaur instance.
  2. A consumer slug, the consumer your integration will call.
  3. An API key for that consumer.

With those, every request looks like this:

curl -X POST https://<base-url>/v1/api/<consumer_slug>/query \
  -H "Authorization: Bearer <api_key>" \
  -H "Content-Type: application/json" \
  -d '{ "contract_name": "daily_revenue", "query": { "measures": ["revenue"] } }'

Pages in this track

For exact request and response schemas, see the API Reference.

On this page