Skip to main content

AI gateway

POST /ai-gateway/inspect · requires contract_view (view)
provider
string
required
model
string
required
purpose
string
required
input
string
required
Max 8000 characters.
toolName
string
Runs a proposed AI request against the tenant’s AI gateway policy (allowed providers/models, redaction mode) before it’s sent anywhere — see AI_GATEWAY_MODE, AI_GATEWAY_ALLOWED_PROVIDERS, and AI_GATEWAY_ALLOWED_MODELS in Configuration. This is a policy/compliance control available on the business plan and above, not a general-purpose AI completion endpoint.

Google Calendar

All endpoints require admin (edit) except the OAuth callback, which is public (the provider redirects here directly and cannot attach a bearer token).
EndpointNotes
GET /google-calendar/statusWhether this tenant has an active Google Calendar connection.
GET /google-calendar/start?next=Redirects into Google’s OAuth consent flow.
GET /google-calendar/callbackPublic. Google redirects back here to complete the connection.
POST /google-calendar/sync-open-paymentsPushes open/upcoming payments into the connected calendar.