How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Oracle Sql Tuning API

The sqlTuning API from Oracle — 16 operation(s) for sqltuning.

Oracle Sql Tuning API is one of 378 APIs that Oracle publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

The published artifact set on APIs.io includes an OpenAPI specification and an API reference.

This API exposes 17 operations across 16 paths, and defines 41 schemas. It is described by OpenAPI 3.2.0, at version 20201101.

Requests are made against 2 base URLs: http://dbmgmt.{region}.oci.oraclecloud.com/20201101, https://dbmgmt.{region}.oci.oraclecloud.com/20201101.

17 operations 16 paths 41 schemas 7 GET10 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
20201101
Base URL
https://{host}:{port}/ords/
Resource Areas
1

Paths & Operations 17

Across 16 paths, the API surfaces 17 operations — 7 GET, 10 POST. Each is listed below with its method, path, parameters, and response codes.

sqlTuning 17
POST
/managedDatabases/{managedDatabaseId}/actions/cloneSqlTuningTask
Clone and run a SQL tuning task in the database
CloneSqlTuningTask 3 params body → 200400401404409412429500
POST
/managedDatabases/{managedDatabaseId}/actions/dropSqlTuningTask
Drop a SQL tuning task from the database
DropSqlTuningTask 3 params body → 200400401404409412429500
POST
/managedDatabases/{managedDatabaseId}/actions/startSqlTuningTask
Start a SQL tuning task in the database
StartSqlTuningTask 3 params body → 200400401404409412429500
GET
/managedDatabases/{managedDatabaseId}/sqlTuningAdvisorTasks
Lists the SQL Tuning Advisor tasks.
ListSqlTuningAdvisorTasks 11 params → 200400401404429500default
GET
/managedDatabases/{managedDatabaseId}/sqlTuningAdvisorTasks/{sqlTuningAdvisorTaskId}/executionPlanStatsComparision
Retrieve a comparison of the existing SQL execution plan and new plan.
GetExecutionPlanStatsComparision 6 params → 200400401404409412429500
GET
/managedDatabases/{managedDatabaseId}/sqlTuningAdvisorTasks/{sqlTuningAdvisorTaskId}/findings
Gets an array of details for the findings that match the given filters.
ListSqlTuningAdvisorTaskFindings 14 params → 200400401404429500default
GET
/managedDatabases/{managedDatabaseId}/sqlTuningAdvisorTasks/{sqlTuningAdvisorTaskId}/recommendations
Gets the findings and possible actions for a given object in a SQL tuning task.
ListSqlTuningAdvisorTaskRecommendations 10 params → 200400401404429500default
GET
/managedDatabases/{managedDatabaseId}/sqlTuningAdvisorTasks/{sqlTuningAdvisorTaskId}/sqlExecutionPlan
Retrieve a SQL execution plan for a SQL being tuned.
GetSqlExecutionPlan 6 params → 200400401404409412429500
GET
/managedDatabases/{managedDatabaseId}/sqlTuningAdvisorTasks/{sqlTuningAdvisorTaskId}/summaryReport
Gets the SQL Tuning Advisor summary report.
GetSqlTuningAdvisorTaskSummaryReport 9 params → 200400401404429500default
GET
/managedDatabases/{managedDatabaseId}/sqlTuningSets
Lists the SQL Tuning Sets.
ListSqlTuningSets 9 params → 200400401404429500default
POST
/managedDatabases/{managedDatabaseId}/sqlTuningSets
Creates an empty Sql tuning set.
CreateSqlTuningSet 4 params → 200400401404409429500default
POST
/managedDatabases/{managedDatabaseId}/sqlTuningSets/{sqlTuningSetId}
Fetch the details of Sql statements in the Sql tuning set.
FetchSqlTuningSet 5 params → 200400401404409429500default
POST
/managedDatabases/{managedDatabaseId}/sqlTuningSets/{sqlTuningSetId}/actions/dropSqlTuningSet
Drops the Sql tuning set.
DropSqlTuningSet 5 params → 200400401404409412429500
POST
/managedDatabases/{managedDatabaseId}/sqlTuningSets/{sqlTuningSetId}/actions/dropSqlsInSqlTuningSet
Deletes the Sqls in the specified Sql tuning set.
DropSqlsInSqlTuningSet 5 params → 200400401404409429500default
POST
/managedDatabases/{managedDatabaseId}/sqlTuningSets/{sqlTuningSetId}/actions/loadSqlTuningSet
Load Sql statements into a Sql tuning set.
LoadSqlTuningSet 5 params → 200400401404409429500default
POST
/managedDatabases/{managedDatabaseId}/sqlTuningSets/{sqlTuningSetId}/actions/saveAs
Saves the specified list of Sqls statements into another Sql tuning set.
SaveSqlTuningSetAs 5 params → 200400401404409429500default
POST
/managedDatabases/{managedDatabaseId}/sqlTuningSets/{sqlTuningSetId}/actions/validateBasicFilter
Validates the user entered basic filter criteria.
ValidateBasicFilter 5 params → 200400401404409429500default

Schemas 41

The contract defines 41 schemas that model the data the API accepts and returns. The most detailed are SqlTuningTaskSqlExecutionPlanStep (29 properties), LoadSqlTuningSetDetails (27 properties), SaveSqlTuningSetAsDetails (24 properties), SqlTuningAdvisorTaskFindingSummary (17 properties). Each schema is shown below with its type and property counts.

SqlTuningSetSummary
object
The summary information of a SQL tuning set.
10 properties 2 required
SqlTuningTaskSqlExecutionPlanStep
object
A step in the SQL execution plan.
29 properties
SqlTuningSet
object
Details of the Sql tuning set.
12 properties 2 required
DropSqlTuningTaskDetails
object
The request to drop a SQL tuning task. It takes either credentialDetails or databaseCredential. It's recommended to provide databaseCredential
3 properties 1 required
SqlTuningTaskCredentialDetails
object
The credential used to connect to the database.
3 properties 3 required
SqlTuningAdvisorTaskCollection
object
The SQL Tuning Advisor task list.
1 property 1 required
DropSqlTuningSetDetails
object
The details required to drop a Sql tuning set. It takes either credentialDetails or databaseCredential. It's recommended to provide databaseCredential
5 properties 1 required
LoadSqlTuningSetDetails
object
The details required to load the Sql statements into the Sql tuning set. It takes either credentialDetails or databaseCredential. It's recommended to provide d…
27 properties 2 required
StartSqlTuningTaskDetails
object
The request to start a SQL tuning task. It takes either credentialDetails or databaseCredential. It's recommended to provide databaseCredential
11 properties 3 required
SqlTuningAdvisorTaskRecommendationCollection
object
The SQL Tuning Advisor recommendations for a given SQL statement.
1 property 1 required
SqlTuningTaskReturn
object
The returned object for starting or cloning a SQL tuning advisor task.
1 property 1 required
ValidateBasicFilterDetails
object
Validate the basic filter criteria provided by the user. It takes either credentialDetails or databaseCredential. It's recommended to provide databaseCredential
5 properties 3 required
CreateSqlTuningSetDetails
object
Create an empty Sql tuning sets. It takes either credentialDetails or databaseCredential. It's recommended to provide databaseCredential
6 properties 1 required
SqlTuningAdvisorTaskSqlExecutionPlan
object
A SQL execution plan.
1 property 1 required
SqlTuningAdvisorTaskSummaryFindingBenefits
object
The benefits of the findings in the SQL Tuning Advisor summary report.
4 properties 4 required
SqlTuningAdvisorTaskSummaryReportStatementCounts
object
The number of statements in the SQL Tuning Advisor summary report.
4 properties 4 required
DatabaseCredentialDetails
object
The credential to connect to the database to perform tablespace administration tasks.
1 property 1 required
SaveSqlTuningSetAsDetails
object
Save current list of Sql statements into another Sql tuning set. It takes either credentialDetails or databaseCredential. It's recommended to provide databaseC…
24 properties 3 required
SqlTuningAdvisorTaskSummaryReportIndexFindingSummary
object
A summary for all the index findings in a SQL Tuning Advisor task. Includes the index's hash value, table name, schema, index name, reference count and index c…
6 properties 6 required
SqlTuningAdvisorTaskSummaryReportTaskInfo
object
The general information regarding the SQL Tuning Advisor task.
8 properties 5 required
SqlTuningAdvisorTaskSummaryReport
object
The content of the SQL Tuning Advisor summary report.
4 properties 2 required
SqlTuningAdvisorTaskFindingSummary
object
A summary of the findings of the objects in a tuning task that match a given filter. This includes the kind of findings that were reported, whether the benefit…
17 properties 6 required
SqlTuningSetInput
object
The SQL tuning set for a SQL tuning task.
2 properties 2 required
SqlTuningAdvisorTaskSummaryFindingCounts
object
The number of findings in the SQL Tuning Advisor summary report.
6 properties 6 required
SqlTuningSetCollection
object
The details in the SQL tuning set summary.
2 properties 2 required
SqlInSqlTuningSet
object
Sql information in the Sql tuning set.
7 properties 2 required
CloneSqlTuningTaskDetails
object
The request to clone and run a SQL tuning task. The new task uses the same inputs as the one being cloned. It takes either credentialDetails or databaseCredent…
5 properties 2 required
SqlTuningAdvisorTaskSummary
object
The summary of a SQL Tuning Advisor task.
12 properties 1 required
SqlTuningSetAdminCredentialDetails
object
The credential to connect to the database to perform Sql tuning set administration tasks.
3 properties 3 required
SqlTuningAdvisorTaskFindingCollection
object
The list of findings for a SQL Tuning Advisor task.
1 property 1 required
SqlTuningTaskPlanStats
object
The statistics of a SQL execution plan.
3 properties 3 required
SqlTuningSetAdminActionStatus
object
The status of a Sql tuning set admin action.
6 properties 1 required
SqlTuningAdvisorTaskSummaryReportStatistics
object
The statistics of the statements and findings in the SQL Tuning Advisor summary report.
3 properties 3 required
SqlTuningTaskSqlDetail
object
The details of the SQL statements on which SQL tuning is performed.
1 property 1 required
SqlTuningAdvisorTaskSummaryReportObjectStatFindingSummary
object
A summary for all the statistic findings of an object in a SQL Tuning Advisor task. Includes the object's hash, name, type, schema, problem type and the object…
6 properties 6 required
SqlMetrics
object
Metrics of the Sql in the Sql tuning set.
6 properties
DropSqlsInSqlTuningSetDetails
object
Drops the selected list of Sql statements from the current Sql tuning set. The basicFilter parameter specifies the Sql predicate to filter the Sql from the Sql…
6 properties 1 required
Error
object
Error Information.
2 properties 2 required
SqlTuningAdvisorTaskRecommendationSummary
object
A recommendation for a given object in a SQL Tuning Task.
10 properties 4 required
FetchSqlTuningSetDetails
object
The details required to fetch the Sql tuning set details. It takes either credentialDetails or databaseCredential. It's recommended to provide databaseCredenti…
11 properties 2 required
ExecutionPlanStatsComparision
object
The comparison report of the SQL execution plan statistics in the original and modified plan.
2 properties 2 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

oracle-sqltuning-api-openapi.yml Raw ↑

Other APIs Oracle publishes across the network.

Oracle Database REST APIs
Oracle Integration Cloud API
Oracle Fusion Cloud Applications API
Oracle Fusion Cloud Financials REST API
Oracle Fusion Cloud HCM REST API
Oracle Fusion Cloud CX Sales and Service REST API
Oracle Fusion Cloud SCM REST API
Oracle Fusion Cloud Procurement REST API
Oracle Content Management API
OCI Generative AI API
OCI AI Vision API
OCI AI Language API
Where this information came from

This is an independent, third-party profile of Oracle Sql Tuning API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.