YugabyteDB Performance Advisor API

The Performance Advisor API from YugabyteDB — 9 operation(s) for performance advisor.

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

OpenAPI Specification

yugabytedb-performance-advisor-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: YugabyteDB Aeon REST Access Keys Performance Advisor API
  description: The YugabyteDB Aeon REST API provides programmatic access to YugabyteDB's fully managed cloud database service. Developers and operators can use it to deploy and manage database clusters, configure read replicas, schedule and execute on-demand backups and restores, manage IP allow lists, and set up monitoring and alerts. Authentication is performed using API keys passed as bearer tokens in the Authorization header. All paths are scoped to an account and project, which can be obtained from the YugabyteDB Aeon UI profile page.
  version: v1
  contact:
    name: Yugabyte Support
    url: https://support.yugabyte.com
  termsOfService: https://www.yugabyte.com/yugabytedb-managed-service-terms/
  x-generated-from: documentation
  x-source-url: https://api-docs.yugabyte.com/docs/managed-apis/
  x-last-validated: '2026-05-03'
servers:
- url: https://cloud.yugabyte.com/api/public/v1
  description: YugabyteDB Aeon Production Server
security:
- bearerAuth: []
tags:
- name: Performance Advisor
paths:
  /api/v1/customers/{cUUID}/performance_recommendation_state_change/page:
    post:
      description: 'WARNING: This is a preview API that could change.'
      operationId: pageAuditInfo
      parameters:
      - in: path
        name: cUUID
        required: true
        schema:
          format: uuid
          type: string
        example: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
      - in: query
        name: request
        schema: {}
        example: example-request
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/StateChangeAuditInfoPagedQuery'
            examples:
              PageAuditInfoRequestExample:
                summary: Default pageAuditInfo request
                x-microcks-default: true
                value:
                  filter:
                    customerId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
                    ids:
                    - 046b6c7f-0b8a-43b9-b35d-6489e6daee91
                    - 046b6c7f-0b8a-43b9-b35d-6489e6daee91
                    recommendationId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
                    userId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
                  offset: 6
                  needTotalCount: true
                  limit: 0
                  sortBy: id
                  direction: ASC
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StateChangeAuditInfoPagedResponse'
              examples:
                PageAuditInfo200Example:
                  summary: Default pageAuditInfo 200 response
                  x-microcks-default: true
                  value:
                    entities:
                    - new: true
                      fieldName: fieldName
                      customerId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
                      id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
                      previousValue: previousValue
                      userId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
                      updatedValue: updatedValue
                      timestamp: 0
                    - new: true
                      fieldName: fieldName
                      customerId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
                      id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
                      previousValue: previousValue
                      userId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
                      updatedValue: updatedValue
                      timestamp: 0
                    hasPrev: true
                    hasNext: true
                    totalCount: 6
          description: successful operation
      security:
      - apiKeyAuth: []
      summary: YugabyteDB Anywhere List Performance Recommendations State Change Audit Events (paginated)
      tags:
      - Performance Advisor
      x-codegen-request-body-name: PageStateChangeAuditInfoRequest
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
  /api/v1/customers/{cUUID}/performance_recommendations:
    delete:
      description: 'WARNING: This is a preview API that could change.'
      operationId: delete
      parameters:
      - in: path
        name: cUUID
        required: true
        schema:
          format: uuid
          type: string
        example: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
      - in: query
        name: request
        schema: {}
        example: example-request
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PerformanceRecommendationFilter'
            examples:
              DeleteRequestExample:
                summary: Default delete request
                x-microcks-default: true
                value:
                  priorities:
                  - HIGH
                  - HIGH
                  types:
                  - UNUSED_INDEX
                  - UNUSED_INDEX
                  customerId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
                  universeId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
                  ids:
                  - 046b6c7f-0b8a-43b9-b35d-6489e6daee91
                  - 046b6c7f-0b8a-43b9-b35d-6489e6daee91
                  createdInstantBefore: 0
                  isStale: true
                  states:
                  - OPEN
                  - OPEN
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/YBPSuccess'
              examples:
                Delete200Example:
                  summary: Default delete 200 response
                  x-microcks-default: true
                  value:
                    success: true
                    message: message
          description: successful operation
      security:
      - apiKeyAuth: []
      summary: YugabyteDB Anywhere Delete Performance Recommendations
      tags:
      - Performance Advisor
      x-codegen-request-body-name: DeletePerformanceRecommendationsRequest
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
  /api/v1/customers/{cUUID}/performance_recommendations/hide:
    post:
      description: YbaApi Internal.
      operationId: hide
      parameters:
      - in: path
        name: cUUID
        required: true
        schema:
          format: uuid
          type: string
        example: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
      - in: query
        name: request
        schema: {}
        example: example-request
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PerformanceRecommendationFilter'
            examples:
              HideRequestExample:
                summary: Default hide request
                x-microcks-default: true
                value:
                  priorities:
                  - HIGH
                  - HIGH
                  types:
                  - UNUSED_INDEX
                  - UNUSED_INDEX
                  customerId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
                  universeId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
                  ids:
                  - 046b6c7f-0b8a-43b9-b35d-6489e6daee91
                  - 046b6c7f-0b8a-43b9-b35d-6489e6daee91
                  createdInstantBefore: 0
                  isStale: true
                  states:
                  - OPEN
                  - OPEN
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/YBPSuccess'
              examples:
                Hide200Example:
                  summary: Default hide 200 response
                  x-microcks-default: true
                  value:
                    success: true
                    message: message
          description: successful operation
      security:
      - apiKeyAuth: []
      summary: YugabyteDB Anywhere Hide Performance Recommendations
      tags:
      - Performance Advisor
      x-codegen-request-body-name: HidePerformanceRecommendationsRequest
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
  /api/v1/customers/{cUUID}/performance_recommendations/page:
    post:
      description: 'WARNING: This is a preview API that could change.'
      operationId: page
      parameters:
      - in: path
        name: cUUID
        required: true
        schema:
          format: uuid
          type: string
        example: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
      - in: query
        name: request
        schema: {}
        example: example-request
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PerformanceRecommendationPagedQuery'
            examples:
              PageRequestExample:
                summary: Default page request
                x-microcks-default: true
                value:
                  filter:
                    priorities:
                    - HIGH
                    - HIGH
                    types:
                    - UNUSED_INDEX
                    - UNUSED_INDEX
                    customerId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
                    universeId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
                    ids:
                    - 046b6c7f-0b8a-43b9-b35d-6489e6daee91
                    - 046b6c7f-0b8a-43b9-b35d-6489e6daee91
                    createdInstantBefore: 0
                    isStale: true
                    states:
                    - OPEN
                    - OPEN
                  offset: 6
                  needTotalCount: true
                  limit: 0
                  sortBy: id
                  direction: ASC
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PerformanceRecommendationPagedResponse'
              examples:
                Page200Example:
                  summary: Default page 200 response
                  x-microcks-default: true
                  value:
                    entities:
                    - new: true
                      recommendationPriority: HIGH
                      entityType: UNIVERSE
                      observation: observation
                      stateChangeAuditInfoList:
                      - new: true
                        fieldName: fieldName
                        customerId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
                        id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
                        previousValue: previousValue
                        userId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
                        updatedValue: updatedValue
                        timestamp: 0
                      - new: true
                        fieldName: fieldName
                        customerId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
                        id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
                        previousValue: previousValue
                        userId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
                        updatedValue: updatedValue
                        timestamp: 0
                      universeId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
                      entityNames: entityNames
                      recommendation: recommendation
                      recommendationTimestamp: 0
                      recommendationInfo:
                        key: '{}'
                      recommendationState: OPEN
                      customerId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
                      id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
                      isStale: true
                      recommendationType: UNUSED_INDEX
                    - new: true
                      recommendationPriority: HIGH
                      entityType: UNIVERSE
                      observation: observation
                      stateChangeAuditInfoList:
                      - new: true
                        fieldName: fieldName
                        customerId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
                        id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
                        previousValue: previousValue
                        userId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
                        updatedValue: updatedValue
                        timestamp: 0
                      - new: true
                        fieldName: fieldName
                        customerId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
                        id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
                        previousValue: previousValue
                        userId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
                        updatedValue: updatedValue
                        timestamp: 0
                      universeId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
                      entityNames: entityNames
                      recommendation: recommendation
                      recommendationTimestamp: 0
                      recommendationInfo:
                        key: '{}'
                      recommendationState: OPEN
                      customerId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
                      id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
                      isStale: true
                      recommendationType: UNUSED_INDEX
                    hasPrev: true
                    hasNext: true
                    totalCount: 6
          description: successful operation
      security:
      - apiKeyAuth: []
      summary: YugabyteDB Anywhere List Performance Recommendations (paginated)
      tags:
      - Performance Advisor
      x-codegen-request-body-name: PagePerformanceRecommendationRequest
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
  /api/v1/customers/{cUUID}/performance_recommendations/resolve:
    post:
      description: YbaApi Internal.
      operationId: resolve
      parameters:
      - in: path
        name: cUUID
        required: true
        schema:
          format: uuid
          type: string
        example: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
      - in: query
        name: request
        schema: {}
        example: example-request
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PerformanceRecommendationFilter'
            examples:
              ResolveRequestExample:
                summary: Default resolve request
                x-microcks-default: true
                value:
                  priorities:
                  - HIGH
                  - HIGH
                  types:
                  - UNUSED_INDEX
                  - UNUSED_INDEX
                  customerId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
                  universeId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
                  ids:
                  - 046b6c7f-0b8a-43b9-b35d-6489e6daee91
                  - 046b6c7f-0b8a-43b9-b35d-6489e6daee91
                  createdInstantBefore: 0
                  isStale: true
                  states:
                  - OPEN
                  - OPEN
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/YBPSuccess'
              examples:
                Resolve200Example:
                  summary: Default resolve 200 response
                  x-microcks-default: true
                  value:
                    success: true
                    message: message
          description: successful operation
      security:
      - apiKeyAuth: []
      summary: YugabyteDB Anywhere Resolve Performance Recommendations
      tags:
      - Performance Advisor
      x-codegen-request-body-name: ResolvePerformanceRecommendationsRequest
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
  /api/v1/customers/{cUUID}/performance_recommendations/{rUUID}:
    get:
      description: 'WARNING: This is a preview API that could change.'
      operationId: get
      parameters:
      - in: path
        name: cUUID
        required: true
        schema:
          format: uuid
          type: string
        example: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
      - in: path
        name: rUUID
        required: true
        schema:
          format: uuid
          type: string
        example: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PerformanceRecommendation'
              examples:
                Get200Example:
                  summary: Default get 200 response
                  x-microcks-default: true
                  value:
                    new: true
                    recommendationPriority: HIGH
                    entityType: UNIVERSE
                    observation: observation
                    stateChangeAuditInfoList:
                    - new: true
                      fieldName: fieldName
                      customerId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
                      id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
                      previousValue: previousValue
                      userId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
                      updatedValue: updatedValue
                      timestamp: 0
                    - new: true
                      fieldName: fieldName
                      customerId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
                      id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
                      previousValue: previousValue
                      userId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
                      updatedValue: updatedValue
                      timestamp: 0
                    universeId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
                    entityNames: entityNames
                    recommendation: recommendation
                    recommendationTimestamp: 0
                    recommendationInfo:
                      key: '{}'
                    recommendationState: OPEN
                    customerId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
                    id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
                    isStale: true
                    recommendationType: UNUSED_INDEX
          description: successful operation
      security:
      - apiKeyAuth: []
      summary: YugabyteDB Anywhere Get Performance Recommendation Details
      tags:
      - Performance Advisor
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
  /api/v1/customers/{cUUID}/universes/{uniUUID}/last_run:
    get:
      description: 'WARNING: This is a preview API that could change.'
      operationId: getLatestRun
      parameters:
      - in: path
        name: cUUID
        required: true
        schema:
          format: uuid
          type: string
        example: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
      - in: path
        name: uniUUID
        required: true
        schema:
          format: uuid
          type: string
        example: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/YBPSuccess'
              examples:
                GetLatestRun200Example:
                  summary: Default getLatestRun 200 response
                  x-microcks-default: true
                  value:
                    success: true
                    message: message
          description: successful operation
      security:
      - apiKeyAuth: []
      summary: YugabyteDB Anywhere Get Last Performance Advisor Run Details
      tags:
      - Performance Advisor
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
  /api/v1/customers/{cUUID}/universes/{uniUUID}/perf_advisor_settings:
    get:
      description: 'WARNING: This is a preview API that could change.'
      operationId: getSettings
      parameters:
      - in: path
        name: cUUID
        required: true
        schema:
          format: uuid
          type: string
        example: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
      - in: path
        name: uniUUID
        required: true
        schema:
          format: uuid
          type: string
        example: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
      - in: query
        name: request
        schema: {}
        example: example-request
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PerfAdvisorSettingsWithDefaults'
              examples:
                GetSettings200Example:
                  summary: Default getSettings 200 response
                  x-microcks-default: true
                  value:
                    defaultSettings:
                      cpu_skew_interval_mins: 1
                      hot_shard_interval_mins: 1
                      query_skew_min_queries: 1
                      query_skew_interval_mins: 1
                      cpu_usage_interval_mins: 1
                      hot_shard_write_skew_threshold_pct: 1.1231513536777256
                      rejected_conn_interval_mins: 1
                      connection_skew_threshold_pct: 1.1465812980502945
                      enabled: true
                      universe_frequency_mins: 5
                      hot_shard_min_node_writes: 1
                      hot_shard_read_skew_threshold_pct: 1.7386281948385884
                      cpu_skew_min_usage_pct: 1.5637376656633328
                      hot_shard_min_node_reads: 1
                      cpu_usage_threshold: 1.9301444243932577
                      cpu_skew_threshold_pct: 1.2302135886934766
                      query_skew_threshold_pct: 1.684685269835264
                      rejected_conn_threshold: 1
                      connection_skew_min_connections: 1
                      connection_skew_interval_mins: 1
                    universeSettings:
                      cpu_skew_interval_mins: 1
                      hot_shard_interval_mins: 1
                      query_skew_min_queries: 1
                      query_skew_interval_mins: 1
                      cpu_usage_interval_mins: 1
                      hot_shard_write_skew_threshold_pct: 1.1231513536777256
                      rejected_conn_interval_mins: 1
                      connection_skew_threshold_pct: 1.1465812980502945
                      enabled: true
                      universe_frequency_mins: 5
                      hot_shard_min_node_writes: 1
                      hot_shard_read_skew_threshold_pct: 1.7386281948385884
                      cpu_skew_min_usage_pct: 1.5637376656633328
                      hot_shard_min_node_reads: 1
                      cpu_usage_threshold: 1.9301444243932577
                      cpu_skew_threshold_pct: 1.2302135886934766
                      query_skew_threshold_pct: 1.684685269835264
                      rejected_conn_threshold: 1
                      connection_skew_min_connections: 1
                      connection_skew_interval_mins: 1
          description: successful operation
      security:
      - apiKeyAuth: []
      summary: YugabyteDB Anywhere Get Universe Performance Advisor Settings
      tags:
      - Performance Advisor
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
    post:
      description: 'WARNING: This is a preview API that could change.'
      operationId: updateSettings
      parameters:
      - in: path
        name: cUUID
        required: true
        schema:
          format: uuid
          type: string
        example: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
      - in: path
        name: uniUUID
        required: true
        schema:
          format: uuid
          type: string
        example: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
      - in: query
        name: request
        schema: {}
        example: example-request
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PerfAdvisorSettingsFormData'
            examples:
              UpdateSettingsRequestExample:
                summary: Default updateSettings request
                x-microcks-default: true
                value:
                  cpu_skew_interval_mins: 1
                  hot_shard_interval_mins: 1
                  query_skew_min_queries: 1
                  query_skew_interval_mins: 1
                  cpu_usage_interval_mins: 1
                  hot_shard_write_skew_threshold_pct: 1.1231513536777256
                  rejected_conn_interval_mins: 1
                  connection_skew_threshold_pct: 1.1465812980502945
                  enabled: true
                  universe_frequency_mins: 5
                  hot_shard_min_node_writes: 1
                  hot_shard_read_skew_threshold_pct: 1.7386281948385884
                  cpu_skew_min_usage_pct: 1.5637376656633328
                  hot_shard_min_node_reads: 1
                  cpu_usage_threshold: 1.9301444243932577
                  cpu_skew_threshold_pct: 1.2302135886934766
                  query_skew_threshold_pct: 1.684685269835264
                  rejected_conn_threshold: 1
                  connection_skew_min_connections: 1
                  connection_skew_interval_mins: 1
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/YBPSuccess'
              examples:
                UpdateSettings200Example:
                  summary: Default updateSettings 200 response
                  x-microcks-default: true
                  value:
                    success: true
                    message: message
          description: successful operation
      security:
      - apiKeyAuth: []
      summary: YugabyteDB Anywhere Update Universe Performance Advisor Settings
      tags:
      - Performance Advisor
      x-codegen-request-body-name: PerformanceAdvisorSettingsRequest
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
  /api/v1/customers/{cUUID}/universes/{uniUUID}/start_manually:
    post:
      description: 'WARNING: This is a preview API that could change.'
      operationId: runPerfAdvisor
      parameters:
      - in: path
        name: cUUID
        required: true
        schema:
          format: uuid
          type: string
        example: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
      - in: path
        name: uniUUID
        required: true
        schema:
          format: uuid
          type: string
        example: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
      - in: query
        name: request
        schema: {}
        example: example-request
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PerfAdvisorManualRunStatus'
              examples:
                RunPerfAdvisor200Example:
                  summary: Default runPerfAdvisor 200 response
                  x-microcks-default: true
                  value:
                    activeRun:
                      scheduleTime: 2022-12-12 13:07:18+00:00
                      universeUUID: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
                      customerUUID: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
                      startTime: 2022-12-12 13:07:18+00:00
                      endTime: 2022-12-12 13:07:18+00:00
                      state: PENDING
                      manual: true
                      uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
                    success: true
                    message: message
          description: successful operation
      security:
      - apiKeyAuth: []
      summary: YugabyteDB Anywhere Start Performance Advisor Run for Universe
      tags:
      - Performance Advisor
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
components:
  schemas:
    StateChangeAuditInfoPagedResponse:
      example:
        entities:
        - new: true
          fieldName: fieldName
          customerId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
          id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
          previousValue: previousValue
          userId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
          updatedValue: updatedValue
          timestamp: 0
        - new: true
          fieldName: fieldName
          customerId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
          id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
          previousValue: previousValue
          userId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
          updatedValue: updatedValue
          timestamp: 0
        hasPrev: true
        hasNext: true
        totalCount: 6
      properties:
        entities:
          items:
            $ref: '#/components/schemas/StateChangeAuditInfo'
          type: array
          example:
          - new: true
            fieldName: fieldName
            customerId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
            id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
            previousValue: previousValue
            userId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
            updatedValue: updatedValue
            timestamp: 0
        hasNext:
          type: boolean
          example: true
        hasPrev:
          type: boolean
          example: true
        totalCount:
          format: int32
          type: integer
          example: 10
      required:
      - entities
      - hasNext
      - hasPrev
      - totalCount
      type: object
    StateChangeAuditInfoFilter:
      example:
        customerId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
        ids:
        - 046b6c7f-0b8a-43b9-b35d-6489e6daee91
        - 046b6c7f-0b8a-43b9-b35d-6489e6daee91
        recommendationId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
        userId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
      properties:
        customerId:
          format: uuid
          type: string
          example: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
        ids:
          items:
            format: uuid
            type: string
          type: array
          uniqueItems: true
          example:
          - 046b6c7f-0b8a-43b9-b35d-6489e6daee91
        recommendationId:
          format: uuid
          type: string
          example: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
        userId:
          format: uuid
          type: string
          example: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
      required:
      - customerId
      - ids
      - recommendationId
      - userId
      type: object
    StateChangeAuditInfoPagedQuery:
      example:
        filter:
          customerId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
          ids:
          - 046b6c7f-0b8a-43b9-b35d-6489e6daee91
          - 046b6c7f-0b8a-43b9-b35d-6489e6daee91
          recommendationId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
          userId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
        offset: 6
        needTotalCount: true
        limit: 0
        sortBy: id
        direction: ASC
      properties:
        direction:
          enum:
          - ASC
          - DESC
          type: string
          example: ASC
        filter:
          $ref: '#/components/schemas/StateChangeAuditInfoFilter'
        limit:
          format: int32
          type: integer
          example: 10
        needTotalCount:
          type: boolean
          example: true
        offset:
          format: int32
          type: integer
          example: 100
        sortBy:
          enum:
          - id
          - timestamp
          type: string
          example: id
      required:
      - direction
      - filter
      - limit
      - needTotalCount
      - offset
      - sortBy
      type: object
    StateChangeAuditInfo:
      example:
        new: true
        fieldName: fieldName
        customerId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
        id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
        previousValue: previousValue
        userId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
        updatedValue: updatedValue
        timestamp: 0
      properties:
        customerId:
          format: uuid
          type: string
          example: 046b6c7f-0b8a-43b9-b

# --- truncated at 32 KB (74 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/yugabytedb/refs/heads/main/openapi/yugabytedb-performance-advisor-api-openapi.yml