List Vega library items Generally available

GET /api/vega

Spaces method and path for this operation:

get /s/{space_id}/api/vega

Refer to Spaces for more information.

Returns a paginated list of Vega library items. Each result includes title, description, tags, and metadata, but not the spec. Use GET /api/vega/{id} to retrieve the complete state.

Query parameters

  • page number

    The page of results to return.

    Minimum value is 1. Default value is 1.

  • per_page number

    The number of results to return per page.

    Minimum value is 1, maximum value is 1000. Default value is 20.

  • query string

    Filters results by title and description using Elasticsearch simple_query_string syntax. Multi-word terms require all words to match.

  • tags array[string]

    A tag ID to include. Accepts a single tag ID or multiple tag IDs. When multiple are specified, library items matching any of the tag IDs are included.

    Not more than 100 elements. Maximum length of each is 250. Default value is [] (empty).

  • excluded_tags array[string]

    A tag ID to exclude. Accepts a single tag ID or multiple tag IDs. When multiple are specified, library items matching any of the tag IDs are excluded.

    Not more than 100 elements. Maximum length of each is 250. Default value is [] (empty).

  • tag_names array[string] Generally available

    A tag name to include. Accepts a single tag name or multiple tag names. When multiple are specified, library items matching any of the tag names are included. If the same name is shared by multiple tags, items matching any of those tags are included.

    Not more than 100 elements.

  • excluded_tag_names array[string] Generally available

    A tag name to exclude. Accepts a single tag name or multiple tag names. When multiple are specified, library items matching any of the tag names are excluded. If the same name is shared by multiple tags, items matching any of those tags are excluded.

    Not more than 100 elements.

Responses

  • 200 application/json

    success

    Hide response attributes Show response attributes object
    • data array[object] Required

      List of Vega library items matching the query.

      At least 0 but not more than 1000 elements.

      Hide data attributes Show data attributes object
      • data object Required

        Additional properties are NOT allowed.

        Hide data attributes Show data attributes object
        • description string

          A short description of the Vega library item.

          Minimum length is 0, maximum length is 10000.

        • tags array[string]

          Tag IDs associated with this Vega library item.

          Not more than 1000 elements. Maximum length of each is 250. Default value is [] (empty).

        • title string Required

          The Vega library item title.

          Minimum length is 1, maximum length is 1024.

      • id string Required

        The Vega library item ID.

      • meta object Required

        Additional properties are NOT allowed.

        Hide meta attributes Show meta attributes object
        • created_at string

          Timestamp when the object was created (ISO 8601).

        • created_by string

          User profile ID of the user who created the object.

        • managed boolean

          When true, the object is managed by Kibana and cannot be edited by users.

        • owner string

          Identifier of the plugin or team that owns this object.

        • updated_at string

          Timestamp when the object was last updated (ISO 8601).

        • updated_by string

          User profile ID of the user who last updated the object.

        • version string

          Internal version identifier for optimistic concurrency control.

    • meta object Required

      Additional properties are NOT allowed.

      Hide meta attributes Show meta attributes object
      • page number

        The returned page of results.

        Minimum value is 1. Default value is 1.

      • per_page number

        The number of results returned per page.

        Minimum value is 1, maximum value is 1000. Default value is 20.

      • total number Required

        The total number of results matching the query.

  • 403

    forbidden

  • 404

    not found

GET /api/vega
curl -X GET "${KIBANA_URL}/api/vega?query=requests&per_page=10" \
  -H "Authorization: ApiKey ${API_KEY}"
GET kbn:/api/vega?query=requests&per_page=10
Response examples (200)
Paginated list of Vega library item summaries with `title`, `description`, `tags`, and metadata. The spec, query, and filters are not included; use `GET /api/vega/{id}` to retrieve a specific item.
{
  "data": [
    {
      "data": {
        "description": "Hourly request count from the sample web logs.",
        "tags": [],
        "title": "Requests over time"
      },
      "id": "7c1d8e40-9b2f-11f0-a5c3-2f6e4b8d9a10",
      "meta": {
        "created_at": "2026-09-30T10:00:00.000Z",
        "managed": false,
        "updated_at": "2026-09-30T10:00:00.000Z",
        "version": "WzU5LDFd"
      }
    }
  ],
  "meta": {
    "page": 1,
    "per_page": 10,
    "total": 1
  }
}