Guide
Connected apps
List the AI apps you connected to SignalBraid with OAuth, and revoke one, in Settings or through the app's session API.
When you connect an AI app (an MCP client) to SignalBraid by signing in and approving it, SignalBraid records a
grant: your consent for that app to read one workspace with the query:read scope. This page describes how to
see your grants and revoke one.
In Settings
Section titled “In Settings”In the SignalBraid app, open Settings and choose the Connected apps tab. It lists every app you have approved, in every organization and workspace you belong to, not only the workspace you are looking at, grouped by organization and workspace. Each app’s name is the one it gave when it registered. Revoke asks you to confirm, then ends that app’s access to that one workspace; your other workspaces are not changed.
The tab is shown to Owners and Admins of the organization you are looking at. It is not shown to a Viewer or an Analyst there, because those roles hold no active grants; if you are an Owner or Admin in another organization, open Settings from one of its workspaces, or use the routes below. The tab is also not shown where connecting AI apps with OAuth is not enabled.
What a grant is
Section titled “What a grant is”- Yours alone. A grant belongs to the person who approved it. Other members of the organization, its Owner included, do not see it and cannot revoke it.
- One per app and workspace. Approving the same app for the same workspace again reuses the same grant.
- Checked on every request. A grant is only honoured while you are still an Owner or Admin of that workspace’s
organization, your account is active, and the workspace and organization still exist. If one of those stops being
true, the app’s access ends at once. The grant then either shows as
inactiveand stays listed until you revoke it, or is revoked for you and leaves the list. - Not ended by an ordinary sign-out. Signing out of one session of the SignalBraid app does not disconnect your AI apps. Signing out everywhere, or choosing a new password through a password reset, revokes all of your grants. Otherwise revoke the grant yourself.
- Separate from API keys. Revoking a grant does not affect any workspace API key, and revoking an API key does not affect any grant.
Through the session API
Section titled “Through the session API”Listing and revoking also go through two routes of the app’s own session API, called from a browser that is signed in to the SignalBraid app. The Settings tab uses the same two routes. They are not part of the API-key surface in the API reference, and an API key cannot call them.
Connecting AI apps with OAuth is not enabled in every environment, and the routes answer differently depending on
why. Where the feature is switched off but the service behind the app is reachable, both routes answer
404 not_found, as an unknown route does. Where the app is not connected to that service at all, which is the case
for the production app for now, both routes answer 503 temporarily_unavailable, as they do for any temporary
fault. Either way, there is nothing to list or revoke there yet.
List your connected apps
Section titled “List your connected apps”GET /api/v1/app/oauth/grants on the app’s own origin, sent with your session cookie.
The answer is 200 with your grants that are not revoked, newest consent first, at most 100:
{ "serverTime": "2026-11-08T10:00:00.000Z", "limit": 100, "truncated": false, "grants": [ { "id": "…", "client": { "name": "Example assistant" }, "orgId": "…", "orgName": "Example organization", "workspaceId": "…", "workspaceName": "Example workspace", "scope": "query:read", "status": "active", "consentedAt": "2026-11-01T09:12:00.000Z", "lastUsedAt": "2026-11-07T16:40:00.000Z", "revokedAt": null } ]}The values above are illustrative.
| Field | Meaning |
|---|---|
id | The grant’s id; the revoke route takes it. |
client.name | The name the app registered with. It is the app’s own choice of name, not a name SignalBraid has verified. |
orgName, workspaceName | null when you can no longer see that workspace. |
status | active when the grant is honoured now; inactive when it is not (see above). |
lastUsedAt | When the app last used an access token from this grant, or null. |
truncated | true when you have more than 100 grants and only the newest 100 are listed. |
Revoked grants are not listed.
Revoke a connected app
Section titled “Revoke a connected app”POST /api/v1/app/oauth/grants/{grantId}/revoke on the app’s own origin, with no body. It needs your session cookie
and the header X-SignalBraid-CSRF set to your session’s CSRF token, which GET /api/v1/auth/session returns as
csrfToken. The browser adds the Origin header itself; a request from any other origin is refused.
On success the answer is 200 with the grant in the shape above, status: "revoked" and revokedAt set. Every
access and refresh token of the grant ends at once, so the app’s next request is refused. Revoking a grant that is
already revoked answers the same and changes nothing.
To give the app access again, connect it again from the app and approve it. That reactivates the same grant.
From the browser console
Section titled “From the browser console”Sign in to the SignalBraid app, open your browser’s developer tools on that tab, and run:
// 1. Read your grants and pick the one to revoke.const list = await (await fetch('/api/v1/app/oauth/grants')).json()console.table(list.grants.map(g => ({ id: g.id, app: g.client.name, workspace: g.workspaceName, status: g.status })))
// 2. Revoke it by id.const { csrfToken } = await (await fetch('/api/v1/auth/session')).json()const grantId = 'paste the id here'const answer = await fetch(`/api/v1/app/oauth/grants/${encodeURIComponent(grantId)}/revoke`, { method: 'POST', headers: { 'X-SignalBraid-CSRF': csrfToken } })console.log(answer.status, await answer.json())Only run code in the developer tools that you have read and understood. SignalBraid support will never ask you to paste code into your browser.
Errors
Section titled “Errors”Both routes answer errors in the usual envelope.
| Status | Code | When |
|---|---|---|
401 | not_authenticated, session_expired | You are not signed in, or your session has ended. Sign in again. |
403 | csrf_failed | Revoke only: the CSRF token is missing or wrong, or the request did not come from the app’s origin. |
400 | bearer_not_accepted | The request carried an Authorization header. These routes take your session, never a key or token. |
404 | grant_not_found | Revoke only: the id is not one of your grants. Another person’s grant answers the same. |
404 | not_found | Connecting AI apps with OAuth is switched off in this environment. |
503 | temporarily_unavailable | Try again shortly. For a revoke, the revoke may already have taken effect even though this answer came back: trying again is safe, and a grant that is already revoked answers 200. This answer is also what every request gets in an environment where connecting AI apps with OAuth is not available yet. |