Skip to content

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 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.

  • 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 inactive and 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.

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.

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.

FieldMeaning
idThe grant’s id; the revoke route takes it.
client.nameThe name the app registered with. It is the app’s own choice of name, not a name SignalBraid has verified.
orgName, workspaceNamenull when you can no longer see that workspace.
statusactive when the grant is honoured now; inactive when it is not (see above).
lastUsedAtWhen the app last used an access token from this grant, or null.
truncatedtrue when you have more than 100 grants and only the newest 100 are listed.

Revoked grants are not listed.

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.

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.

Both routes answer errors in the usual envelope.

StatusCodeWhen
401not_authenticated, session_expiredYou are not signed in, or your session has ended. Sign in again.
403csrf_failedRevoke only: the CSRF token is missing or wrong, or the request did not come from the app’s origin.
400bearer_not_acceptedThe request carried an Authorization header. These routes take your session, never a key or token.
404grant_not_foundRevoke only: the id is not one of your grants. Another person’s grant answers the same.
404not_foundConnecting AI apps with OAuth is switched off in this environment.
503temporarily_unavailableTry 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.