On this page
API Reference
Every REST endpoint the API serves - generated from the same operation registry GET /openapi.json returns.
Auth & Workspaces
POST /v1/auth/signup
Creates a new identity, a new workspace (tenant), and an owner membership, then emails a single-use verification link. No session is created until the address is verified. `workspaceName` is optional - omitted, a default name is derived from the email address.
| Auth | None - public |
|---|---|
| Request body | Email, password, and optionally a display name and workspace name. |
application/json{
"email": "[email protected]",
"password": "correct-horse-battery-staple",
"displayName": "Ada"
}| Status | Meaning |
|---|---|
201 | Account and workspace created; email verification is required. |
403 | Self-serve sign-up is currently closed (the `signups-enabled` feature flag is off). Existing accounts sign in as normal and invitations still work. |
409 | An identity with that email already exists. |
Try it out
/v1/auth/signupAs curl
curl -X POST '/v1/auth/signup' \
-H 'Authorization: Bearer <your API key>' \
-H 'Content-Type: application/json' \
-d '{"email": "[email protected]","password": "correct-horse-battery-staple","displayName": "Ada"}'POST /v1/auth/email/verify
Spends the single-use token sent after sign-up, marks the identity's email verified, and starts its first workspace session.
| Auth | None - public |
|---|---|
| Request body | The token from the verification link. |
| Status | Meaning |
|---|---|
200 | Email verified; a session cookie is set. |
400 | The token is invalid, expired, or already used. |
Try it out
/v1/auth/email/verifyAs curl
curl -X POST '/v1/auth/email/verify' \
-H 'Authorization: Bearer <your API key>' \
-H 'Content-Type: application/json' \
-d '{}'POST /v1/auth/email/resend
Always returns the same accepted response whether the address is unknown, already verified, cooling down, or eligible. This prevents account enumeration.
| Auth | None - public |
|---|---|
| Request body | The email address to retry. |
| Status | Meaning |
|---|---|
202 | The request was accepted without disclosing account state. |
Try it out
/v1/auth/email/resendAs curl
curl -X POST '/v1/auth/email/resend' \
-H 'Authorization: Bearer <your API key>' \
-H 'Content-Type: application/json' \
-d '{}'GET /v1/auth/signup-availability
Read by the sign-up screen before it renders its form, so a visitor is told the door is closed rather than discovering it by submitting. `signUpsEnabled` is sign-up with a password; `passkeySignUp` is creating an account with a passkey, which stays open while password sign-in is off as long as passkeys are on. A hint, not a control: both sign-up requests re-check and refuse with 403 regardless of whether this was called.
| Auth | None - public |
|---|
| Status | Meaning |
|---|---|
200 | The current state, plus the sentence to show when it is closed. |
Try it out
/v1/auth/signup-availabilityAs curl
curl -X GET '/v1/auth/signup-availability' \
-H 'Authorization: Bearer <your API key>'POST /v1/auth/waitlist
Leaves an email address to be contacted when self-serve sign-up reopens. Only accepted while sign-up is closed. The response is the same whether or not the address was already on the list.
| Auth | None - public |
|---|---|
| Request body | The email address to add. |
application/json{
"email": "[email protected]"
}| Status | Meaning |
|---|---|
202 | The address is on the waitlist. |
400 | The email address is missing or malformed. |
409 | Sign-up is open, so there is no waitlist to join. Create an account instead. |
Try it out
/v1/auth/waitlistAs curl
curl -X POST '/v1/auth/waitlist' \
-H 'Authorization: Bearer <your API key>' \
-H 'Content-Type: application/json' \
-d '{"email": "[email protected]"}'POST /v1/auth/signin
Authenticates an existing identity. If the identity belongs to more than one workspace, `workspaceId` selects which one the session is scoped to; omitted, the most recently active workspace is used.
| Auth | None - public |
|---|---|
| Request body | Email, password, and an optional workspace id. |
application/json{
"email": "[email protected]",
"password": "correct-horse-battery-staple"
}| Status | Meaning |
|---|---|
200 | Signed in; a session cookie is set. |
401 | Wrong email or password. |
Try it out
/v1/auth/signinAs curl
curl -X POST '/v1/auth/signin' \
-H 'Authorization: Bearer <your API key>' \
-H 'Content-Type: application/json' \
-d '{"email": "[email protected]","password": "correct-horse-battery-staple"}'GET /v1/auth/login-options
Read by the sign-in screen. Lists the sign-in providers a platform admin has enabled, by name, with the path that starts a sign-in through each, whether email and password sign-in is allowed, and whether passkey sign-in is. The same answer for every visitor.
| Auth | None - public |
|---|
| Status | Meaning |
|---|---|
200 | The enabled providers and whether the password form shows. |
Try it out
/v1/auth/login-optionsAs curl
curl -X GET '/v1/auth/login-options' \
-H 'Authorization: Bearer <your API key>'GET /v1/auth/providers/{id}/start
A browser navigation, not an API call. Redirects to the provider's sign-in page using the authorization code flow with PKCE, and sets a short-lived cookie that ties the attempt to this browser. `returnTo` is a path on the console to land on afterwards.
| Auth | None - public |
|---|
| Status | Meaning |
|---|---|
302 | Redirect to the provider, or back to the sign-in page if the provider is unavailable. |
Try it out
/v1/auth/providers/%7Bid%7D/startFill in id.
As curl
curl -X GET '/v1/auth/providers/%7Bid%7D/start' \
-H 'Authorization: Bearer <your API key>'GET /v1/auth/providers/{id}/callback
Where the provider sends the browser back. Checks the attempt belongs to this browser, trades the code for a token, verifies the token's signature and claims, and signs in to the existing account with the email address the provider vouches for. No account is created for an unknown address.
| Auth | None - public |
|---|
| Status | Meaning |
|---|---|
302 | Signed in, with a session cookie set, and redirected to the requested page; or redirected to the sign-in page with a reason it can explain. |
Try it out
/v1/auth/providers/%7Bid%7D/callbackFill in id.
As curl
curl -X GET '/v1/auth/providers/%7Bid%7D/callback' \
-H 'Authorization: Bearer <your API key>'POST /v1/auth/passkey/options
Returns WebAuthn request options with a fresh challenge, for the browser to pass to `navigator.credentials.get()`, and sets a short-lived cookie that ties the challenge to this browser. The options name no account: the browser offers whichever passkeys it holds for this site. Refused with 403 while a platform admin has turned passkey sign-in off.
| Auth | None - public |
|---|
| Status | Meaning |
|---|---|
200 | The WebAuthn request options, under `options`. |
403 | Passkey sign-in is turned off on this deployment. |
Try it out
/v1/auth/passkey/optionsAs curl
curl -X POST '/v1/auth/passkey/options' \
-H 'Authorization: Bearer <your API key>'POST /v1/auth/passkey/verify
Checks the browser's signed answer to the challenge from `POST /v1/auth/passkey/options` and opens a session on the account the passkey belongs to, in that account's default workspace. The challenge is single-use and expires after five minutes.
| Auth | None - public |
|---|---|
| Request body | The credential the browser returned, as WebAuthn JSON, under `response`. |
| Status | Meaning |
|---|---|
200 | Signed in; a session cookie is set. |
400 | The challenge expired or was already used, or the answer is malformed. |
401 | The passkey is not on any account, or its signature did not verify. |
403 | Passkey sign-in is turned off, or the account cannot sign in yet. |
Try it out
/v1/auth/passkey/verifyAs curl
curl -X POST '/v1/auth/passkey/verify' \
-H 'Authorization: Bearer <your API key>' \
-H 'Content-Type: application/json' \
-d '{}'POST /v1/auth/signup/passkey/options
Takes the same details as a password sign-up, without the password, and returns WebAuthn creation options for the browser to pass to `navigator.credentials.create()`, with a short-lived cookie that ties the challenge to this browser. Nothing is created yet: the account is made when `POST /v1/auth/signup/passkey` returns a verified passkey.
| Auth | None - public |
|---|---|
| Request body | `email`, and optionally `displayName` and `workspaceName`. |
| Status | Meaning |
|---|---|
200 | The WebAuthn creation options, under `options`. |
400 | The email address or workspace name is not valid. |
403 | Sign-ups are closed, or passkeys are turned off on this deployment. |
409 | An account with that email already exists. |
Try it out
/v1/auth/signup/passkey/optionsAs curl
curl -X POST '/v1/auth/signup/passkey/options' \
-H 'Authorization: Bearer <your API key>' \
-H 'Content-Type: application/json' \
-d '{}'POST /v1/auth/signup/passkey
Checks the browser's new passkey against the challenge from `POST /v1/auth/signup/passkey/options`, then creates the account and its workspace with the passkey on it, and emails a verification link. Like a password sign-up, it opens no session: the passkey signs in once the email address is verified.
| Auth | None - public |
|---|---|
| Request body | The credential the browser created, as WebAuthn JSON, under `response`. |
| Status | Meaning |
|---|---|
201 | Account created; a verification email is on its way. |
400 | The challenge expired or was already used, or the answer did not verify. |
403 | Sign-ups are closed, or passkeys are turned off on this deployment. |
409 | The email address was taken meanwhile, or the passkey is already on an account. |
Try it out
/v1/auth/signup/passkeyAs curl
curl -X POST '/v1/auth/signup/passkey' \
-H 'Authorization: Bearer <your API key>' \
-H 'Content-Type: application/json' \
-d '{}'POST /v1/auth/signout
Revokes the session backing the request's session cookie.
| Auth | Session cookie |
|---|
| Status | Meaning |
|---|---|
204 | Signed out. |
Try it out
/v1/auth/signoutPaste an API key above to send this request.
As curl
curl -X POST '/v1/auth/signout' \
-H 'Authorization: Bearer <your API key>'GET /v1/auth/cli-login
The console page where a person signs in and authorizes the obi command line, or creates a token to paste when obi cannot be reached from the browser. `obi login` opens it.
| Auth | None - public |
|---|
| Status | Meaning |
|---|---|
200 | The page's address, as `url`. |
Try it out
/v1/auth/cli-loginAs curl
curl -X GET '/v1/auth/cli-login' \
-H 'Authorization: Bearer <your API key>'POST /v1/auth/cli-session
Creates a second session for the signed-in person in the current workspace and returns its token, for pasting into `obi login`. The calling session stays signed in. Only a browser session can call this; an API key cannot. The new session lasts 30 days, and signing out of the command line or changing the account password ends it.
| Auth | Session cookie |
|---|
| Status | Meaning |
|---|---|
201 | The new session's `id`, and its token as `token`. The token is shown once. |
401 | No session, or the credential is an API key. |
Try it out
/v1/auth/cli-sessionPaste an API key above to send this request.
As curl
curl -X POST '/v1/auth/cli-session' \
-H 'Authorization: Bearer <your API key>'GET /v1/auth/cli-session/{id}
Whether `obi login` has used a command line session the signed-in person created, so the sign-in page can tell them to go back to their terminal. Only the person who created the session can ask.
| Auth | Session cookie |
|---|
| Status | Meaning |
|---|---|
200 | `claimed` is true once the command line has used the session. |
404 | No such session for this person, or it has ended. |
Try it out
/v1/auth/cli-session/%7Bid%7DPaste an API key above to send this request. Fill in id.
As curl
curl -X GET '/v1/auth/cli-session/%7Bid%7D' \
-H 'Authorization: Bearer <your API key>'POST /v1/auth/cli-session/claim
Called by `obi login` with the token that was pasted in, after checking it works. Marks only the session that made the request.
| Auth | Session cookie |
|---|
| Status | Meaning |
|---|---|
204 | The session is now marked as in use by the command line. |
Try it out
/v1/auth/cli-session/claimPaste an API key above to send this request.
As curl
curl -X POST '/v1/auth/cli-session/claim' \
-H 'Authorization: Bearer <your API key>'POST /v1/auth/cli-login/approve
Called by the command line sign-in page when the signed-in person clicks Authorize. Returns a one-time code for the page to pass to `obi login`, which is waiting on this computer. The code works once, for two minutes, and only together with the secret `obi login` generated, so on its own it signs nobody in. `workspaceId` picks one of the person's workspaces and defaults to the current one. Only a browser session can call this; an API key cannot.
| Auth | Session cookie |
|---|---|
| Request body | The workspace to sign in to, and the PKCE challenge `obi login` generated (S256, base64url). |
application/json{
"workspaceId": "6f1c2a8e-0d0b-4a43-9a51-3b8d0c3f2b7e",
"codeChallenge": "E9Melhoa2OwvFrEMTJguCHaoeK1t8URWbuGJSstw-cM"
}| Status | Meaning |
|---|---|
201 | The one-time code, as `code`. |
400 | The challenge is missing or malformed. |
401 | No session. |
403 | The credential is an API key, or the account has no such workspace. |
Try it out
/v1/auth/cli-login/approvePaste an API key above to send this request.
As curl
curl -X POST '/v1/auth/cli-login/approve' \
-H 'Authorization: Bearer <your API key>' \
-H 'Content-Type: application/json' \
-d '{"workspaceId": "6f1c2a8e-0d0b-4a43-9a51-3b8d0c3f2b7e","codeChallenge": "E9Melhoa2OwvFrEMTJguCHaoeK1t8URWbuGJSstw-cM"}'POST /v1/auth/cli-login/token
Called by `obi login` with the one-time code the browser handed it and the PKCE verifier it generated. Returns a session token for the workspace the person authorized, with their role there. The session lasts 30 days, and signing out of the command line or changing the account password ends it. A code is spent by the first attempt to use it, whether or not the verifier matches.
| Auth | None - public |
|---|---|
| Request body | The code and the PKCE verifier. |
application/json{
"code": "q3J0...",
"codeVerifier": "dBjftJeZ4CVP-mB92K27uhbUJU1p1r_wW1gFWFOEjXk"
}| Status | Meaning |
|---|---|
200 | The new session's token, as `token`. |
400 | The code is unknown, expired or already used, or the verifier does not match it. |
Try it out
/v1/auth/cli-login/tokenAs curl
curl -X POST '/v1/auth/cli-login/token' \
-H 'Authorization: Bearer <your API key>' \
-H 'Content-Type: application/json' \
-d '{"code": "q3J0...","codeVerifier": "dBjftJeZ4CVP-mB92K27uhbUJU1p1r_wW1gFWFOEjXk"}'GET /v1/me
The identity, workspace, and role behind the current session - what the app shell uses to render the account menu.
| Auth | Session cookie or personal access token |
|---|
| Status | Meaning |
|---|---|
200 | The current user, workspace, and role. |
Try it out
/v1/mePaste an API key above to send this request.
As curl
curl -X GET '/v1/me' \
-H 'Authorization: Bearer <your API key>'GET /v1/workspaces
Every workspace the signed-in identity has a membership in - what the workspace switcher renders. Each one says whether it is the default the identity signs in to.
| Auth | Session cookie |
|---|
| Status | Meaning |
|---|---|
200 | The identity's workspaces. |
Try it out
/v1/workspacesPaste an API key above to send this request.
As curl
curl -X GET '/v1/workspaces' \
-H 'Authorization: Bearer <your API key>'PUT /v1/workspaces/default
Records which of the identity's workspaces a sign-in lands in. Send null to clear it, which puts sign-in back on the first workspace alphabetically. Does not move the current session - use the switch endpoint for that. Fails closed if the identity has no membership on the workspace named.
| Auth | Session cookie |
|---|---|
| Request body | The workspace id to sign in to, or null to clear. |
| Status | Meaning |
|---|---|
204 | Preference recorded. |
403 | No membership on that workspace. |
Try it out
/v1/workspaces/defaultPaste an API key above to send this request.
As curl
curl -X PUT '/v1/workspaces/default' \
-H 'Authorization: Bearer <your API key>' \
-H 'Content-Type: application/json' \
-d '{}'POST /v1/workspaces
Creates a new, empty workspace with the current identity as owner. Distinct data from every other workspace this identity belongs to.
| Auth | Session cookie |
|---|---|
| Request body | The new workspace's name. |
| Status | Meaning |
|---|---|
201 | Workspace created. |
Try it out
/v1/workspacesPaste an API key above to send this request.
As curl
curl -X POST '/v1/workspaces' \
-H 'Authorization: Bearer <your API key>' \
-H 'Content-Type: application/json' \
-d '{}'POST /v1/workspaces/switch
Re-scopes the current session to a different workspace the identity is a member of. Fails closed if the identity has no membership on the target workspace.
| Auth | Session cookie |
|---|---|
| Request body | The workspace id to switch to. |
| Status | Meaning |
|---|---|
200 | Session re-scoped. |
403 | No membership on that workspace. |
Try it out
/v1/workspaces/switchPaste an API key above to send this request.
As curl
curl -X POST '/v1/workspaces/switch' \
-H 'Authorization: Bearer <your API key>' \
-H 'Content-Type: application/json' \
-d '{}'GET /v1/account/deletion
Returns the server-calculated consequences of deleting the signed-in identity, including workspaces that will be deleted, workspaces the identity will leave, and ownership blockers that must be resolved first.
| Auth | Session cookie |
|---|
| Status | Meaning |
|---|---|
200 | The current account deletion plan. |
403 | The credential is not a signed-in identity session. |
Try it out
/v1/account/deletionPaste an API key above to send this request.
As curl
curl -X GET '/v1/account/deletion' \
-H 'Authorization: Bearer <your API key>'DELETE /v1/account
Permanently deletes the signed-in identity and its workspace memberships. A workspace is also deleted when this identity is its only member. The account and any such workspace stop working as soon as the request is accepted, and their data is erased in the background shortly after. The request is refused when deleting the identity would leave a workspace or organization without an owner.
| Auth | Session cookie |
|---|---|
| Request body | The current password and the account email typed as confirmation. |
application/json{
"currentPassword": "correct-horse-battery-staple",
"confirmation": "[email protected]"
}| Status | Meaning |
|---|---|
202 | Deletion has started: the account can no longer sign in, any sole-member workspaces are no longer reachable, and the session cookie was cleared. The data is erased in the background shortly after. |
400 | The typed email does not match the account email. |
401 | The current password is incorrect. |
403 | The credential is not a signed-in identity session. |
409 | The identity is the only owner of a workspace or organization that still has other members, or it holds a platform staff role. |
Try it out
/v1/accountPaste an API key above to send this request.
As curl
curl -X DELETE '/v1/account' \
-H 'Authorization: Bearer <your API key>' \
-H 'Content-Type: application/json' \
-d '{"currentPassword": "correct-horse-battery-staple","confirmation": "[email protected]"}'Organizations
GET /v1/organization
The organization that owns the workspace in scope, or `null` if the workspace is standalone - which is an ordinary, permanent answer rather than an error. Members of the organization also get its workspace inventory and member count; someone invited straight into this workspace gets the organization's name and nothing else, because knowing who governs the workspace you work in is not a disclosure about the organization's other workspaces.
| Auth | Session cookie |
|---|
| Status | Meaning |
|---|---|
200 | The organization, or `null`. |
Try it out
/v1/organizationPaste an API key above to send this request.
As curl
curl -X GET '/v1/organization' \
-H 'Authorization: Bearer <your API key>'GET /v1/organizations
Names, roles and workspace counts for every organization the signed-in identity is a member of - the picker behind "attach this workspace to an existing organization". Keyed on the session's own identity id, the same shape and the same argument as `GET /v1/workspaces`.
| Auth | Session cookie |
|---|
| Status | Meaning |
|---|---|
200 | The identity's organizations. |
Try it out
/v1/organizationsPaste an API key above to send this request.
As curl
curl -X GET '/v1/organizations' \
-H 'Authorization: Bearer <your API key>'POST /v1/organizations
Creates an organization, attaches the workspace in scope to it, and makes the caller its Owner. Requires Owner of that workspace. There is no organization-level check because there is no organization to hold a role against until this call creates one. With `createOrganizationWorkspace: true` it also creates an organization workspace, owned by the caller, for dashboards across the organization: it searches every workspace that shares with the organization workspace, which each workspace does unless an Admin switches it off. If the organization is created but its workspace cannot be, the response says why in `organizationWorkspaceError`.
| Auth | Session cookie |
|---|---|
| Request body | The organization's name, 2 to 80 characters, and optionally `createOrganizationWorkspace`. |
application/json{
"name": "Acme Corp"
}application/json{
"name": "Acme Corp",
"createOrganizationWorkspace": true
}| Status | Meaning |
|---|---|
201 | Organization created; the current workspace is attached. `organizationWorkspace` names the organization workspace when one was created. |
403 | You already belong to as many workspaces as you can. |
409 | This workspace already belongs to an organization. |
Try it out
/v1/organizationsPaste an API key above to send this request.
As curl
curl -X POST '/v1/organizations' \
-H 'Authorization: Bearer <your API key>' \
-H 'Content-Type: application/json' \
-d '{"name": "Acme Corp"}'POST /v1/organization/workspace
Creates the organization workspace for the organization the current workspace belongs to: a new workspace, owned by the caller and attached to the organization, intended for dashboards across it. It searches every workspace of the organization that shares with the organization workspace. Requires Admin or Owner of the organization. An organization has at most one.
| Auth | Session cookie |
|---|
| Status | Meaning |
|---|---|
201 | The organization workspace was created. |
403 | Your organization role cannot do that, or a workspace limit was reached. |
409 | The organization already has an organization workspace. |
Try it out
/v1/organization/workspacePaste an API key above to send this request.
As curl
curl -X POST '/v1/organization/workspace' \
-H 'Authorization: Bearer <your API key>'PUT /v1/organization/workspaces/{id}/sharing
Sets one of the organization's workspaces to share its logs with nobody else (`none`), with the organization workspace (`organization_workspace`, the default) or with every workspace in the organization (`organization`), which includes the organization workspace. `{ "shared": true }` and `{ "shared": false }` still work and mean `organization` and `none`. Requires Admin or Owner of the organization. The `id` must be one of this organization's workspaces.
| Auth | Session cookie |
|---|---|
| Request body | The sharing level as `level`. |
application/json{
"level": "organization"
}| Status | Meaning |
|---|---|
200 | Sharing updated. Applies to the very next search. |
400 | The level was not one of none, organization_workspace or organization. |
403 | Your organization role cannot do that. |
404 | No such workspace in this organization. |
Try it out
/v1/organization/workspaces/%7Bid%7D/sharingPaste an API key above to send this request. Fill in id.
As curl
curl -X PUT '/v1/organization/workspaces/%7Bid%7D/sharing' \
-H 'Authorization: Bearer <your API key>' \
-H 'Content-Type: application/json' \
-d '{"level": "organization"}'PATCH /v1/organizations/{id}
Requires Admin or Owner of the organization. The `id` is not scope and never widens it - scope still arrives from the session - it is a statement of intent, so that a rename fired from a tab left open before a workspace switch is refused rather than landing on whichever organization the cookie now resolves to.
| Auth | Session cookie |
|---|---|
| Request body | The new name. |
| Status | Meaning |
|---|---|
200 | Organization renamed. |
403 | Your organization role cannot do that. |
409 | That is not the organization your current workspace belongs to. |
Try it out
/v1/organizations/%7Bid%7DPaste an API key above to send this request. Fill in id.
As curl
curl -X PATCH '/v1/organizations/%7Bid%7D' \
-H 'Authorization: Bearer <your API key>' \
-H 'Content-Type: application/json' \
-d '{}'DELETE /v1/organizations/{id}
Requires Owner of the organization and Owner of the workspace the request is made from, plus the organization's exact name as `confirmation`. Destroys no log data: every workspace is detached and keeps everything in it. What it destroys is access - the seats the organization was issuing, and the sessions those seats supported.
| Auth | Session cookie |
|---|---|
| Request body | The organization's name, typed exactly, as `confirmation`. |
| Status | Meaning |
|---|---|
200 | Organization deleted and its workspaces detached. |
400 | The confirmation did not match the organization's name. |
403 | Your organization role cannot do that. |
Try it out
/v1/organizations/%7Bid%7DPaste an API key above to send this request. Fill in id.
As curl
curl -X DELETE '/v1/organizations/%7Bid%7D' \
-H 'Authorization: Bearer <your API key>' \
-H 'Content-Type: application/json' \
-d '{}'POST /v1/organization/attach
Requires Owner of the workspace in scope and Admin or Owner of the target organization; the second is re-derived server-side from the caller's own memberships, so naming an organization you do not administer is a 403 with the same message as naming one that does not exist. Seats every organization member in this workspace. `organizationId` is the only identifier a client supplies anywhere in this tag, and it is not scope: the workspace is always the session's.
| Auth | Session cookie |
|---|---|
| Request body | The target organization's id. |
| Status | Meaning |
|---|---|
200 | Workspace attached; organization members are now seated in it. |
403 | You do not administer that organization, or it holds the maximum of 25 workspaces. |
409 | This workspace already belongs to an organization. |
Try it out
/v1/organization/attachPaste an API key above to send this request.
As curl
curl -X POST '/v1/organization/attach' \
-H 'Authorization: Bearer <your API key>' \
-H 'Content-Type: application/json' \
-d '{}'POST /v1/organization/detach
Requires Owner of the workspace and Admin or Owner of the organization - both, because a workspace Owner should not be able to walk a workspace out of what may be the customer's billing and compliance boundary, and an organization Admin should not be able to cut one loose without its Owner. Withdraws every seat the organization was issuing here, which may include the caller's own: `stillAMember: false` means their session has been ended and the cookie cleared.
| Auth | Session cookie |
|---|
| Status | Meaning |
|---|---|
200 | Workspace detached. |
404 | This workspace does not belong to an organization. |
Try it out
/v1/organization/detachPaste an API key above to send this request.
As curl
curl -X POST '/v1/organization/detach' \
-H 'Authorization: Bearer <your API key>'GET /v1/organization/members
Gated on membership of the organization rather than on a workspace capability: an Admin of one workspace the organization happens to own is not thereby inside the organization, and this list carries the email addresses of people who may have nothing to do with their workspace.
| Auth | Session cookie |
|---|
| Status | Meaning |
|---|---|
200 | The organization's members and their roles. |
Try it out
/v1/organization/membersPaste an API key above to send this request.
As curl
curl -X GET '/v1/organization/members' \
-H 'Authorization: Bearer <your API key>'PATCH /v1/organization/members/{id}
Admin or Owner. Changes the workspace role that member's organization-issued seats carry, in every workspace the organization owns, at once. It does not touch a seat a workspace granted directly: a workspace that invited someone itself keeps the role it chose.
| Auth | Session cookie |
|---|---|
| Request body | One of `owner`, `admin`, `member`, `viewer`. |
| Status | Meaning |
|---|---|
200 | Role changed and seats reconciled. |
409 | That would leave the organization with no Owner. |
Try it out
/v1/organization/members/%7Bid%7DPaste an API key above to send this request. Fill in id.
As curl
curl -X PATCH '/v1/organization/members/%7Bid%7D' \
-H 'Authorization: Bearer <your API key>' \
-H 'Content-Type: application/json' \
-d '{}'DELETE /v1/organization/members/{id}
Admin or Owner. Withdraws every seat the organization was issuing on their behalf and kills the sessions those seats supported. Any workspace that invited them directly keeps them: removal is a statement about the organization, not an eviction from workspaces that made their own decision.
| Auth | Session cookie |
|---|
| Status | Meaning |
|---|---|
200 | Member removed and seats withdrawn. |
409 | That would leave the organization with no Owner. |
Try it out
/v1/organization/members/%7Bid%7DPaste an API key above to send this request. Fill in id.
As curl
curl -X DELETE '/v1/organization/members/%7Bid%7D' \
-H 'Authorization: Bearer <your API key>'GET /v1/organization/invitations
Admin or Owner, because who has been asked to join is administrative.
| Auth | Session cookie |
|---|
| Status | Meaning |
|---|---|
200 | Pending invitations. |
Try it out
/v1/organization/invitationsPaste an API key above to send this request.
As curl
curl -X GET '/v1/organization/invitations' \
-H 'Authorization: Bearer <your API key>'POST /v1/organization/invitations
Admin or Owner. An invitation rather than an add-by-email, and deliberately so: an add-by-email endpoint has to answer differently when the address has no account, and that difference is an account-enumeration oracle handed to every customer. Valid for 7 days. The response carries the accept link once, for the "copy invite link" fallback when mail delivery fails.
| Auth | Session cookie |
|---|---|
| Request body | The invitee's email and the organization role to grant. |
application/json{
"email": "[email protected]",
"role": "admin"
}| Status | Meaning |
|---|---|
201 | Invitation issued and emailed. |
409 | That person is already in this organization. |
Try it out
/v1/organization/invitationsPaste an API key above to send this request.
As curl
curl -X POST '/v1/organization/invitations' \
-H 'Authorization: Bearer <your API key>' \
-H 'Content-Type: application/json' \
-d '{"email": "[email protected]","role": "admin"}'DELETE /v1/organization/invitations/{id}
Admin or Owner. The link stops working immediately.
| Auth | Session cookie |
|---|
| Status | Meaning |
|---|---|
200 | Invitation revoked. |
404 | No such pending invitation. |
Try it out
/v1/organization/invitations/%7Bid%7DPaste an API key above to send this request. Fill in id.
As curl
curl -X DELETE '/v1/organization/invitations/%7Bid%7D' \
-H 'Authorization: Bearer <your API key>'GET /v1/organization-invitations/{token}
What the accept screen renders before anyone commits. Unauthenticated by design, because the invite token is the credential, and non-consuming, so opening the link twice does not burn it.
| Auth | None - public |
|---|
| Status | Meaning |
|---|---|
200 | The organization's name, the invited address, the role, and the expiry. |
404 | Invalid, expired, or already used. |
Try it out
/v1/organization-invitations/%7Btoken%7DFill in token.
As curl
curl -X GET '/v1/organization-invitations/%7Btoken%7D' \
-H 'Authorization: Bearer <your API key>'POST /v1/organization-invitations/accept
Unauthenticated by design: the token is the credential. The invited address comes from the invitation row and never from the request, and if that address already has an account its password is required - otherwise an invitation would be a way to take over an existing account by naming it. Ends in a session on one of the organization's workspaces, resolved from the memberships the server just created. An organization that owns no workspaces yet answers `signedIn: false`: the person really has joined, there is simply nowhere to open a session on.
| Auth | None - public |
|---|---|
| Request body | The invite token, plus a password and display name for a new account. |
| Status | Meaning |
|---|---|
201 | Invitation accepted. |
401 | The password for that existing account is incorrect. |
404 | Invalid, expired, or already used. |
Try it out
/v1/organization-invitations/acceptAs curl
curl -X POST '/v1/organization-invitations/accept' \
-H 'Authorization: Bearer <your API key>' \
-H 'Content-Type: application/json' \
-d '{}'Liveness Checks
GET /v1/checks
Every Liveness Check configured in the current workspace, paginated - the table `/checks` renders.
| Auth | Session cookie or personal access token |
|---|
| Status | Meaning |
|---|---|
200 | A page of checks. |
403 | The Liveness Checks add-on (Liveness Checks and the status page) is turned off for this workspace. An owner or admin can turn it on from Add-ons. |
Try it out
/v1/checksPaste an API key above to send this request.
As curl
curl -X GET '/v1/checks' \
-H 'Authorization: Bearer <your API key>'POST /v1/checks
Adds a check (`ping`, `http`, or `search`) and schedules its first run within seconds - the zero-code MVP ingestion door.
| Auth | Session cookie or personal access token |
|---|---|
| Request body | The check's type, target, method, and interval. |
application/json{
"name": "Marketing site",
"type": "http",
"target": "https://obistack.com/",
"method": "GET",
"intervalSeconds": 60
}| Status | Meaning |
|---|---|
201 | Check created. |
403 | The Liveness Checks add-on (Liveness Checks and the status page) is turned off for this workspace. An owner or admin can turn it on from Add-ons. |
Try it out
/v1/checksPaste an API key above to send this request.
As curl
curl -X POST '/v1/checks' \
-H 'Authorization: Bearer <your API key>' \
-H 'Content-Type: application/json' \
-d '{"name": "Marketing site","type": "http","target": "https://obistack.com/","method": "GET","intervalSeconds": 60}'GET /v1/checks/{id}
A single check's configuration plus its recent run history, for the check detail page.
| Auth | Session cookie or personal access token |
|---|
| Status | Meaning |
|---|---|
200 | The check and its recent runs. |
403 | The Liveness Checks add-on (Liveness Checks and the status page) is turned off for this workspace. An owner or admin can turn it on from Add-ons. |
404 | No check with that id in this workspace. |
Try it out
/v1/checks/%7Bid%7DPaste an API key above to send this request. Fill in id.
As curl
curl -X GET '/v1/checks/%7Bid%7D' \
-H 'Authorization: Bearer <your API key>'PATCH /v1/checks/{id}
Partial update - only the fields present in the body change.
| Auth | Session cookie or personal access token |
|---|---|
| Request body | Any subset of a check's editable fields. |
| Status | Meaning |
|---|---|
200 | Check updated. |
403 | The Liveness Checks add-on (Liveness Checks and the status page) is turned off for this workspace. An owner or admin can turn it on from Add-ons. |
Try it out
/v1/checks/%7Bid%7DPaste an API key above to send this request. Fill in id.
As curl
curl -X PATCH '/v1/checks/%7Bid%7D' \
-H 'Authorization: Bearer <your API key>' \
-H 'Content-Type: application/json' \
-d '{}'DELETE /v1/checks/{id}
Removes the check and stops scheduling further runs. Past run history is deleted with it.
| Auth | Session cookie or personal access token |
|---|
| Status | Meaning |
|---|---|
204 | Check deleted. |
403 | The Liveness Checks add-on (Liveness Checks and the status page) is turned off for this workspace. An owner or admin can turn it on from Add-ons. |
Try it out
/v1/checks/%7Bid%7DPaste an API key above to send this request. Fill in id.
As curl
curl -X DELETE '/v1/checks/%7Bid%7D' \
-H 'Authorization: Bearer <your API key>'GET /v1/checks/summary
Up/down/degraded counts across every check in the workspace - what the nav status indicator and checks list header render.
| Auth | Session cookie or personal access token |
|---|
| Status | Meaning |
|---|---|
200 | Aggregate check health. |
403 | The Liveness Checks add-on (Liveness Checks and the status page) is turned off for this workspace. An owner or admin can turn it on from Add-ons. |
Try it out
/v1/checks/summaryPaste an API key above to send this request.
As curl
curl -X GET '/v1/checks/summary' \
-H 'Authorization: Bearer <your API key>'POST /v1/checks/test
Executes a check's target/method/query against a short-lived rate limit, without persisting a check row - the "Test" button on the check form.
| Auth | Session cookie or personal access token |
|---|---|
| Request body | The same shape as `createCheck`, but nothing is saved. |
| Status | Meaning |
|---|---|
200 | The one-off run's result. |
403 | The Liveness Checks add-on (Liveness Checks and the status page) is turned off for this workspace. An owner or admin can turn it on from Add-ons. |
429 | Test rate limit exceeded for this workspace. |
Try it out
/v1/checks/testPaste an API key above to send this request.
As curl
curl -X POST '/v1/checks/test' \
-H 'Authorization: Bearer <your API key>' \
-H 'Content-Type: application/json' \
-d '{}'Query & Search
GET /v1/query/schema
Supported external read API. Send `Authorization: Bearer <personal-access-token>` to discover the fields, inferred types, and sampled values available within the token creator's workspace and Data Scopes.
| Auth | Session cookie or personal access token |
|---|
| Status | Meaning |
|---|---|
200 | The token-visible workspace schema. |
401 | The bearer token is missing or invalid. |
403 | The credential is an ingest key or otherwise lacks a personal read scope. |
429 | This personal access token exceeded the shared Query API allowance. Retry after the number of seconds in `Retry-After`. |
Try it out
/v1/query/schemaPaste an API key above to send this request.
As curl
curl -X GET '/v1/query/schema' \
-H 'Authorization: Bearer <your API key>'POST /v1/query
Supported external read API. Send `Authorization: Bearer <personal-access-token>` with an ObiQL query. `read_only` and `full_access` tokens can read, subject to the creator's RBAC capabilities and Data Scopes; only `full_access` can request `| delete`, and it still needs the delete-events capability. A query ending in `| askObi` sends the results in front of it to the workspace's AI model and returns its findings as rows (`severity`, `finding`, `detail`, `evidence`), with the model's overall summary in `obi.summary`; it needs the Obi AI Assistant add-on and counts toward Obi's spending limits.
| Auth | Session cookie or personal access token |
|---|---|
| Request body | An ObiQL query string plus a time range. |
application/json{
"query": "level=\"error\" | stats count() by service",
"from": "now-1h",
"to": "now"
}application/json{
"query": "service:payments level:error \"payment failed\"",
"from": "now-15m",
"to": "now",
"page": 1,
"perPage": 50
}| Status | Meaning |
|---|---|
200 | Query results. |
400 | The query failed to parse or compile - see `error.message` for the ObiQL-specific reason. |
401 | The bearer token is missing or invalid. |
403 | The credential lacks a personal read scope, its Data Scope grants no data, `read_only` attempted `| delete`, or `| askObi` is not available to this member or at the workspace's Obi data level. |
409 | `| askObi` was used but Obi has not been set up for this workspace. |
429 | This personal access token exceeded the shared Query API allowance (retry after the number of seconds in `Retry-After`), or `| askObi` reached an Obi spending limit. |
502 | `| askObi` could not get an answer from the workspace's AI provider. |
Try it out
/v1/queryPaste an API key above to send this request.
As curl
curl -X POST '/v1/query' \
-H 'Authorization: Bearer <your API key>' \
-H 'Content-Type: application/json' \
-d '{"query": "level=\"error\" | stats count() by service","from": "now-1h","to": "now"}'POST /v1/mcp
The Model Context Protocol endpoint (Streamable HTTP transport, stateless JSON responses) that lets an AI agent such as Claude Code, Claude Desktop, Cursor or VS Code query this workspace. Send one JSON-RPC 2.0 message per request with `Authorization: Bearer <personal-access-token>`; a cookie is not accepted. Supports `initialize`, `ping`, `tools/list` and `tools/call`. Every tool is read-only, runs with the token's own permissions and Data Scopes, and returns aggregates in full and up to 20 example log lines per query. Needs only the token: no add-on or AI provider, because the agent brings its own model. A notification gets 202 with no body. GET and DELETE answer 405.
| Auth | Ingest key |
|---|---|
| Request body | One JSON-RPC 2.0 message. |
application/json{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}application/json{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "run_query",
"arguments": {
"query": "level=\"error\" | stats count() by service",
"from": "-1h",
"to": "now"
}
}
}| Status | Meaning |
|---|---|
200 | The JSON-RPC response. A tool that failed reports `result.isError: true` with the reason as text. |
202 | A notification was accepted. No body. |
400 | The body was not one JSON-RPC message. |
401 | The bearer token is missing or invalid. |
403 | The token is not a personal read token. |
Try it out
/v1/mcpPaste an ingest key above to send this request.
As curl
curl -X POST '/v1/mcp' \
-H 'Authorization: Bearer <your API key>' \
-H 'Content-Type: application/json' \
-d '{"jsonrpc": "2.0","id": 1,"method": "tools/list"}'Onboarding
GET /v1/onboarding/status
Whether this workspace has received at least one event yet, and from which door - what routes a brand-new workspace to "Connect Your Data" instead of an empty Explorer.
| Auth | Session cookie or personal access token |
|---|
| Status | Meaning |
|---|---|
200 | Onboarding status. |
Try it out
/v1/onboarding/statusPaste an API key above to send this request.
As curl
curl -X GET '/v1/onboarding/status' \
-H 'Authorization: Bearer <your API key>'POST /v1/onboarding/fluent-bit/sessions
Records the deployment shape chosen and the ingest key minted for a Fluent Bit Onboarding Wizard run (Step 68), so the wizard panel can resume across a page refresh. The key itself is minted separately via `POST /v1/api-keys` with `door: "fluent_bit"`; this only stores which shape it goes with.
| Auth | Session cookie |
|---|---|
| Request body | The freshly minted ingest key's id and the chosen deployment shape. |
application/json{
"apiKeyId": "b6b6b6b6-0000-4000-8000-000000000000",
"deploymentShape": "k8s_daemonset"
}| Status | Meaning |
|---|---|
201 | Session created. |
400 | Missing or invalid apiKeyId or deploymentShape, or apiKeyId does not name an ingest key in this workspace. |
Try it out
/v1/onboarding/fluent-bit/sessionsPaste an API key above to send this request.
As curl
curl -X POST '/v1/onboarding/fluent-bit/sessions' \
-H 'Authorization: Bearer <your API key>' \
-H 'Content-Type: application/json' \
-d '{"apiKeyId": "b6b6b6b6-0000-4000-8000-000000000000","deploymentShape": "k8s_daemonset"}'GET /v1/onboarding/fluent-bit/sessions/current
The caller's own most recently created Fluent Bit wizard session that has not yet received its first event, or null if they have none in progress. Scoped per user, not per workspace, so one teammate's in-progress wizard never resumes into a colleague's browser tab.
| Auth | Session cookie or personal access token |
|---|
| Status | Meaning |
|---|---|
200 | The current session, or null. |
Try it out
/v1/onboarding/fluent-bit/sessions/currentPaste an API key above to send this request.
As curl
curl -X GET '/v1/onboarding/fluent-bit/sessions/current' \
-H 'Authorization: Bearer <your API key>'Data Inputs
GET /v1/sources
Every data input feeding this workspace - Liveness Checks and ingest keys today, other ingestion doors as later steps land. Each carries a `kind` saying which door it is.
| Auth | Session cookie or personal access token |
|---|
| Status | Meaning |
|---|---|
200 | The workspace's data inputs. |
Try it out
/v1/sourcesPaste an API key above to send this request.
As curl
curl -X GET '/v1/sources' \
-H 'Authorization: Bearer <your API key>'Ingest
POST /v1/events
The raw HTTP door. Accepts one event, an array of events, or `text/plain` with one event per line. Requires an **ingest** key, not a personal access token: the key is the data input, and every event sent with it is filed under that key's id as its `source_id`. The workspace is derived from the key alone - a `tenant_id` in the payload is dropped and the attempt logged.
| Auth | Ingest key |
|---|---|
| Request body | A single event, an array of events, or raw text. Every field is optional. `timestamp` defaults to receipt time; `level`, `service`, and `message` are left empty when omitted rather than filled with a placeholder like `info` or `unknown`. A `message` that is present must be non-empty. |
application/json{
"level": "info",
"message": "hello from obistack",
"service": "my-script",
"fields": {
"order_id": "ord_123",
"attempt": 3
}
}application/json[
{
"level": "info",
"message": "checkout started",
"service": "checkout",
"fields": {
"order_id": "ord_123"
}
},
{
"level": "warn",
"message": "payment retry",
"service": "payment",
"fields": {
"attempt": 2
}
},
{
"level": "error",
"message": "payment failed after 3 attempts",
"service": "payment",
"timestamp": "2026-08-06T10:15:30.000Z"
}
]text/plain2026-08-06T10:15:30Z INFO checkout cart loaded in 42ms
2026-08-06T10:15:31Z WARN payment gateway slow (1.2s)
2026-08-06T10:15:33Z ERROR payment gateway timeout after 3 retries| Status | Meaning |
|---|---|
202 | Accepted and durably queued. Not yet queryable - the pipeline runs next, with a p99 indexing latency target under 10 seconds. `accepted` is the event count, and `sourceId` is the ingest key's own id - the data input everything sent with this key is filed under. |
400 | The payload was malformed. The response names the offending field, and `index` says which element of a batch it was. |
401 | No credential, or an unrecognised one. |
403 | A valid key, but not an ingest key. |
413 | Body over the size cap. |
429 | This key exceeded its rate limit. See `retry-after`. |
Try it out
/v1/eventsPaste an ingest key above to send this request.
As curl
curl -X POST '/v1/events' \
-H 'Authorization: Bearer <your API key>' \
-H 'Content-Type: application/json' \
-d '{"level": "info","message": "hello from obistack","service": "my-script","fields": {"order_id": "ord_123","attempt": 3}}'POST /ingest/otel/v1/logs
The OpenTelemetry Collector logs door (Path B). Same credential model as `POST /v1/events` - an **ingest** key, never a personal access token - and the same pipeline underneath; only the wire format differs. Point an OTLP/HTTP exporter's generic `endpoint` at your API origin followed by `/ingest/otel`, and it appends `/v1/logs` itself. Accepts `Content-Type: application/json` and `application/x-protobuf` (a Collector's default). Answers with OTLP's own response contract, not this API's usual one: `200` on success, and `429`/`503` are the only retryable failures.
| Auth | Ingest key |
|---|---|
| Request body | An OTLP `ExportLogsServiceRequest` (`resourceLogs` to `scopeLogs` to `logRecords`). `body` is preserved with its decoded type and is also mapped to the existing `message` compatibility field. `severity_text` maps to `level`, while `severity_number` is preserved as `otel.severity_number`. Resource and log record attributes remain fields under their literal (dotted) keys, so `service.name` promotes to the `service` column through the ordinary alias table. |
application/json{
"resourceLogs": [
{
"resource": {
"attributes": [
{
"key": "service.name",
"value": {
"stringValue": "checkout"
}
}
]
},
"scopeLogs": [
{
"logRecords": [
{
"severityText": "ERROR",
"body": {
"stringValue": "payment webhook retry exhausted"
},
"attributes": [
{
"key": "order_id",
"value": {
"stringValue": "ord_123"
}
}
]
}
]
}
]
}
]
}| Status | Meaning |
|---|---|
200 | Accepted and durably queued - OTLP's own success contract, not this API's usual `202`. Body is an empty `ExportLogsServiceResponse` (`{}`). |
400 | The payload was not a well-formed OTLP export request, or was empty. |
401 | No credential, or an unrecognised one. |
403 | A valid key, but not an ingest key. |
413 | Body over the size cap. |
429 | This key exceeded its rate limit. |
503 | The ingest pipeline is not available. Nothing was stored; retry. |
Try it out
/ingest/otel/v1/logsPaste an ingest key above to send this request.
As curl
curl -X POST '/ingest/otel/v1/logs' \
-H 'Authorization: Bearer <your API key>' \
-H 'Content-Type: application/json' \
-d '{"resourceLogs": [{"resource": {"attributes": [{"key": "service.name","value": {"stringValue": "checkout"}}]},"scopeLogs": [{"logRecords": [{"severityText": "ERROR","body": {"stringValue": "payment webhook retry exhausted"},"attributes": [{"key": "order_id","value": {"stringValue": "ord_123"}}]}]}]}]}'POST /ingest/otel/v1/traces
The OTLP/HTTP traces path, under the `/ingest/otel` base path. An exporter whose generic `endpoint` is your API origin followed by `/ingest/otel` appends `/v1/traces` itself. It accepts OTLP JSON or protobuf with an ingest key and maps each span onto the normal tenant-scoped ingestion pipeline.
| Auth | Ingest key |
|---|---|
| Request body | An OTLP `ExportTraceServiceRequest` containing `resourceSpans`. Each span retains its trace and parent ids, timing, status, resource attributes, and span attributes. |
application/json{
"resourceSpans": [
{
"resource": {
"attributes": [
{
"key": "service.name",
"value": {
"stringValue": "checkout"
}
}
]
},
"scopeSpans": [
{
"spans": [
{
"traceId": "5B8EFFF798038103D269B633813FC60C",
"spanId": "EEE19B7EC3C1B174",
"name": "POST /checkout",
"kind": 2,
"startTimeUnixNano": "1788948000000000000",
"endTimeUnixNano": "1788948000120000000"
}
]
}
]
}
]
}| Status | Meaning |
|---|---|
200 | Accepted and durably queued. The JSON response is an empty `ExportTraceServiceResponse` (`{}`). |
400 | The payload was not a well-formed OTLP trace export request, or was empty. |
401 | No credential, or an unrecognised one. |
403 | A valid key, but not an ingest key. |
413 | Body over the size cap. |
429 | This key exceeded its rate limit. |
503 | The ingest pipeline is not available. Nothing was stored; retry. |
Try it out
/ingest/otel/v1/tracesPaste an ingest key above to send this request.
As curl
curl -X POST '/ingest/otel/v1/traces' \
-H 'Authorization: Bearer <your API key>' \
-H 'Content-Type: application/json' \
-d '{"resourceSpans": [{"resource": {"attributes": [{"key": "service.name","value": {"stringValue": "checkout"}}]},"scopeSpans": [{"spans": [{"traceId": "5B8EFFF798038103D269B633813FC60C","spanId": "EEE19B7EC3C1B174","name": "POST /checkout","kind": 2,"startTimeUnixNano": "1788948000000000000","endTimeUnixNano": "1788948000120000000"}]}]}]}'POST /ingest/otel/v1/metrics
The OTLP/HTTP metrics path, under the `/ingest/otel` base path. An exporter whose generic `endpoint` is your API origin followed by `/ingest/otel` appends `/v1/metrics` itself. It accepts OTLP JSON or protobuf with an ingest key and maps each gauge, sum, or histogram data point onto the normal tenant-scoped ingestion pipeline.
| Auth | Ingest key |
|---|---|
| Request body | An OTLP `ExportMetricsServiceRequest` containing `resourceMetrics`. Metric identity, point values or buckets, temporality, monotonic flag, timestamps, and attributes are retained. |
application/json{
"resourceMetrics": [
{
"resource": {
"attributes": [
{
"key": "service.name",
"value": {
"stringValue": "checkout"
}
}
]
},
"scopeMetrics": [
{
"metrics": [
{
"name": "process.runtime.memory",
"unit": "By",
"gauge": {
"dataPoints": [
{
"timeUnixNano": "1788948000000000000",
"asDouble": 104857600
}
]
}
}
]
}
]
}
]
}| Status | Meaning |
|---|---|
200 | Accepted and durably queued. The JSON response is an empty `ExportMetricsServiceResponse` (`{}`). |
400 | The payload was not a well-formed OTLP metrics export request, or was empty. |
401 | No credential, or an unrecognised one. |
403 | A valid key, but not an ingest key. |
413 | Body over the size cap. |
429 | This key exceeded its rate limit. |
503 | The ingest pipeline is not available. Nothing was stored; retry. |
Try it out
/ingest/otel/v1/metricsPaste an ingest key above to send this request.
As curl
curl -X POST '/ingest/otel/v1/metrics' \
-H 'Authorization: Bearer <your API key>' \
-H 'Content-Type: application/json' \
-d '{"resourceMetrics": [{"resource": {"attributes": [{"key": "service.name","value": {"stringValue": "checkout"}}]},"scopeMetrics": [{"metrics": [{"name": "process.runtime.memory","unit": "By","gauge": {"dataPoints": [{"timeUnixNano": "1788948000000000000","asDouble": 104857600}]}}]}]}]}'GET /v1/hosts/os-hardening-setup.sh
Returns the static shell script used by the Hosts setup flow to install or remove scheduled Lynis hardening reporting. The script contains no workspace credential; its install mode accepts the ingest key as a command-line flag.
| Auth | None - public |
|---|
| Status | Meaning |
|---|---|
200 | The setup script as `text/x-shellscript`, with a short public cache lifetime. |
Try it out
/v1/hosts/os-hardening-setup.shAs curl
curl -X GET '/v1/hosts/os-hardening-setup.sh' \
-H 'Authorization: Bearer <your API key>'GET /v1/hosts/os-vulnerability-setup.sh
Returns the static shell script used by the Hosts setup flow to install or remove scheduled Trivy vulnerability reporting. The script contains no workspace credential; its install mode accepts the ingest key as a command-line flag.
| Auth | None - public |
|---|
| Status | Meaning |
|---|---|
200 | The setup script as `text/x-shellscript`, with a short public cache lifetime. |
Try it out
/v1/hosts/os-vulnerability-setup.shAs curl
curl -X GET '/v1/hosts/os-vulnerability-setup.sh' \
-H 'Authorization: Bearer <your API key>'API Keys
GET /v1/api-keys
Every API key this workspace has created, active or revoked - name, prefix, scope, and last-used time. Never the secret itself; see createApiKey for the one response that carries it.
| Auth | Session cookie |
|---|
| Status | Meaning |
|---|---|
200 | The workspace's API keys. |
Try it out
/v1/api-keysPaste an API key above to send this request.
As curl
curl -X GET '/v1/api-keys' \
-H 'Authorization: Bearer <your API key>'POST /v1/api-keys
Mints a new key with the given name, scope (`read_only`, `full_access`, or `ingest`), and expiry. The full secret is returned in this response only - it is stored hashed and cannot be retrieved again.
| Auth | Session cookie |
|---|---|
| Request body | The key's name, scope, and expiry in days (or `null` for never). |
application/json{
"name": "Log Shipper - prod",
"scope": "ingest",
"expiresInDays": 90
}| Status | Meaning |
|---|---|
201 | Key created; the response body is the only time its secret is shown. |
400 | Missing or invalid name, scope, or expiresInDays. |
Try it out
/v1/api-keysPaste an API key above to send this request.
As curl
curl -X POST '/v1/api-keys' \
-H 'Authorization: Bearer <your API key>' \
-H 'Content-Type: application/json' \
-d '{"name": "Log Shipper - prod","scope": "ingest","expiresInDays": 90}'DELETE /v1/api-keys/{id}
Immediate and irreversible - the next request authenticated with this key returns 401. Rotation is create-then-revoke; there is no separate rotate operation.
| Auth | Session cookie |
|---|
| Status | Meaning |
|---|---|
204 | Key revoked. |
404 | No such key in this workspace, or it was already revoked. |
Try it out
/v1/api-keys/%7Bid%7DPaste an API key above to send this request. Fill in id.
As curl
curl -X DELETE '/v1/api-keys/%7Bid%7D' \
-H 'Authorization: Bearer <your API key>'Saved Queries
POST /v1/saved-searches
Persists an ObiQL query, its source (`logs` or `audit`), default time range, and visibility (`private` or `shared` workspace-wide) as a named, reusable saved query - what the Log Explorer's "Save query" drawer writes.
| Auth | Session cookie or personal access token |
|---|---|
| Request body | A name, an ObiQL query, a source, a default time range, and a visibility. `source` defaults to `logs`. |
application/json{
"name": "Payments errors, last hour",
"query": "level:error service:payments",
"defaultRange": "1h",
"visibility": "shared",
"source": "logs"
}| Status | Meaning |
|---|---|
201 | The created saved query. |
400 | Missing name, or a query that fails to compile - see `message` for the ObiQL-specific reason. |
Try it out
/v1/saved-searchesPaste an API key above to send this request.
As curl
curl -X POST '/v1/saved-searches' \
-H 'Authorization: Bearer <your API key>' \
-H 'Content-Type: application/json' \
-d '{"name": "Payments errors, last hour","query": "level:error service:payments","defaultRange": "1h","visibility": "shared","source": "logs"}'GET /v1/saved-searches
Every saved query visible to the caller in this workspace - their own (`private` or `shared`) plus every other member's `shared` ones - optionally narrowed with `?q=` to a case-insensitive substring of the name, what the Explorer sidebar panel's search box calls.
| Auth | Session cookie or personal access token |
|---|
| Status | Meaning |
|---|---|
200 | The caller's visible saved queries. |
Try it out
/v1/saved-searchesPaste an API key above to send this request.
As curl
curl -X GET '/v1/saved-searches' \
-H 'Authorization: Bearer <your API key>'GET /v1/saved-searches/{id}
One saved query by id - what the Explorer's stable `?saved=` link resolves on load, so the same URL always opens whatever the query currently contains rather than a snapshot frozen at share time. 404s a `private` query someone else owns exactly like it 404s one that does not exist, so its existence is never revealed to a non-owner.
| Auth | Session cookie or personal access token |
|---|
| Status | Meaning |
|---|---|
200 | The saved query. |
404 | No such saved query, or it exists but is private to someone else. |
Try it out
/v1/saved-searches/%7Bid%7DPaste an API key above to send this request. Fill in id.
As curl
curl -X GET '/v1/saved-searches/%7Bid%7D' \
-H 'Authorization: Bearer <your API key>'PATCH /v1/saved-searches/{id}
Renames a saved query, re-points its query/default range, or changes its visibility. Owner-only: every other member can load a `shared` query but not modify it.
| Auth | Session cookie or personal access token |
|---|---|
| Request body | Any subset of name/query/defaultRange/visibility/source - only the fields present are changed. |
application/json{
"name": "Payments errors (last hour)"
}| Status | Meaning |
|---|---|
200 | The updated saved query. |
403 | The saved query exists and is visible to the caller, but they are not its owner. |
404 | No such saved query. |
Try it out
/v1/saved-searches/%7Bid%7DPaste an API key above to send this request. Fill in id.
As curl
curl -X PATCH '/v1/saved-searches/%7Bid%7D' \
-H 'Authorization: Bearer <your API key>' \
-H 'Content-Type: application/json' \
-d '{"name": "Payments errors (last hour)"}'DELETE /v1/saved-searches/{id}
Owner-only, same rule as renaming. A saved query linked to an alert rule cannot be deleted until the rule is unlinked or repointed.
| Auth | Session cookie or personal access token |
|---|
| Status | Meaning |
|---|---|
204 | Deleted. No body. |
403 | The saved query exists and is visible to the caller, but they are not its owner. |
404 | No such saved query. |
409 | The saved query is still linked to one or more alert rules. |
Try it out
/v1/saved-searches/%7Bid%7DPaste an API key above to send this request. Fill in id.
As curl
curl -X DELETE '/v1/saved-searches/%7Bid%7D' \
-H 'Authorization: Bearer <your API key>'POST /v1/background-searches
Starts an ObiQL search that keeps running after this call returns, and stores the first 1,000 rows of its result for 7 days. Takes the same `query`, `from`, `to` and `scope` as `POST /v1/query`. Background searches are private to the member who started them. Set `notifyByEmail` to email that member's verified address when the search finishes; the email carries the search's name, how many events matched and a link, never the results themselves. Activity searches, `| delete` and `| askObi` cannot run in the background.
| Auth | Session cookie or personal access token |
|---|---|
| Request body | The search to run, an optional name, and whether to email you when it finishes. |
application/json{
"name": "Payment errors this week",
"query": "level:error service:payments",
"from": "now-7d",
"to": "now",
"notifyByEmail": true
}| Status | Meaning |
|---|---|
202 | The background search, queued to run. |
400 | The request or the query is not valid, or the query cannot run in the background. |
403 | The credential has no member identity to own the search. |
429 | You, or the workspace, already have the most background searches allowed running at once. |
Try it out
/v1/background-searchesPaste an API key above to send this request.
As curl
curl -X POST '/v1/background-searches' \
-H 'Authorization: Bearer <your API key>' \
-H 'Content-Type: application/json' \
-d '{"name": "Payment errors this week","query": "level:error service:payments","from": "now-7d","to": "now","notifyByEmail": true}'GET /v1/background-searches
Your own background searches in this workspace, newest first, with their status and match counts but without their results.
| Auth | Session cookie or personal access token |
|---|
| Status | Meaning |
|---|---|
200 | Your background searches. |
Try it out
/v1/background-searchesPaste an API key above to send this request.
As curl
curl -X GET '/v1/background-searches' \
-H 'Authorization: Bearer <your API key>'GET /v1/background-searches/{id}
One of your background searches. Once it has finished, `result` holds the stored rows in the same shape `POST /v1/query` returns.
| Auth | Session cookie or personal access token |
|---|
| Status | Meaning |
|---|---|
200 | The background search. |
404 | No such background search, it has expired, or it belongs to someone else. |
Try it out
/v1/background-searches/%7Bid%7DPaste an API key above to send this request. Fill in id.
As curl
curl -X GET '/v1/background-searches/%7Bid%7D' \
-H 'Authorization: Bearer <your API key>'DELETE /v1/background-searches/{id}
Deletes one of your background searches and its result. Deleting one that is still running discards its result when it finishes, and no email is sent.
| Auth | Session cookie or personal access token |
|---|
| Status | Meaning |
|---|---|
204 | Deleted. No body. |
404 | No such background search, or it belongs to someone else. |
Try it out
/v1/background-searches/%7Bid%7DPaste an API key above to send this request. Fill in id.
As curl
curl -X DELETE '/v1/background-searches/%7Bid%7D' \
-H 'Authorization: Bearer <your API key>'Search History
GET /v1/search-history
The last 20 distinct searches the caller has run, most recently run first - what the Log Explorer's History menu and the History tab on the Searches screen list. Page through it with `limit` (1 to 100, default 20) and `offset` (default 0); `total` in the response counts every entry, not just the page. Private to the caller: there is no parameter for reading another member's history, and no role that can. A credential with no person behind it has none and reads as an empty list.
| Auth | Session cookie or personal access token |
|---|
| Status | Meaning |
|---|---|
200 | One page of the caller's recent searches, with the total. |
400 | `limit` or `offset` is not a whole number in range. |
Try it out
/v1/search-historyPaste an API key above to send this request.
As curl
curl -X GET '/v1/search-history' \
-H 'Authorization: Bearer <your API key>'POST /v1/search-history
Records a search in the caller's own history. Running the same query against the same source again updates that entry - moving it to the top and counting the run - rather than adding a second one, and only the 20 most recently run are kept. `range` is stored and handed back verbatim, never evaluated: a relative token such as `15m` or `all`, or an absolute `<from>/<to>` pair of ISO instants.
| Auth | Session cookie or personal access token |
|---|---|
| Request body | The ObiQL query as it was typed, including a `source=audit` chip if the search addressed Activity, and the time range it was run over. |
application/json{
"query": "level:error service:payments",
"range": "1h"
}| Status | Meaning |
|---|---|
204 | Recorded, or ignored for a credential with no personal identity. No body. |
400 | The query or range is not a string, or is longer than the limit. |
Try it out
/v1/search-historyPaste an API key above to send this request.
As curl
curl -X POST '/v1/search-history' \
-H 'Authorization: Bearer <your API key>' \
-H 'Content-Type: application/json' \
-d '{"query": "level:error service:payments","range": "1h"}'DELETE /v1/search-history/{id}
Removes a single entry from the caller's own history. An id belonging to someone else is indistinguishable from one that never existed, and neither is reported as an error.
| Auth | Session cookie or personal access token |
|---|
| Status | Meaning |
|---|---|
204 | Gone, whether or not it was there. No body. |
Try it out
/v1/search-history/%7Bid%7DPaste an API key above to send this request. Fill in id.
As curl
curl -X DELETE '/v1/search-history/%7Bid%7D' \
-H 'Authorization: Bearer <your API key>'DELETE /v1/search-history
Forgets every search in the caller's own history. Saved queries are not affected.
| Auth | Session cookie or personal access token |
|---|
| Status | Meaning |
|---|---|
204 | Cleared. No body. |
Try it out
/v1/search-historyPaste an API key above to send this request.
As curl
curl -X DELETE '/v1/search-history' \
-H 'Authorization: Bearer <your API key>'Settings
GET /v1/settings/retention
The workspace-level default retention window in days that applies to any input without its own override.
| Auth | Session cookie or personal access token |
|---|
| Status | Meaning |
|---|---|
200 | Current retention setting. |
Try it out
/v1/settings/retentionPaste an API key above to send this request.
As curl
curl -X GET '/v1/settings/retention' \
-H 'Authorization: Bearer <your API key>'PATCH /v1/settings/retention
Raising the retention window applies forward only; lowering it deletes the newly out-of-window data through one audited, tenant-scoped path.
| Auth | Session cookie or personal access token |
|---|---|
| Request body | The new retention window in days. |
| Status | Meaning |
|---|---|
200 | Retention setting updated. |
Try it out
/v1/settings/retentionPaste an API key above to send this request.
As curl
curl -X PATCH '/v1/settings/retention' \
-H 'Authorization: Bearer <your API key>' \
-H 'Content-Type: application/json' \
-d '{}'GET /v1/settings/add-ons
Every add-on and whether this workspace has it switched on. Each workspace decides for itself; switching one here never changes another workspace.
| Auth | Session cookie or personal access token |
|---|
| Status | Meaning |
|---|---|
200 | Each add-on's key and whether it is on. |
Try it out
/v1/settings/add-onsPaste an API key above to send this request.
As curl
curl -X GET '/v1/settings/add-ons' \
-H 'Authorization: Bearer <your API key>'PUT /v1/settings/add-ons/{key}
Turns one add-on on or off for this workspace only, and takes effect on the next request. Turning one off keeps whatever was set up under it, which comes back when it is turned on again. Requires the owner or admin role.
| Auth | Session cookie or personal access token |
|---|---|
| Request body | Whether the add-on should be on. |
application/json{
"enabled": true
}| Status | Meaning |
|---|---|
200 | Saved. The body is the same map the read returns. |
400 | enabled is not true or false. |
403 | The caller is not an owner or admin of this workspace. |
404 | There is no add-on with that key. |
Try it out
/v1/settings/add-ons/%7Bkey%7DPaste an API key above to send this request. Fill in key.
As curl
curl -X PUT '/v1/settings/add-ons/%7Bkey%7D' \
-H 'Authorization: Bearer <your API key>' \
-H 'Content-Type: application/json' \
-d '{"enabled": true}'GET /v1/settings/personas
Every persona this workspace offers: the five standard personas and the workspace's own, each with the sidebar items it shows, how many members use it, and whether it is hidden from the picker. A persona only changes which sidebar entries a member sees. It never restricts what they can open or do; roles decide that.
| Auth | Session cookie or personal access token |
|---|
| Status | Meaning |
|---|---|
200 | Every persona, the workspace default for new members, and the custom persona count and limit. |
Try it out
/v1/settings/personasPaste an API key above to send this request.
As curl
curl -X GET '/v1/settings/personas' \
-H 'Authorization: Bearer <your API key>'POST /v1/settings/personas
Creates a persona with a name unique in this workspace, an optional one-line description and the sidebar items it shows. startFrom copies another persona; sidebar items added in a later release follow the standard persona it started from, and are hidden when it started from nothing. A workspace holds at most 25 custom personas. Requires the owner or admin role.
| Auth | Session cookie or personal access token |
|---|---|
| Request body | Name, description, the persona to start from (or null), and a map of sidebar item id to shown. |
application/json{
"name": "Support",
"description": "Helping customers with sessions and errors.",
"startFrom": "developer",
"items": {
"code.repositories": false,
"user-analytics.sessions": true
}
}| Status | Meaning |
|---|---|
201 | Created. The body is the new persona as the list returns it. |
400 | The name, description or an item id is not valid. |
403 | The caller is not an owner or admin of this workspace. |
404 | startFrom names a persona this workspace does not have. |
409 | The name is already used, or the workspace already has 25 custom personas. |
Try it out
/v1/settings/personasPaste an API key above to send this request.
As curl
curl -X POST '/v1/settings/personas' \
-H 'Authorization: Bearer <your API key>' \
-H 'Content-Type: application/json' \
-d '{"name": "Support","description": "Helping customers with sessions and errors.","startFrom": "developer","items": {"code.repositories": false,"user-analytics.sessions": true}}'PATCH /v1/settings/personas/{id}
A custom persona takes a new name, description or items. A standard persona other than Admin takes items, stored as this workspace's changes to the standard sidebar, and hidden, which removes it from the picker without moving the members already on it. Admin always shows everything and cannot be edited. Requires the owner or admin role.
| Auth | Session cookie or personal access token |
|---|---|
| Request body | The fields to change. |
application/json{
"items": {
"monitor.explorer": true
}
}| Status | Meaning |
|---|---|
200 | Saved. The body is the persona as the list returns it. |
400 | The change is not valid for this persona. |
403 | The caller is not an owner or admin of this workspace. |
404 | There is no persona with that id in this workspace. |
409 | Another persona in this workspace already uses that name. |
Try it out
/v1/settings/personas/%7Bid%7DPaste an API key above to send this request. Fill in id.
As curl
curl -X PATCH '/v1/settings/personas/%7Bid%7D' \
-H 'Authorization: Bearer <your API key>' \
-H 'Content-Type: application/json' \
-d '{"items": {"monitor.explorer": true}}'POST /v1/settings/personas/{id}/reset
Drops this workspace's changes to a standard persona, so it shows the standard sidebar again. Requires the owner or admin role.
| Auth | Session cookie or personal access token |
|---|
| Status | Meaning |
|---|---|
200 | Reset. The body is the persona as the list returns it. |
400 | The persona is Admin or a custom persona. |
403 | The caller is not an owner or admin of this workspace. |
Try it out
/v1/settings/personas/%7Bid%7D/resetPaste an API key above to send this request. Fill in id.
As curl
curl -X POST '/v1/settings/personas/%7Bid%7D/reset' \
-H 'Authorization: Bearer <your API key>'DELETE /v1/settings/personas/{id}
Deletes a custom persona. When members use it, or it is the workspace default, reassignTo names the persona they move to; the move and the delete happen together or not at all. Requires the owner or admin role.
| Auth | Session cookie or personal access token |
|---|
| Status | Meaning |
|---|---|
200 | Deleted. The body says how many members moved and carries the updated list. |
400 | The persona is a standard persona, or reassignTo is the persona being deleted. |
403 | The caller is not an owner or admin of this workspace. |
404 | The persona or reassignTo is not a persona in this workspace. |
409 | Members use the persona and no reassignTo was given. |
Try it out
/v1/settings/personas/%7Bid%7DPaste an API key above to send this request. Fill in id.
As curl
curl -X DELETE '/v1/settings/personas/%7Bid%7D' \
-H 'Authorization: Bearer <your API key>'PUT /v1/settings/personas/default
The persona new members who are not owners or admins start on, and that members who never chose one follow. null returns to the standard default, Developer. Requires the owner or admin role.
| Auth | Session cookie or personal access token |
|---|---|
| Request body | The persona id, or null. |
application/json{
"persona": "sre"
}| Status | Meaning |
|---|---|
200 | Saved. The body is the updated list. |
400 | The persona is not valid, or is hidden from the picker. |
403 | The caller is not an owner or admin of this workspace. |
404 | There is no persona with that id in this workspace. |
Try it out
/v1/settings/personas/defaultPaste an API key above to send this request.
As curl
curl -X PUT '/v1/settings/personas/default' \
-H 'Authorization: Bearer <your API key>' \
-H 'Content-Type: application/json' \
-d '{"persona": "sre"}'GET /v1/settings/personas/me
Your persona in this workspace, where it came from (your choice, your role, or the workspace default), and the sidebar item ids it hides.
| Auth | Session cookie or personal access token |
|---|
| Status | Meaning |
|---|---|
200 | Your persona and the sidebar items it hides. |
Try it out
/v1/settings/personas/mePaste an API key above to send this request.
As curl
curl -X GET '/v1/settings/personas/me' \
-H 'Authorization: Bearer <your API key>'PUT /v1/settings/personas/me
Choose one of the personas this workspace offers, or null to follow the workspace default. Applies to this workspace only.
| Auth | Session cookie or personal access token |
|---|---|
| Request body | The persona id, or null. |
application/json{
"persona": "sre"
}| Status | Meaning |
|---|---|
200 | Saved. The body is the same shape the read returns. |
400 | The persona is not valid, or this workspace no longer offers it. |
403 | The caller is not a person who is a member of this workspace. |
404 | There is no persona with that id in this workspace. |
Try it out
/v1/settings/personas/mePaste an API key above to send this request.
As curl
curl -X PUT '/v1/settings/personas/me' \
-H 'Authorization: Bearer <your API key>' \
-H 'Content-Type: application/json' \
-d '{"persona": "sre"}'GET /v1/settings/personas/members
Each member's persona and where it came from. Requires the owner or admin role.
| Auth | Session cookie or personal access token |
|---|
| Status | Meaning |
|---|---|
200 | One entry per member. |
403 | The caller is not an owner or admin of this workspace. |
Try it out
/v1/settings/personas/membersPaste an API key above to send this request.
As curl
curl -X GET '/v1/settings/personas/members' \
-H 'Authorization: Bearer <your API key>'PUT /v1/settings/personas/members/{userId}
Set any persona for a member of this workspace, or null to have them follow the workspace default. Requires the owner or admin role.
| Auth | Session cookie or personal access token |
|---|---|
| Request body | The persona id, or null. |
application/json{
"persona": "marketing"
}| Status | Meaning |
|---|---|
200 | Saved. The body is the member's updated entry. |
400 | The persona is not valid. |
403 | The caller is not an owner or admin of this workspace. |
404 | The member or the persona is not in this workspace. |
Try it out
/v1/settings/personas/members/%7BuserId%7DPaste an API key above to send this request. Fill in userId.
As curl
curl -X PUT '/v1/settings/personas/members/%7BuserId%7D' \
-H 'Authorization: Bearer <your API key>' \
-H 'Content-Type: application/json' \
-d '{"persona": "marketing"}'Status Pages
GET /v1/status-page
Which checks are published to this workspace's public status page, and its branding.
| Auth | Session cookie or personal access token |
|---|
| Status | Meaning |
|---|---|
200 | Status page configuration. |
403 | The Liveness Checks add-on (Liveness Checks and the status page) is turned off for this workspace. An owner or admin can turn it on from Add-ons. |
Try it out
/v1/status-pagePaste an API key above to send this request.
As curl
curl -X GET '/v1/status-page' \
-H 'Authorization: Bearer <your API key>'GET /v1/public/status-page/{handle}
The one route in this API with no session or API key - a workspace's public status page, reachable by anyone with its handle. Only checks explicitly published to it (`isPublic: true`) are ever included.
| Auth | None - public |
|---|
| Status | Meaning |
|---|---|
200 | The published checks' current status. |
404 | No status page with that handle, it has been unpublished, or its workspace has turned the Liveness Checks add-on off. |
Try it out
/v1/public/status-page/%7Bhandle%7DFill in handle.
As curl
curl -X GET '/v1/public/status-page/%7Bhandle%7D' \
-H 'Authorization: Bearer <your API key>'System
GET /healthz
Liveness probe for the API process itself - always unauthenticated, always tenant-free. Used by the container orchestrator, not by product code.
| Auth | None - public |
|---|
| Status | Meaning |
|---|---|
200 | The process is up. |
Try it out
/healthzAs curl
curl -X GET '/healthz' \
-H 'Authorization: Bearer <your API key>'GET /openapi.json
This document. Generated from this same registry, so `/docs/api/*` and the schema a client's code generator would read from are always the same list of operations.
| Auth | None - public |
|---|
| Status | Meaning |
|---|---|
200 | The full OpenAPI 3.1 document. |
Try it out
/openapi.jsonAs curl
curl -X GET '/openapi.json' \
-H 'Authorization: Bearer <your API key>'