Grafana Search API

The search API from Grafana — 2 operation(s) for search.

Operations 2

GET /search/sorting List search sorting options #

Documentation

📖
Documentation
https://grafana.com/docs/grafana/latest/developers/http_api/
📖
Authentication
https://grafana.com/docs/grafana/latest/developers/http_api/authentication/
📖
Documentation
https://grafana.com/docs/grafana/latest/developers/http_api/dashboard/
📖
Documentation
https://grafana.com/docs/grafana/latest/developers/http_api/dashboard_versions/
📖
Documentation
https://grafana.com/docs/grafana/latest/developers/http_api/dashboard_permissions/
📖
Documentation
https://grafana.com/docs/grafana/latest/developers/http_api/dashboard_public/
📖
Documentation
https://grafana.com/docs/grafana/latest/developers/http_api/folder/
📖
Documentation
https://grafana.com/docs/grafana/latest/developers/http_api/folder_dashboard_search/
📖
Documentation
https://grafana.com/docs/grafana/latest/developers/http_api/folder_permissions/
📖
Documentation
https://grafana.com/docs/grafana/latest/developers/http_api/data_source/
📖
Documentation
https://grafana.com/docs/grafana/latest/developers/http_api/datasource_permissions/
📖
Documentation
https://grafana.com/docs/grafana/latest/developers/http_api/datasource_lbac_rules/
📖
Documentation
https://grafana.com/docs/grafana/latest/developers/http_api/alerting_provisioning/
📖
Documentation
https://grafana.com/docs/grafana/latest/developers/http_api/annotations/
📖
Documentation
https://grafana.com/docs/grafana/latest/developers/http_api/org/
📖
Documentation
https://grafana.com/docs/grafana/latest/developers/http_api/user/
📖
Documentation
https://grafana.com/docs/grafana/latest/developers/http_api/team/
📖
Documentation
https://grafana.com/docs/grafana/latest/developers/http_api/team_sync/
📖
Documentation
https://grafana.com/docs/grafana/latest/developers/http_api/preferences/
📖
Documentation
https://grafana.com/docs/grafana/latest/developers/http_api/access_control/
📖
Documentation
https://grafana.com/docs/grafana/latest/developers/http_api/serviceaccount/
📖
Documentation
https://grafana.com/docs/grafana/latest/developers/http_api/sso-settings/
📖
Documentation
https://grafana.com/docs/grafana/latest/developers/http_api/admin/
📖
Documentation
https://grafana.com/docs/grafana/latest/developers/http_api/licensing/
📖
Documentation
https://grafana.com/docs/grafana/latest/developers/http_api/reporting/
📖
Documentation
https://grafana.com/docs/grafana/latest/developers/http_api/query_and_resource_caching/
📖
Documentation
https://grafana.com/docs/grafana/latest/developers/http_api/library_element/
📖
Documentation
https://grafana.com/docs/grafana/latest/developers/http_api/correlations/
📖
Documentation
https://grafana.com/docs/grafana/latest/developers/http_api/snapshot/
📖
Documentation
https://grafana.com/docs/grafana/latest/developers/http_api/short_url/
📖
Documentation
https://grafana.com/docs/grafana/latest/developers/http_api/query_history/

Specifications

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/grafana-com-search-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

grafana-com-search-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: 'The Grafana backend exposes an HTTP API, the same API is used by the frontend to do

    everything from saving dashboards, creating users and updating data sources.'
  title: Grafana HTTP API. Search API
  contact:
    name: Grafana Labs
    url: https://grafana.com
    email: hello@grafana.com
  version: 0.0.1
servers:
- url: /api
security:
- basic: []
- api_key: []
tags:
- name: Search
paths:
  /search:
    get:
      tags:
      - Search
      operationId: search
      parameters:
      - description: Search Query
        name: query
        in: query
        schema:
          type: string
      - description: List of tags to search for
        name: tag
        in: query
        style: form
        explode: true
        schema:
          type: array
          items:
            type: string
      - description: 'Type to search for, dash-folder or dash-db

          Description:

          - `dash-folder` - Search for folder

          - `dash-db` - Seatch for dashboard'
        name: type
        in: query
        schema:
          type: string
          enum:
          - dash-folder
          - dash-db
      - description: 'List of dashboard id’s to search for

          This is deprecated: users should use the `dashboardUIDs` query parameter instead'
        name: dashboardIds
        in: query
        schema:
          type: array
          items:
            type: integer
            format: int64
      - description: List of dashboard uid’s to search for
        name: dashboardUIDs
        in: query
        schema:
          type: array
          items:
            type: string
      - description: 'List of folder id’s to search in for dashboards

          If it''s `0` then it will query for the top level folders

          This is deprecated: users should use the `folderUIDs` query parameter instead


          Deprecated: use FolderUIDs instead'
        name: folderIds
        in: query
        schema:
          type: array
          items:
            type: integer
            format: int64
      - description: 'List of folder UID’s to search in for dashboards

          If it''s an empty string then it will query for the top level folders'
        name: folderUIDs
        in: query
        schema:
          type: array
          items:
            type: string
      - description: Flag indicating if only starred Dashboards should be returned
        name: starred
        in: query
        schema:
          type: boolean
      - description: Limit the number of returned results (max 5000)
        name: limit
        in: query
        schema:
          type: integer
          format: int64
      - description: Use this parameter to access hits beyond limit. Numbering starts at 1. limit param acts as page size. Only available in Grafana v6.2+.
        name: page
        in: query
        schema:
          type: integer
          format: int64
      - description: Set to `Edit` to return dashboards/folders that the user can edit
        name: permission
        in: query
        schema:
          type: string
          enum:
          - Edit
          - View
          default: View
      - description: Sort method; for listing all the possible sort methods use the search sorting endpoint.
        name: sort
        in: query
        schema:
          type: string
          enum:
          - alpha-asc
          - alpha-desc
          default: alpha-asc
      - description: Flag indicating if only soft deleted Dashboards should be returned
        name: deleted
        in: query
        schema:
          type: boolean
      responses:
        '200':
          $ref: '#/components/responses/searchResponse'
        '401':
          $ref: '#/components/responses/unauthorisedError'
        '422':
          $ref: '#/components/responses/unprocessableEntityError'
        '500':
          $ref: '#/components/responses/internalServerError'
      summary: Search
      x-summary-source: derived
  /search/sorting:
    get:
      tags:
      - Search
      summary: List search sorting options
      operationId: listSortOptions
      responses:
        '200':
          $ref: '#/components/responses/listSortOptionsResponse'
        '401':
          $ref: '#/components/responses/unauthorisedError'
components:
  responses:
    searchResponse:
      description: (empty)
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/HitList'
    unauthorisedError:
      description: UnauthorizedError is returned when the request is not authenticated.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponseBody'
    internalServerError:
      description: InternalServerError is a general error indicating something went wrong internally.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponseBody'
    unprocessableEntityError:
      description: UnprocessableEntityError
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponseBody'
    listSortOptionsResponse:
      description: (empty)
      content:
        application/json:
          schema:
            type: object
            properties:
              description:
                type: string
              displayName:
                type: string
              meta:
                type: string
              name:
                type: string
  schemas:
    HitList:
      type: array
      items:
        $ref: '#/components/schemas/Hit'
    ErrorResponseBody:
      type: object
      required:
      - message
      properties:
        error:
          description: Error An optional detailed description of the actual error. Only included if running in developer mode.
          type: string
        message:
          description: a human readable version of the error
          type: string
        status:
          description: 'Status An optional status to denote the cause of the error.


            For example, a 412 Precondition Failed error may include additional information of why that error happened.'
          type: string
    HitType:
      type: string
    Hit:
      type: object
      properties:
        description:
          type: string
        folderId:
          type: integer
          format: int64
        folderTitle:
          type: string
        folderUid:
          type: string
        folderUrl:
          type: string
        id:
          type: integer
          format: int64
        isDeleted:
          type: boolean
        isStarred:
          type: boolean
        orgId:
          type: integer
          format: int64
        permanentlyDeleteDate:
          type: string
          format: date-time
        slug:
          type: string
        sortMeta:
          type: integer
          format: int64
        sortMetaName:
          type: string
        tags:
          type: array
          items:
            type: string
        title:
          type: string
        type:
          $ref: '#/components/schemas/HitType'
        uid:
          type: string
        uri:
          type: string
        url:
          type: string
  securitySchemes:
    api_key:
      type: apiKey
      name: Authorization
      in: header
    basic:
      type: http
      scheme: basic