YugabyteDB Support Bundle management API

The Support Bundle management API from YugabyteDB — 5 operation(s) for support bundle management.

Operations 7

GET /api/v1/customers/{cUUID}/support_bundle/components List all components available in support bundle #
GET /api/v1/customers/{cUUID}/universes/{uniUUID}/support_bundle List all support bundles from a universe #
POST /api/v1/customers/{cUUID}/universes/{uniUUID}/support_bundle Create support bundle for specific universe #
POST /api/v1/customers/{cUUID}/universes/{uniUUID}/support_bundle/estimate_size Estimate support bundle size for specific universe #
DELETE /api/v1/customers/{cUUID}/universes/{uniUUID}/support_bundle/{sbUUID} Delete a support bundle #
GET /api/v1/customers/{cUUID}/universes/{uniUUID}/support_bundle/{sbUUID} Get a support bundle from a universe #
GET /api/v1/customers/{cUUID}/universes/{uniUUID}/support_bundle/{sbUUID}/download Download support bundle #

Documentation

Specifications

Other Resources

🔗
CLI
https://github.com/yugabyte/ybm-cli
🔗
Integrations
https://github.com/yugabyte/terraform-provider-ybm
🔗
TermsOfService
https://www.yugabyte.com/yugabytedb-managed-service-terms/
🔗
SDKs
https://github.com/yugabyte/platform-go-client
🔗
Integrations
https://github.com/yugabyte/terraform-provider-yba
🔗
Integrations
https://github.com/yugabyte/yugabyte-k8s-operator
🔗
KubernetesCRD
https://raw.githubusercontent.com/api-evangelist/yugabytedb/refs/heads/main/crd/yugabytedb-ybuniverse.yaml
🔗
KubernetesCRD
https://raw.githubusercontent.com/api-evangelist/yugabytedb/refs/heads/main/crd/yugabytedb-backup.yaml
🔗
KubernetesCRD
https://raw.githubusercontent.com/api-evangelist/yugabytedb/refs/heads/main/crd/yugabytedb-backup-schedule.yaml
🔗
KubernetesCRD
https://raw.githubusercontent.com/api-evangelist/yugabytedb/refs/heads/main/crd/yugabytedb-restore-job.yaml
🔗
KubernetesCRD
https://raw.githubusercontent.com/api-evangelist/yugabytedb/refs/heads/main/crd/yugabytedb-storage-config.yaml
🔗
KubernetesCRD
https://raw.githubusercontent.com/api-evangelist/yugabytedb/refs/heads/main/crd/yugabytedb-dr-config.yaml
🔗
KubernetesCRD
https://raw.githubusercontent.com/api-evangelist/yugabytedb/refs/heads/main/crd/yugabytedb-pitr-config.yaml
🔗
KubernetesCRD
https://raw.githubusercontent.com/api-evangelist/yugabytedb/refs/heads/main/crd/yugabytedb-release.yaml
🔗
KubernetesCRD
https://raw.githubusercontent.com/api-evangelist/yugabytedb/refs/heads/main/crd/yugabytedb-support-bundle.yaml
🔗
KubernetesCRD
https://raw.githubusercontent.com/api-evangelist/yugabytedb/refs/heads/main/crd/yugabytedb-ybcertificate.yaml
🔗
KubernetesCRD
https://raw.githubusercontent.com/api-evangelist/yugabytedb/refs/heads/main/crd/yugabytedb-ybprovider.yaml
🔗
KubernetesCRD
https://raw.githubusercontent.com/api-evangelist/yugabytedb/refs/heads/main/crd/yugabytedb-ybplatform.yaml

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/yugabytedb-support-bundle-management-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

yugabytedb-support-bundle-management-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Yugabytedb Support Bundle management API
  version: v1
  contact:
    name: https://docs.yugabyte.com
  license:
    name: Polyform Free Trial License 1.0.0
    url: https://github.com/yugabyte/yugabyte-db/blob/master/licenses/POLYFORM-FREE-TRIAL-LICENSE-1.0.0.txt
  termsOfService: TODO(chirag)
  x-refined-note:
  - x-source differs across the merged source definitions and was not carried
  - x-split-from differs across the merged source definitions and was not carried
  description: 'Operations tagged Support Bundle management across 4 of this provider''s published API definitions: openapi_2.yaml, platform.swagger.json, yugabytedb-anywhere-v1-full.yaml, yugabytedb-anywhere-v1-releases-maintenance.yaml. Each path carries the servers of the definition it was published in.'
servers:
- url: /
tags:
- name: Support Bundle management
paths:
  /api/v1/customers/{cUUID}/support_bundle/components:
    get:
      operationId: listSupportBundleComponents
      parameters:
      - in: path
        name: cUUID
        required: true
        schema:
          format: uuid
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                items:
                  enum:
                  - UniverseLogs
                  - OutputFiles
                  - ErrorFiles
                  - CoreFiles
                  - GFlags
                  - Instance
                  - ConsensusMeta
                  - TabletMeta
                  - YbcLogs
                  - NodeAgent
                  - SystemLogs
                  - TabletReport
                  - K8sInfo
                  - YbaMetadata
                  - PrometheusMetrics
                  - PerfAdvisor
                  - ApplicationLogs
                  type: string
                type: array
          description: successful operation
      security:
      - apiKeyAuth: []
      summary: List all components available in support bundle
      tags:
      - Support Bundle management
    servers:
    - url: /
  /api/v1/customers/{cUUID}/universes/{uniUUID}/support_bundle:
    get:
      operationId: listSupportBundle
      parameters:
      - in: path
        name: cUUID
        required: true
        schema:
          format: uuid
          type: string
      - in: path
        name: uniUUID
        required: true
        schema:
          format: uuid
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/SupportBundle'
                type: array
          description: successful operation
      security:
      - apiKeyAuth: []
      summary: List all support bundles from a universe
      tags:
      - Support Bundle management
    post:
      operationId: createSupportBundle
      parameters:
      - in: path
        name: cUUID
        required: true
        schema:
          format: uuid
          type: string
      - in: path
        name: uniUUID
        required: true
        schema:
          format: uuid
          type: string
      - in: query
        name: request
        schema: {}
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SupportBundleFormData'
        description: post support bundle info
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/YBPTask'
          description: successful operation
      security:
      - apiKeyAuth: []
      summary: Create support bundle for specific universe
      tags:
      - Support Bundle management
      x-codegen-request-body-name: supportBundle
    servers:
    - url: /
  /api/v1/customers/{cUUID}/universes/{uniUUID}/support_bundle/estimate_size:
    post:
      description: YbaApi Internal.
      operationId: estimateSupportBundleSize
      parameters:
      - in: path
        name: cUUID
        required: true
        schema:
          format: uuid
          type: string
      - in: path
        name: uniUUID
        required: true
        schema:
          format: uuid
          type: string
      - in: query
        name: request
        schema: {}
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SupportBundleFormData'
        description: support bundle info
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SupportBundleSizeEstimateResponse'
          description: successful operation
      security:
      - apiKeyAuth: []
      summary: Estimate support bundle size for specific universe
      tags:
      - Support Bundle management
      x-codegen-request-body-name: supportBundle
    servers:
    - url: /
  /api/v1/customers/{cUUID}/universes/{uniUUID}/support_bundle/{sbUUID}:
    delete:
      operationId: deleteSupportBundle
      parameters:
      - in: path
        name: cUUID
        required: true
        schema:
          format: uuid
          type: string
      - in: path
        name: uniUUID
        required: true
        schema:
          format: uuid
          type: string
      - in: path
        name: sbUUID
        required: true
        schema:
          format: uuid
          type: string
      - in: query
        name: request
        schema: {}
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/YBPSuccess'
          description: successful operation
      security:
      - apiKeyAuth: []
      summary: Delete a support bundle
      tags:
      - Support Bundle management
    get:
      operationId: getSupportBundle
      parameters:
      - in: path
        name: cUUID
        required: true
        schema:
          format: uuid
          type: string
      - in: path
        name: uniUUID
        required: true
        schema:
          format: uuid
          type: string
      - in: path
        name: sbUUID
        required: true
        schema:
          format: uuid
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SupportBundle'
          description: successful operation
      security:
      - apiKeyAuth: []
      summary: Get a support bundle from a universe
      tags:
      - Support Bundle management
    servers:
    - url: /
  /api/v1/customers/{cUUID}/universes/{uniUUID}/support_bundle/{sbUUID}/download:
    get:
      operationId: downloadSupportBundle
      parameters:
      - in: path
        name: cUUID
        required: true
        schema:
          format: uuid
          type: string
      - in: path
        name: uniUUID
        required: true
        schema:
          format: uuid
          type: string
      - in: path
        name: sbUUID
        required: true
        schema:
          format: uuid
          type: string
      responses:
        '200':
          content:
            application/x-compressed:
              schema:
                type: string
          description: successful operation
      security:
      - apiKeyAuth: []
      summary: Download support bundle
      tags:
      - Support Bundle management
    servers:
    - url: /
components:
  schemas:
    BundleDetails:
      example:
        maxNumRecentCores: 6
        components:
        - UniverseLogs
        - UniverseLogs
        paDumpStartDate: 2022-12-12 13:07:18+00:00
        promDumpEndDate: 2022-12-12 13:07:18+00:00
        promDumpStartDate: 2022-12-12 13:07:18+00:00
        promMetricsFormat: PROMQL_JSON
        paDumpEndDate: 2022-12-12 13:07:18+00:00
        paMetricsFormat: PROMQL_JSON
        promMetricsStepSec: 1
        prometheusMetricsTypes:
        - MASTER_EXPORT
        - MASTER_EXPORT
        maxCoreFileSize: 0
      properties:
        components:
          items:
            enum:
            - UniverseLogs
            - OutputFiles
            - ErrorFiles
            - CoreFiles
            - GFlags
            - Instance
            - ConsensusMeta
            - TabletMeta
            - YbcLogs
            - NodeAgent
            - SystemLogs
            - TabletReport
            - K8sInfo
            - YbaMetadata
            - PrometheusMetrics
            - PerfAdvisor
            - ApplicationLogs
            type: string
          type: array
        maxCoreFileSize:
          description: Max size of the collected cores (if any)
          format: int64
          type: integer
        maxNumRecentCores:
          description: Max number of most recent cores to collect (if any)
          format: int32
          type: integer
        paDumpEndDate:
          description: End date to filter Perf Advisor data
          example: 2022-12-12 13:07:18+00:00
          format: date-time
          type: string
        paDumpStartDate:
          description: Start date to filter Perf Advisor data
          example: 2022-12-12 13:07:18+00:00
          format: date-time
          type: string
        paMetricsFormat:
          description: Specifies PA Dump metrics format.
          enum:
          - PROMQL_JSON
          - PROM_CHUNK
          type: string
        promDumpEndDate:
          description: End date to filter prometheus metrics till
          example: 2022-12-12 13:07:18+00:00
          format: date-time
          type: string
        promDumpStartDate:
          description: Start date to filter prometheus metrics from
          example: 2022-12-12 13:07:18+00:00
          format: date-time
          type: string
        promMetricsFormat:
          description: Specifies Prom Dump metrics format.
          enum:
          - PROMQL_JSON
          - PROM_CHUNK
          type: string
        promMetricsStepSec:
          description: Specifies Prom Dump metrics step in seconds.
          format: int32
          type: integer
        prometheusMetricsTypes:
          description: List of exports to be included in the prometheus dump
          items:
            enum:
            - MASTER_EXPORT
            - NODE_EXPORT
            - PLATFORM
            - PROMETHEUS
            - TSERVER_EXPORT
            - CQL_EXPORT
            - YSQL_EXPORT
            type: string
          type: array
      required:
      - components
      type: object
    SupportBundleSizeEstimateResponse:
      example:
        data:
          key:
            key: 0
      properties:
        data:
          additionalProperties:
            additionalProperties:
              format: int64
              type: integer
            type: object
          description: A map of universe node names to component sizes for the given support bundle payload. Global component sizes are mapped to "YBA" node.
          type: object
      type: object
    SupportBundleFormData:
      description: Support bundle form metadata
      example:
        maxNumRecentCores: 1
        components:
        - UniverseLogs
        - UniverseLogs
        paDumpStartDate: 2022-12-12 13:07:18+00:00
        promDumpEndDate: 2022-12-12 13:07:18+00:00
        promDumpStartDate: 2022-12-12 13:07:18+00:00
        endDate: 2022-12-12 13:07:18+00:00
        filterPgAuditLogs: true
        prometheusMetricsTypes:
        - MASTER_EXPORT
        - MASTER_EXPORT
        promDumpDownSample: true
        promQueries:
          key: promQueries
        stepPromDumpSecs: 5
        batchDurationPromDumpMins: 0
        promMetricsFormat: PROMQL_JSON
        paDumpEndDate: 2022-12-12 13:07:18+00:00
        paMetricsFormat: PROMQL_JSON
        startDate: 2022-12-12 13:07:18+00:00
        maxCoreFileSize: 6
        promExportType: PROMQL
      properties:
        batchDurationPromDumpMins:
          description: Batch duration for the prometheus dump (in minutes). Overrides global default. Use with stepPromDumpSecs to get longer historical trends while keeping the same number of data points
          format: int32
          type: integer
        components:
          description: List of components to be included in the support bundle
          items:
            enum:
            - UniverseLogs
            - OutputFiles
            - ErrorFiles
            - CoreFiles
            - GFlags
            - Instance
            - ConsensusMeta
            - TabletMeta
            - YbcLogs
            - NodeAgent
            - SystemLogs
            - TabletReport
            - K8sInfo
            - YbaMetadata
            - PrometheusMetrics
            - PerfAdvisor
            - ApplicationLogs
            type: string
          type: array
        endDate:
          description: End date to filter logs till
          example: 2022-12-12 13:07:18+00:00
          format: date-time
          type: string
        filterPgAuditLogs:
          description: Specifies if Postgres audit logs should be filtered out when collecting universe logs.
          type: boolean
        maxCoreFileSize:
          description: Max size in bytes of the recent collected cores (if any)
          format: int64
          type: integer
        maxNumRecentCores:
          description: Max number of the most recent cores to collect (if any)
          format: int32
          type: integer
        paDumpEndDate:
          description: End date to filter Perf Advisor data
          example: 2022-12-12 13:07:18+00:00
          format: date-time
          type: string
        paDumpStartDate:
          description: Start date to filter Perf Advisor data
          example: 2022-12-12 13:07:18+00:00
          format: date-time
          type: string
        paMetricsFormat:
          description: Specifies metrics format.
          enum:
          - PROMQL_JSON
          - PROM_CHUNK
          type: string
        promDumpDownSample:
          description: When promExportType is REMOTE_READ, whether to downsample raw data points by yb.support_bundle.step_prom_dump_secs or stepPromDumpSecs. Ignored for PROMQL (always downsampled). Default true.
          type: boolean
        promDumpEndDate:
          description: End date to filter prometheus metrics till
          example: 2022-12-12 13:07:18+00:00
          format: date-time
          type: string
        promDumpStartDate:
          description: Start date to filter prometheus metrics from
          example: 2022-12-12 13:07:18+00:00
          format: date-time
          type: string
        promExportType:
          description: 'How to export Prometheus metrics: PROMQL (query_range) or REMOTE_READ. Default PROMQL for backward compatibility.'
          enum:
          - PROMQL
          - REMOTE_READ
          type: string
        promMetricsFormat:
          description: 'When promExportType is REMOTE_READ, format for remote read export: PROMQL_JSON or PROM_CHUNK. Default PROMQL_JSON for backward compatibility.'
          enum:
          - PROMQL_JSON
          - PROM_CHUNK
          type: string
        promQueries:
          additionalProperties:
            type: string
          description: Map of query names to custom PromQL queries to collect in promdump
          type: object
        prometheusMetricsTypes:
          description: List of exports to be included in the prometheus dump
          items:
            enum:
            - MASTER_EXPORT
            - NODE_EXPORT
            - PLATFORM
            - PROMETHEUS
            - TSERVER_EXPORT
            - CQL_EXPORT
            - YSQL_EXPORT
            type: string
          type: array
        startDate:
          description: Start date to filter logs from
          example: 2022-12-12 13:07:18+00:00
          format: date-time
          type: string
        stepPromDumpSecs:
          description: Metrics downsample step (in seconds). Overrides global default. Use with batchDurationPromDumpMins to get longer historical trends while keeping the same number of data points
          format: int32
          type: integer
      required:
      - components
      - endDate
      - startDate
      type: object
    SupportBundle:
      example:
        path: path
        sizeInBytes: 5
        scopeUUID: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
        bundleDetails:
          maxNumRecentCores: 6
          components:
          - UniverseLogs
          - UniverseLogs
          paDumpStartDate: 2022-12-12 13:07:18+00:00
          promDumpEndDate: 2022-12-12 13:07:18+00:00
          promDumpStartDate: 2022-12-12 13:07:18+00:00
          promMetricsFormat: PROMQL_JSON
          paDumpEndDate: 2022-12-12 13:07:18+00:00
          paMetricsFormat: PROMQL_JSON
          promMetricsStepSec: 1
          prometheusMetricsTypes:
          - MASTER_EXPORT
          - MASTER_EXPORT
          maxCoreFileSize: 0
        endDate: 2022-12-12 13:07:18+00:00
        bundleUUID: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
        creationDate: 2022-12-12 13:07:18+00:00
        startDate: 2022-12-12 13:07:18+00:00
        expirationDate: 2022-12-12 13:07:18+00:00
        status: Running
      properties:
        bundleDetails:
          $ref: '#/components/schemas/BundleDetails'
        bundleUUID:
          format: uuid
          type: string
        creationDate:
          description: Support bundle creation date.
          example: 2022-12-12 13:07:18+00:00
          format: date-time
          type: string
        endDate:
          description: Support bundle end date.
          example: 2022-12-12 13:07:18+00:00
          format: date-time
          type: string
        expirationDate:
          description: Support bundle expiration date.
          example: 2022-12-12 13:07:18+00:00
          format: date-time
          type: string
        path:
          type: string
        scopeUUID:
          format: uuid
          type: string
        sizeInBytes:
          description: Size in bytes of the support bundle
          format: int64
          type: integer
        startDate:
          description: Support bundle start date.
          example: 2022-12-12 13:07:18+00:00
          format: date-time
          type: string
        status:
          enum:
          - Running
          - Success
          - Failed
          - Aborted
          type: string
      required:
      - bundleDetails
      - bundleUUID
      - path
      - scopeUUID
      - status
      type: object
    YBPSuccess:
      example:
        success: true
        message: message
      properties:
        message:
          description: API response message.
          readOnly: true
          type: string
        success:
          description: API operation status. A value of true indicates the operation was successful.
          readOnly: true
          type: boolean
      type: object
    YBPTask:
      example:
        taskUUID: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
        resourceUUID: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
      properties:
        resourceUUID:
          description: UUID of the resource being modified by the task
          format: uuid
          readOnly: true
          type: string
        taskUUID:
          description: Task UUID
          format: uuid
          readOnly: true
          type: string
      type: object
    BundleDetails_2:
      properties:
        components:
          items:
            enum:
            - UniverseLogs
            - ApplicationLogs
            - OutputFiles
            - ErrorFiles
            - GFlags
            - Instance
            - ConsensusMeta
            - TabletMeta
            type: string
          type: array
      required:
      - components
      type: object
    SupportBundleFormData_2:
      description: Support bundle form metadata
      properties:
        components:
          description: List of components to be included in the support bundle
          items:
            enum:
            - UniverseLogs
            - ApplicationLogs
            - OutputFiles
            - ErrorFiles
            - GFlags
            - Instance
            - ConsensusMeta
            - TabletMeta
            type: string
          type: array
        endDate:
          description: End date to filter logs till
          example: '2022-01-26'
          format: date-time
          type: string
        startDate:
          description: Start date to filter logs from
          example: '2022-01-25'
          format: date-time
          type: string
      required:
      - components
      - endDate
      - startDate
      type: object
    SupportBundle_2:
      properties:
        bundleDetails:
          $ref: '#/components/schemas/BundleDetails_2'
        bundleUUID:
          format: uuid
          type: string
        creationDate:
          format: date-time
          type: string
        endDate:
          format: date-time
          type: string
        expirationDate:
          format: date-time
          type: string
        path:
          type: string
        scopeUUID:
          format: uuid
          type: string
        startDate:
          format: date-time
          type: string
        status:
          enum:
          - Running
          - Success
          - Failed
          type: string
      required:
      - bundleDetails
      - bundleUUID
      - creationDate
      - endDate
      - expirationDate
      - path
      - scopeUUID
      - startDate
      - status
      type: object
    YBPSuccess_2:
      properties:
        message:
          description: API response message.
          readOnly: true
          type: string
        success:
          description: API operation status. A value of true indicates the operation was successful.
          readOnly: true
          type: boolean
      type: object
    YBPTask_2:
      properties:
        resourceUUID:
          description: UUID of the resource being modified by the task
          format: uuid
          readOnly: true
          type: string
        taskUUID:
          description: Task UUID
          format: uuid
          readOnly: true
          type: string
      type: object
    BundleDetails_3:
      example:
        maxNumRecentCores: 6
        components:
        - UniverseLogs
        - UniverseLogs
        paDumpStartDate: 2022-12-12 13:07:18+00:00
        promDumpEndDate: 2022-12-12 13:07:18+00:00
        promDumpStartDate: 2022-12-12 13:07:18+00:00
        promMetricsFormat: PROMQL_JSON
        paDumpEndDate: 2022-12-12 13:07:18+00:00
        paMetricsFormat: PROMQL_JSON
        promMetricsStepSec: 1
        prometheusMetricsTypes:
        - MASTER_EXPORT
        - MASTER_EXPORT
        maxCoreFileSize: 0
      properties:
        components:
          items:
            enum:
            - UniverseLogs
            - OutputFiles
            - ErrorFiles
            - CoreFiles
            - GFlags
            - Instance
            - ConsensusMeta
            - TabletMeta
            - YbcLogs
            - NodeAgent
            - SystemLogs
            - TabletReport
            - K8sInfo
            - YbaMetadata
            - PrometheusMetrics
            - PerfAdvisor
            - ApplicationLogs
            type: string
          type: array
          example:
          - UniverseLogs
        maxCoreFileSize:
          description: Max size of the collected cores (if any)
          format: int64
          type: integer
          example: 10
        maxNumRecentCores:
          description: Max number of most recent cores to collect (if any)
          format: int32
          type: integer
          example: 10
        paDumpEndDate:
          description: End date to filter Perf Advisor data
          example: 2022-12-12 13:07:18+00:00
          format: date-time
          type: string
        paDumpStartDate:
          description: Start date to filter Perf Advisor data
          example: 2022-12-12 13:07:18+00:00
          format: date-time
          type: string
        paMetricsFormat:
          description: Specifies PA Dump metrics format.
          enum:
          - PROMQL_JSON
          - PROM_CHUNK
          type: string
          example: PROMQL_JSON
        promDumpEndDate:
          description: End date to filter prometheus metrics till
          example: 2022-12-12 13:07:18+00:00
          format: date-time
          type: string
        promDumpStartDate:
          description: Start date to filter prometheus metrics from
          example: 2022-12-12 13:07:18+00:00
          format: date-time
          type: string
        promMetricsFormat:
          description: Specifies Prom Dump metrics format.
          enum:
          - PROMQL_JSON
          - PROM_CHUNK
          type: string
          example: PROMQL_JSON
        promMetricsStepSec:
          description: Specifies Prom Dump metrics step in seconds.
          format: int32
          type: integer
          example: 100
        prometheusMetricsTypes:
          description: List of exports to be included in the prometheus dump
          items:
            enum:
            - MASTER_EXPORT
            - NODE_EXPORT
            - PLATFORM
            - PROMETHEUS
            - TSERVER_EXPORT
            - CQL_EXPORT
            - YSQL_EXPORT
            type: string
          type: array
          example:
          - MASTER_EXPORT
      required:
      - components
      type: object
    SupportBundleSizeEstimateResponse_2:
      example:
        data:
          key:
            key: 0
      properties:
        data:
          additionalProperties:
            additionalProperties:
              format: int64
              type: integer
            type: object
          description: A map of universe node names to component sizes for the given support bundle payload. Global component sizes are mapped to "YBA" node.
          type: object
          example: {}
      type: object
    SupportBundleFormData_3:
      description: Support bundle form metadata
      example:
        maxNumRecentCores: 1
        components:
        - UniverseLogs
        - UniverseLogs
        paDumpStartDate: 2022-12-12 13:07:18+00:00
        promDumpEndDate: 2022-12-12 13:07:18+00:00
        promDumpStartDate: 2022-12-12 13:07:18+00:00
        endDate: 2022-12-12 13:07:18+00:00
        filterPgAuditLogs: true
        prometheusMetricsTypes:
        - MASTER_EXPORT
        - MASTER_EXPORT
        promDumpDownSample: true
        promQueries:
          key: promQueries
        stepPromDumpSecs: 5
        batchDurationPromDumpMins: 0
        promMetricsFormat: PROMQL_JSON
        paDumpEndDate: 2022-12-12 13:07:18+00:00
        paMetricsFormat: PROMQL_JSON
        startDate: 2022-12-12 13:07:18+00:00
        maxCoreFileSize: 6
        promExportType: PROMQL
      properties:
        batchDurationPromDumpMins:
          description: Batch duration for the prometheus dump (in minutes). Overrides global default. Use with stepPromDumpSecs to get longer historical trends while keeping the same number of data points
          format: int32
          type: integer
          example: 60
        components:
          description: List of components to be included in the support bundle
          items:
            enum:
            - UniverseLogs
            - OutputFiles
            - ErrorFiles
            - CoreFiles
            - GFlags
            - Instance
            - ConsensusMeta
            - TabletMeta
            - YbcLogs
            - NodeAgent
            - SystemLogs
            - TabletReport
            - K8sInfo
            - YbaMetadata
            - PrometheusMetrics
            - PerfAdvisor
            - ApplicationLogs
            type: string
          type: array
          example:
          - UniverseLogs
        endDate:
          description: End date to filter logs till
          example: 2022-12-12 13:07:18+00:00
          format: date-time
          type: string
        filterPgAuditLogs:
          description: Specifies if Postgres audit logs should be filtered out when collecting universe logs.
          type: boolean
          example: true
        maxCoreFileSize:
          description: Max size in bytes of the recent collected cores (if any)
          format: int64
          type: integer
          example: 10
        maxNumRecentCores:
          description: Max number of the most recent cores to collect (if any)
          format: int32
          type: integer
          example: 10
        paDumpEndDate:
          description: End date to filter Perf Advisor data
          example: 2022-12-12 13:07:18+00:00
          format: date-time
          type: string
        paDumpStartDate:
          description: Start date to filter Perf Advisor data
          example: 2022-12-12 13:07:18+00:00
          format: date-time
          type: string
        paMetricsFormat:
          description: Specifies metrics format.
          enum:
          - PROMQL_JSON
          - PROM_CHUNK
          type: string
          example: PROMQL_JSON
        promDumpDownSample:
          description: When promExportType is REMOTE_READ, whether to downsample raw data points by yb.support_bundle.step_prom_dump_secs or stepPromDumpSecs. Ignored for PROMQL (always downsampled). Default true.
          type: boolean
          example: true
        promDumpEndDate:
          description: End date to filter prometheus metrics till
          example: 2022-12-12 13:07:18+00:00
          format: date-time
          type: string
        promDumpStartDate:
          description: Start date to filter prometheus metrics from
          example: 2022-12-12 13:07:18+00:00
          format: date-time
          type: string
        promExportType:
          description: 'How to export Prometheus metrics: PROMQL (query_range) or REMOTE_READ. Default PROMQL for backward compatibility.'
          enum:
          - PROMQL
          - REMOTE_READ
          type: string
          example: PROMQL
        promMetricsFormat:
          description: 'When promExportType is REMOTE_READ, format for remote read export: PROMQL_JSON or PROM_CHUNK. Default PROMQL_JSON for backward compatibility.'
          enum:
          - PROMQL_JSON
          - PROM_CHUNK
          type: string
          example: PROMQL_JSON
        promQueries:
          additionalProperties:
            type: string
          description: Map of query names to custom PromQL queries to collect in promdump
          type: object
          example: {}
        prometheusMetricsTypes:
          description: List of exports to be included in the prometheus dump
          items:
            enum:
            - MASTER_EXPORT
            - NODE_EXPORT
            - PLATFORM
            - PROMETHEUS
            - TSERVER_EXPORT
            - CQL_EXPORT
            - YSQL_EXPORT
            type: string
          type: array
          example:
          - MASTER_EXPORT
        startDate:
          description: Start date to filter logs from
          example: 2022-12-12 13:07:18+00:00
          format: date-time
          type: string
        stepPromDumpSecs:
          description: Metrics downsample step (in seconds). Overrides global default. Use with batchDurationPromDumpMins to get longer historical trends while keeping the same number of data points
          format: int32
          type: integer
          example: 100
      required:
      - components
      - endDate
      - startDate
      type: object
    SupportBundle_3:
      example:
        path: path
        sizeInBytes: 5
        scopeUUID: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
        bundleDetails:
          maxNumRecentCores: 6
          components:
          - UniverseLogs
          - UniverseLogs
          paDumpStartDate: 2022-12-12 13:07:18+00:00
          promDumpEndDate: 2022-12-12 13:07:18+00:00
          promDumpStartDate: 2022-12-12 13:07:18+00:00
          promMetricsFormat: PROMQL_JSON
          paDumpEndDate: 2022-12-12 13:07:18+00:00
          paMetricsFormat: PROMQL_JSON
          promMetricsStepSec: 1
          prometheusMetricsTypes:
          - MASTER_EXPORT
          - MASTER_EXPORT
          maxCoreFileSize: 0
        endDate: 2022-12-12 13:07:18+00:00
        bundleUUID: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
        creationDate: 2022-12-12 13:07:18+00:00
        startDate: 2022-12-12 13:07:18+00:00
        expirationDate: 2022-12-12 13:07:18+00:00
        status: Running
      properties:
        bundleDetails:
          $ref: '#/components/schemas/BundleDetails_3'
        bundleUUID:
          format: uuid
          type: string
          example: 046b6c7f-0b8a

# --- truncated at 32 KB (47 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/yugabytedb/refs/heads/main/openapi/yugabytedb-support-bundle-management-api-openapi.yml