---
title: "Per-user OAuth connection status"
method: GET
path: "/api/oauth/{serverId}/status"
tags: ["OAuth"]
---

# Per-user OAuth connection status

`GET /api/oauth/{serverId}/status`

## Request

- Base URL: `/api/plugins/consensys-asko11y-app/resources` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/plugins/consensys-asko11y-app/resources/api/oauth/{serverId}/status`
- Auth: one of:
  - API key in cookie `grafana_session`
  - HTTP bearer

Reports whether the current Grafana user has connected their account for an OAuth-enabled MCP server.

## Path parameters

- `serverId` string, required

## Response `200`

Connection status

- OAuthStatus: Per-user OAuth connection state for an MCP server
  - `configured` boolean: The server has an OAuth block
  - `connected` boolean: The current user holds a usable token
  - `expiresAt` string, date-time

## Other responses

- `404`: Server unknown or has no OAuth configuration

## Changes

- **2026-08-25** `336f05fb2b50`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/consensys/apis/ask-o11y-ai-powered-observability-assistant-api/changes/api/oauth/:serverId/status/get.md)

---

[API](https://skmtc.dev/consensys/apis/ask-o11y-ai-powered-observability-assistant-api.md) - [All operations](https://skmtc.dev/consensys/apis/ask-o11y-ai-powered-observability-assistant-api/llms.txt) - [OpenAPI document](https://skmtc.dev/consensys/apis/ask-o11y-ai-powered-observability-assistant-api/revisions/ee3ccd0f186d?raw)
