{"openapi":"3.1.0","info":{"title":"Grafana Content (BYOK) API","version":"0.1.0","description":"Grafana Content (BYOK) lets an AI assistant read your own Grafana Content data through the Grafana Content API with a key you supply (service account token (Viewer role is enough)). Read-only: 9 tools (get_library_element_by_name, get_library_element, list_library_element_connections, list_playlists, get_playlist, list_dashboard_tags, list_dashboard_versions, list_public_dashboards,...\n\nEvery operation is read-only or compute-only. The same tools are available over MCP (streamable HTTP) at https://byok-grafana-content.connectorbay.com/mcp.","contact":{"name":"Unify Dynamics LLC","email":"agent@connectorbay.com","url":"https://connectorbay.com/byok-grafana-content/docs"},"termsOfService":"https://connectorbay.com/byok-grafana-content/terms"},"servers":[{"url":"https://byok-grafana-content.connectorbay.com"}],"externalDocs":{"url":"https://connectorbay.com/byok-grafana-content/docs"},"security":[{"upstreamKey":[]}],"components":{"securitySchemes":{"bearer":{"type":"http","scheme":"bearer","description":"Optional. A Pro API key raises rate limits; no credentials are required."},"upstreamKey":{"type":"apiKey","in":"header","name":"X-Upstream-Key","description":"Your own key for the service this connector wraps (bring your own key). Used for that one call only; never stored, logged or cached."}},"schemas":{"Error":{"type":"object","properties":{"ok":{"const":false},"error":{"type":"object"}}}}},"paths":{"/v1/tools/get_library_element_by_name":{"post":{"operationId":"get_library_element_by_name","summary":"Find a library panel by its exact name: uid, type, folder, version and number of connected dashboards. The panel JSON mo","description":"Find a library panel by its exact name: uid, type, folder, version and number of connected dashboards. The panel JSON model is left out. Use for \"Find the Grafana library panel called CPU usage\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"stack":{"description":"Your Grafana Cloud stack name: the part before .grafana.net, for example 'mystack' for mystack.grafana.net.","maxLength":200,"pattern":"^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$","title":"Stack","type":"string"},"library_element_name":{"description":"Exact library panel name, for example 'CPU usage'.","maxLength":200,"title":"Library Element Name","type":"string"}},"required":["stack","library_element_name"],"title":"get_library_element_by_nameArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_library_element":{"post":{"operationId":"get_library_element","summary":"Get one library panel by UID: name, description, type, folder, version and connection count. The panel JSON model is lef","description":"Get one library panel by UID: name, description, type, folder, version and connection count. The panel JSON model is left out. Use for \"Show Grafana library panel lib1\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"stack":{"description":"Your Grafana Cloud stack name: the part before .grafana.net, for example 'mystack' for mystack.grafana.net.","maxLength":200,"pattern":"^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$","title":"Stack","type":"string"},"library_element_uid":{"description":"Library panel UID, for example from get_library_element_by_name.","maxLength":100,"title":"Library Element Uid","type":"string"}},"required":["stack","library_element_uid"],"title":"get_library_elementArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_library_element_connections":{"post":{"operationId":"list_library_element_connections","summary":"List the dashboards a library panel is used in (dashboard UID, connection id, creation time). Use for \"Which dashboards ","description":"List the dashboards a library panel is used in (dashboard UID, connection id, creation time). Use for \"Which dashboards use Grafana library panel lib1\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"stack":{"description":"Your Grafana Cloud stack name: the part before .grafana.net, for example 'mystack' for mystack.grafana.net.","maxLength":200,"pattern":"^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$","title":"Stack","type":"string"},"library_element_uid":{"description":"Library panel UID, for example from get_library_element_by_name.","maxLength":100,"title":"Library Element Uid","type":"string"}},"required":["stack","library_element_uid"],"title":"list_library_element_connectionsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_playlists":{"post":{"operationId":"list_playlists","summary":"List dashboard playlists with uid, name and rotation interval. Use for \"Which Grafana playlists exist\".","description":"List dashboard playlists with uid, name and rotation interval. Use for \"Which Grafana playlists exist\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"stack":{"description":"Your Grafana Cloud stack name: the part before .grafana.net, for example 'mystack' for mystack.grafana.net.","maxLength":200,"pattern":"^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$","title":"Stack","type":"string"},"query":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Only playlists whose name contains this text.","title":"Query"},"limit":{"anyOf":[{"maximum":1000,"minimum":1,"type":"integer"},{"type":"null"}],"default":50,"description":"Maximum playlists to return.","title":"Limit"}},"required":["stack"],"title":"list_playlistsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_playlist":{"post":{"operationId":"get_playlist","summary":"Get one playlist with its interval and items (dashboard by uid, by tag, or by id). Use for \"What does the Grafana playli","description":"Get one playlist with its interval and items (dashboard by uid, by tag, or by id). Use for \"What does the Grafana playlist pl1 show\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"stack":{"description":"Your Grafana Cloud stack name: the part before .grafana.net, for example 'mystack' for mystack.grafana.net.","maxLength":200,"pattern":"^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$","title":"Stack","type":"string"},"uid":{"description":"Playlist UID from list_playlists.","maxLength":100,"title":"Uid","type":"string"}},"required":["stack","uid"],"title":"get_playlistArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_dashboard_tags":{"post":{"operationId":"list_dashboard_tags","summary":"List all dashboard tags in the organization with the number of dashboards using each. Use for \"Which dashboard tags are ","description":"List all dashboard tags in the organization with the number of dashboards using each. Use for \"Which dashboard tags are used in Grafana\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"stack":{"description":"Your Grafana Cloud stack name: the part before .grafana.net, for example 'mystack' for mystack.grafana.net.","maxLength":200,"pattern":"^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$","title":"Stack","type":"string"}},"required":["stack"],"title":"list_dashboard_tagsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_dashboard_versions":{"post":{"operationId":"list_dashboard_versions","summary":"List the saved versions of a dashboard with version number, creation time, commit message and parent version. Author nam","description":"List the saved versions of a dashboard with version number, creation time, commit message and parent version. Author names and the dashboard JSON are left out. Use for \"What changed recently in Grafana dashboard abc123def\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"stack":{"description":"Your Grafana Cloud stack name: the part before .grafana.net, for example 'mystack' for mystack.grafana.net.","maxLength":200,"pattern":"^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$","title":"Stack","type":"string"},"uid":{"description":"Dashboard UID (from the existing search_dashboards tool).","maxLength":100,"title":"Uid","type":"string"},"limit":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":20,"description":"Maximum versions to return.","title":"Limit"},"start":{"anyOf":[{"maximum":100000,"minimum":0,"type":"integer"},{"type":"null"}],"default":0,"description":"Version number to start from.","title":"Start"}},"required":["stack","uid"],"title":"list_dashboard_versionsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_public_dashboards":{"post":{"operationId":"list_public_dashboards","summary":"List dashboards shared publicly: dashboard UID, title, enabled flag and slug. Access tokens are not returned by this too","description":"List dashboards shared publicly: dashboard UID, title, enabled flag and slug. Access tokens are not returned by this tool. Use for \"Which Grafana dashboards are shared publicly\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"stack":{"description":"Your Grafana Cloud stack name: the part before .grafana.net, for example 'mystack' for mystack.grafana.net.","maxLength":200,"pattern":"^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$","title":"Stack","type":"string"},"page":{"anyOf":[{"maximum":1000,"minimum":1,"type":"integer"},{"type":"null"}],"default":1,"description":"Page number, starting at 1.","title":"Page"},"per_page":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":50,"description":"Results per page.","title":"Per Page"}},"required":["stack"],"title":"list_public_dashboardsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_snapshots":{"post":{"operationId":"list_snapshots","summary":"List dashboard snapshots with name, creation and expiry time, and whether they are stored externally. Snapshot keys and ","description":"List dashboard snapshots with name, creation and expiry time, and whether they are stored externally. Snapshot keys and URLs are left out. Use for \"Which dashboard snapshots exist in Grafana\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"stack":{"description":"Your Grafana Cloud stack name: the part before .grafana.net, for example 'mystack' for mystack.grafana.net.","maxLength":200,"pattern":"^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$","title":"Stack","type":"string"},"query":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Only snapshots whose name contains this text.","title":"Query"},"limit":{"anyOf":[{"maximum":1000,"minimum":1,"type":"integer"},{"type":"null"}],"default":50,"description":"Maximum snapshots to return.","title":"Limit"}},"required":["stack"],"title":"list_snapshotsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}}}}