API reference
The Oblique API is a JSON API over HTTPS. It is the API the Terraform provider and the MCP server are built on, and everything either of them does can be done directly.
Base URL
Every path below hangs off https://us.oblique.security orhttps://eu.oblique.security. Each region is its own deployment, with its own data, so call the one your organization is in.
Authorization
Every request carries an API key as a bearer token. A key is a service account, and can call the operations listed here — which is the whole of the public API.
OBLIQUE_BASE_URL="https://us.oblique.security" # Or "https://eu.oblique.security"OBLIQUE_API_KEY="my-api-key"curl -H "Authorization: Bearer ${OBLIQUE_API_KEY}" \ "$OBLIQUE_BASE_URL/api/v1/users"Conventions
The API follows Google's API improvement proposals, so the shape of one operation tells you the shape of the rest.
- Every resource is identified and addressed by its
name— for exampleteams/platform/members/ada - A collection is read a page at a time: pass
pageSizeand thenextPageTokenof the previous page aspageToken - An update sends only the fields it changes, named in
updateMask - A
date-timeis an RFC 3339 timestamp in UTC, adurationis a number of seconds with ansafter it, and afield-maskis a comma-separated list of field names - A 64-bit integer is written as a string, since JSON numbers lose precision above 253