Loading…
Loading…REST API v1
Execute workflows, query intelligence endpoints, and wire Gravitre into your stack — with the same connector health and approval gates as the product UI.
API path
One signature TRACE — the same governed path as the product UI, exposed over HTTP.
Rate limits are plan-specific and documented in the API docs — ask us for the limits that match your plan. No invented tier numbers here.
Writes go through the same human approval gates as the product UI
OAuth 2.0, API keys, and signed webhooks
Runs and approvals show up in the same audit trail operators already review
Connector availability matches what you see in the product — Configured → Executable
Execute AI agents with just a few lines of code
import { Gravitre } from '@gravitre/sdk';const client = new Gravitre({ apiKey: process.env.GRAVITRE_API_KEY, orgId: process.env.GRAVITRE_ORG_ID});// Execute a workflowconst run = await client.workflows.execute('wf_lead_sync', {await client.workflows.execute('wf_lead_sync', { parameters: { source: 'salesforce', destination: 'hubspot', syncMode: 'incremental' }});// Poll for completion or use webhooksconst result = await run.waitForCompletion();await run.waitForCompletion();console.log(result.status); // 'completed'console.log(result.status); // 'completed'console.log(result.steps); // Array of step outputsconsole.log(result.steps); // Array of step outputs// [{ name: 'Fetch Data', status: 'completed', output: {...} }, ...]/api/workflows/{id}/executeCore/api/workflows/api/workflows/{id}/builder/api/workflows/{id}/dry-runCore/api/runs/{id}/api/runs/{id}/approve/api/admin/intelligence/snapshotIntelligence/api/connectors/api/connectors/{id}/sync/api/metrics/overview/api/operator/action-planAIType-safe clients for your favorite languages
Receive real-time notifications when runs complete, workflows trigger, or errors occur. All webhooks are signed for security.
Configure webhooksSecure API access with scoped API keys or OAuth 2.0. Fine-grained permissions let you control exactly what each integration can access.
Authentication guideGet your API key and start integrating Gravitre in minutes.