Db2 Warehouse on Cloud v5

Introduction Use the Db2 Warehouse on Cloud v5 API to access data, view and create database objects, administer, and monitor your Db2 Warehouse as a Service service. Root URL The context root for the Db2 Warehouse as a Service API is /dbapi/v5/. Error handling This API uses the following standard HTTP response codes to indicate whether a method completed successfully: - 200: The request was successful. - 400: An error occurred. Security Every request must include the Authorization HTTP header with the value Bearer accesstoken. You can get an access token in one of the following ways: - Using the /auth/tokens endpoint - Creating an IAM access tokenhttps://cloud.ibm.com/apidocs/iam-identity-token-apigettoken-password - Generating an IBM Cloud IAM oauth-tokenhttps://cloud.ibm.com/docs/account?topic=account-iamtokenfromapikey The token is used by Db2 Warehouse as a Service to identify who you are. Every request must include an X-Deployment-Id HTTP header with the value of your Db2 Warehouse as a Service tenant deployment ID. The ID starts with crn.You can view your instance's CRN by clicking on the instance in your Resource Listhttps://cloud.ibm.com/resources. Db2 Warehouse as a Service negotiates SSL connections by using the TLS v1.2 protocol. With current versions of cURL, protocol negotiation happens automatically by using TLS v1.2. If you are using an older version of cURL, include the --tlsv1.2 option in your cURL commands to force the request to use the TLS 1.2 protocol.

MethodPathSummary
POST/auth/tokensRequest a new access token
GET/auth/token/publickeyReturns public key of Json Web Token
DELETE/auth/token/logoutPerform logout operation for a token
GET/auth_policiesLists all authentication policies **ADMIN ONLY**
POST/auth_policiesCreates a new authentication policy **ADMIN ONLY**
GET/auth_policies/{id}Returns an authentication policy **ADMIN ONLY**
PUT/auth_policies/{id}Updates an authentication policy **ADMIN ONLY**
DELETE/auth_policies/{id}Deletes an existing policy **ADMIN ONLY**
PUT/auth/passwordSets a new password using dswebToken
POST/auth/resetRequests a password reset based on user's email
GET/schemasLists all schemas in the database
GET/schemas/{schema_name}Returns schema information
GET/schemas/{schema_name}/tablesLists tables in a schema
GET/schemas/{schema_name}/tables/{table_name}Returns information about a table
DELETE/schemas/{schema_name}/tables/{table_name}/dataDeletes all table data
GET/admin/schemas/obj_type/{obj_type}Query the list of object schemas
POST/admin/schemasCreate schema
PUT/admin/schemas/deleteDrops multiple schemas
GET/admin/privilegesGet single object privilege
PUT/admin/privilegesGrant or revoke privileges
POST/admin/privilegesPrivilege list of selected objects
POST/admin/schemas/ddlGenerate schema DDL
PUT/admin/tablesCreate a new table
PUT/admin/tables/deleteDrop multiple tables
GET/admin/schemas/{schema_name}/tables/{table_name}/definitionGet table definition
GET/admin/schemas/{schema_name}/tables/{table_name}/dataQuery table data
GET/admin/schemas/{schema_name}/tables/{table_name}/columns/{column_name}/propertiesGet column detail properties
GET/admin/tables/meta/datatypeGet the metadata type
POST/admin/tables/ddlGenerate table DDL
GET/admin/schemas/{schema_name}/tables/{table_name}/distribution_keysGet distributin keys
GET/admin/schemas/{schema_name}/tables/{table_name}/distributions/propertiesGet data distributin property
GET/admin/schemas/{schema_name}/tables/{table_name}/partitions/expressionsGet partition expressions
GET/admin/schemas/{schema_name}/tables/{table_name}/partitionsGet data partitions
POST/admin/tables/move_activityMove tables
POST/admin/tables/move_activity/scriptMove tables script
POST/admin/tables/copy_activityCopy tables
POST/admin/tables/copy_activity/scriptCopy tables script
POST/admin/tables/tasks/statusGet the latest status after last updated time
GET/admin/schemas/{schema_name}/views/{view_name}/propertiesQuery view detail properties
PUT/admin/views/deleteDrop multiple views
GET/admin/schemas/{schema_name}/views/{view_name}/dataQuery view data
GET/admin/schemas/{schema_name}/views/{view_name}/definitionGet View definition
POST/admin/views/ddlGenerate view DDL
GET/admin/schemas/{schema_name}/{obj_type}/{object_name}/dependenciesGet the dependencies of the object
GET/admin/tablespaces/{tablespace}/dependenciesGet the dependencies of the tablespace
GET/admin/bufferpools/{bufferpool_name}/propertiesQuery bufferpool detail properties
GET/admin/schemas/{schema_name}/tables/{table_name}/constraints/{constraint_name}/propertiesQuery constraint detail properties
GET/admin/schemas/{schema_name}/tables/{table_name}/indexes/{index_name}/propertiesQuery index detail properties
GET/admin/schemas/{schema_name}/triggers/{trigger_name}/propertiesQuery trigger detail properties
GET/admin/schemas/{schema_name}/mqts/{mqt_name}/propertiesQuery MQT detail properties
GET/admin/schemas/{schema_name}/functions/{specific_name}/propertiesQuery UDF detail properties
GET/admin/tablespaces/{table_space}/propertiesQuery tablespace detail properties
GET/admin/schemas/{schema_name}/procedures/{specific_name}/propertiesQuery procedure detail properties
GET/admin/schemas/{schema_name}/sequences/{sequence_name}/propertiesQuery sequence detail properties
GET/admin/schemas/{schema_name}/packages/{package_name}/propertiesQuery package detail properties
GET/admin/schemas/{schema_name}/udts/{type_name}/propertiesQuery UDT detail properties
GET/admin/schemas/{schema_name}/aliases/{alias_name}/propertiesQuery alias detail properties
GET/admin/schemas/{schema_name}/tables/{table_name}/propertiesGet table detail properties
PUT/admin/aliasesCreate alias
PUT/admin/aliases/deleteDrop multiple aliases
POST/admin/aliases/ddlGenerate Alias DDL
GET/admin/schemas/{schema_name}/aliases/{alias_name}/dataQuery alias data
POST/admin/mqts/ddlGet the SQL statement template for creating MQT table
PUT/admin/mqts/deleteDelete multiple mqt tables
GET/admin/schemas/{schema_name}/mqts/{mqt_name}/definitionGet the definition of MQT table
GET/admin/schemas/{schema_name}/mqts/{mqt_name}/dataGet the data of specified mqt table
GET/admin/privileges/authenticationsGet authentications through the authid filter
GET/admin/privileges/{authid_type}/{authid}/{obj_type}Get the privieles of auth id
POST/admin/privileges/dclGet SQL statement of grant or revoke privileges
PUT/admin/privileges/rolesGrant or revoke the privilges of role
POST/admin/privileges/rolesAdd new role
DELETE/admin/privileges/roles/{role_name}Delete one role
GET/admin/privileges/roles/{authid_type}/{authid}Get the membership of authid
POST/admin/privileges/roles/dclGet SQL statement of grant or revoke role
POST/admin/privileges/multiple_objtypes/dclGet SQL statement for grant or revoke privileges
PUT/admin/privileges/multiple_objtypesGrant or revole privileges for multiple objects and objects type
POST/admin/privileges/multiple_roles/dclGet the SQL statement for grant or revoke multiple roles
PUT/admin/privileges/multiple_rolesGrant or revoke multiple roles
PUT/admin/nicknamesCreate nicknames
PUT/admin/nicknames/deleteDelete multiple nicknames
GET/admin/schemas/{schema_name}/nicknames/{nickname}/definitionGet nickname definition
POST/admin/nicknames/ddlGenerate nickname DDL
GET/admin/schemas/{schema_name}/nicknames/{nickname}/propertiesGet nickname detail properties
GET/admin/schemas/{schema_name}/nicknames/{nickname}/dataGet nickname data
GET/admin/remoteServersList remote servers
POST/admin/remoteServersCreate remote server
PUT/admin/remoteServers/deleteDelete multiple remote servers
GET/admin/remoteServers/{server_name}/propertiesGet server properties
POST/admin/remoteServers/ddlGenerate server DDL
GET/admin/usermappingsLists usermappings
PUT/admin/usermappingsAlter usermapping
POST/admin/usermappingsCreate usermappings
PUT/admin/usermappings/deleteDelete multiple usermappings
POST/admin/usermappings/ddlGenerate usermapping DDL
GET/admin/usermappings/localusers/{local_user}/remoteservers/{server_name}/propertiesGet usermapping detail properties
POST/admin/remoteTablesLists the remote tables
POST/admin/remoteSchemasLists the remote schemas
POST/admin/workloads/ddlGenerate workload DDL
GET/admin/workloadsLists workloads
PUT/admin/sequences/deleteDrop multiple sequences
PUT/admin/procedures/deleteDrop multiple procedures
GET/admin/schemas/{schema_name}/procedures/{specific_name}/parametersRetrieve parameters for procedure
POST/admin/procedures/ddlGenerate create procedure template
PUT/admin/functions/deleteDrop multiple functions
GET/admin/schemas/{schema_name}/functions/{specific_name}/parametersRetrieve parameters for specific udf
POST/admin/functions/ddlGenerate create function template
PUT/admin/udts/deleteDrop multiple User-defined Types
GET/admin/schemas/{schema_name}/udts/{udt_name}/definitionRetrieve row definition for User-defined Type object
POST/admin/udts/ddlGenerate Create User-defined Types template
GET/admin/tablespacesQuery the list of tablespace
PUT/admin/tablespaces/deleteDrop multiple tablespaces
GET/admin/tablespaces/{tablespace}/iosettingGet the I/O settings of the tablespace
GET/admin/tablespaces/{tablespace}/sizeGet the tablespace size
GET/admin/tables/tasksGet all admin tasks list
GET/admin/tables/tasks/detail/{task_id}Get detail information of a task
GET/admin/bucket_aliasesQuery the list of object storage aliases
PUT/admin/bucket_aliasCreate object storage alias
DELETE/admin/bucket_alias/{alias_name}Delete object storage alias
POST/admin/tables/task/export_odfExport table to ODF format
POST/admin/tables/task/export_odf/scriptGet script used for exporting table to ODF format
PUT/admin/datalaketablesCreate a datalake table
POST/admin/datalaketables/ddlGet script of creating datalake table
GET/admin/schemas/{schema_name}/datalaketables/{table_name}/propertiesGet properties of datalake table
GET/admin/schemas/{schema_name}/datalaketables/{table_name}/definitionRetrieve row definition for datalake table
POST/load_jobs_ETCreates a data load job, load uses external table technology
GET/load_jobsLists all data load jobs, load uses Db2 load utility technology
POST/load_jobsCreates a data load job
GET/load_jobs/{id}Returns details about a load job including its progress
DELETE/load_jobs/{id}Removes load job from history
GET/load_jobs/{id}/logDownloads log file for a data load job
POST/admin/tables/task/import_aliasImport to table from storage alias
GET/admin/tables/import_alias/{alias_name}/objects/schema_discoveryDiscover schema of object data from object storage alias
DELETE/home/{path}Deletes a file in the user's home storage
GET/home_content/{path}Download file from user's home storage
POST/home_content/{path}Uploads a file to the user's home storage
POST/sql_jobsExecutes SQL statements
GET/sql_jobs/{id}Fetches partial results of a SQL job execution
POST/sql_query_exportReturns the results of a SQL query to CSV
GET/monitorReturns overall status of system components
GET/metrics/average_response_timeReturn the average response time for a specified time frame. **DB ADMIN ONLY**
GET/metrics/average_statements_rateReturn the average number of statements executed every minutes for a specified time frame. **DB ADMIN ONLY**
GET/metrics/average_rows_readReturn the average number of rows read(rows/min) for a specified time frame. **DB ADMIN ONLY**
GET/metrics/rows_readReturn the numbers of rows read(rows/min) for a specified time frame. **DB ADMIN ONLY**
GET/metrics/max_connections_countReturn the maximum number of concurrent connections for a specified time frame **DB ADMIN ONLY**
GET/metrics/connections_countReturn maximum numbers of concurrent connections for a specified time frame. **DB ADMIN ONLY**
GET/metrics/max_lockwaits_rateReturn the maximum lockwaits per minute for a specified time frame. **DB ADMIN ONLY**
GET/metrics/lockwaits_rateReturn the maximum lockwaits per minute for a specified time frame. **DB ADMIN ONLY**
GET/metrics/max_log_spaceReturn the maximum usage percentage of logs for a specified time frame. **DB ADMIN ONLY**
GET/metrics/log_spaceReturn the maximum usage percentages of logs for a specified time frame. **DB ADMIN ONLY**
GET/metrics/max_cpuReturn the maximum percent of node CPU usage for a specified time frame. **DB ADMIN ONLY**
GET/metrics/cpu_summaryReturn the percent of node CPU usage for a specified time frame. **DB ADMIN ONLY**
GET/metrics/max_memoryReturn the maximum percent of node memory usage for a specified time frame. **DB ADMIN ONLY**
GET/metrics/memory_summaryReturn the percent of node memory usage for a specified time frame. **DB ADMIN ONLY**
GET/metrics/timespentReturn the time spent in each operation for a specified time frame. **DB ADMIN ONLY**
GET/metrics/schemasReturns performance metrics for schemas **DB ADMIN ONLY**
GET/metrics/locking/blocking_and_waiting_connectionsReturns a list of blocking transactions. **DB ADMIN ONLY**
GET/metrics/locking/blocking_and_waiting_connections/current/listReturns a list of blocking transactions. **DB ADMIN ONLY**
GET/metrics/locking/blocking_and_waiting_connections/holder/{application_handle}Returns the blocking transactions. **DB ADMIN ONLY**
GET/metrics/locking/blocking_and_waiting_connections/waiter/{application_handle}Returns the waiting transactions. **DB ADMIN ONLY**
GET/metrics/locking/locked_objects_with_waiting_connectionsReturns a list of history locked objects with waiting connections. **DB ADMIN ONLY**
GET/metrics/locking/locked_objects_with_waiting_connections/current/listReturns a list of current locked objects with waiting connections. **DB ADMIN ONLY**
GET/metrics/locking/locked_objects_with_waiting_connections/{hld_application_handle}Returns the locked objects with waiting connections. **DB ADMIN ONLY**
GET/metrics/locking/find_locked_objectsReturns a list of history locked objects
GET/metrics/locking/find_locked_objects/current/listReturns a list of current locked objects
GET/metrics/locking/find_locked_objects/{application_handle}Returns the locked objects
GET/metrics/locking/evmon_lockingReturns a summary of event monitoring locking
GET/metrics/locking/evmon_locking/current/listReturns a list of current event monitor locking
GET/metrics/locking/evmon_locking/event_id/{id}/holder_member/{member}/waiter_member/{w_member}/holder_application_handle/{handle}/waiter_application_handle/{w_handle}/holder_activity_id/{h_id}/waiter_activity_id/{w_id}/event_timestamp/{timestamp}Returns an event monitor locking detail
GET/metrics/statements_countReturn the number of statements for a specified time frame. **DB ADMIN ONLY**
GET/metrics/statements_rateReturn numbers of statements executed every minutes for a specified time frame. **DB ADMIN ONLY**
GET/metrics/statements/inflight_executionsReturns a list of inflight executions
GET/metrics/statements/inflight_executions/current/listReturns a list of current inflight executions
GET/metrics/statements/package_cacheReturns performance of package cache **DB ADMIN ONLY**
GET/metrics/statements/package_cache/current/listReturns current performance of package cache **DB ADMIN ONLY**
GET/metrics/statements/package_cache/{sql_hash_id}Returns performance of one sql in package cache **DB ADMIN ONLY**
GET/metrics/statements/package_cache/{sql_hash_id}/timeseriesReturns the time series performance data. **DB ADMIN ONLY**
GET/metrics/statements/evmon_activityReturns a list of event monitor activities **DB ADMIN ONLY**
GET/metrics/statements/evmon_activity/groupby/listReturns a list of event monitor activities group by a specific field **DB ADMIN ONLY**
GET/metrics/statements/evmon_activity/current/listReturns a list of current event monitor activities **DB ADMIN ONLY**
GET/metrics/statements/evmon_activity/current/list/groupby/listReturns a list of current event monitor activities group by a specific field **DB ADMIN ONLY**
GET/metrics/statements/evmon_activity/{application_handle}/uow/{uow_id}/activity/{activity_id}Returns an event monitor activity detail **DB ADMIN ONLY**
GET/metrics/statements/stored_proceduresReturns a list of stored procedures
GET/metrics/statements/stored_procedures/current/listReturns a list of current stored procedures
GET/metrics/applications/{application_handle}/uow/{uow_id}/inflight_executions/{activity_id}Returns a infight execution detail
DELETE/metrics/applications/{application_handle}/uow/{uow_id}/inflight_executions/{activity_id}Terminates a statement **DB ADMIN ONLY**
GET/metrics/applications/connectionsReturns a list of connections
GET/metrics/applications/connections/current/listReturns a list of current connections
GET/metrics/applications/connections/{application_handle}Returns a connection detail
DELETE/metrics/applications/connections/{application_handle}Terminates a database connection **DB ADMIN ONLY**
GET/metrics/applications/connections/{application_handle}/timeseriesReturns a list of timeseries of a connection
GET/metrics/applications/uowReturns a list of units of works **DB ADMIN ONLY**
GET/metrics/applications/uow/current/listReturns a list of current connections **DB ADMIN ONLY**
GET/metrics/applications/{application_handle}/uow/{uow_id}Returns a units of works detail **DB ADMIN ONLY**
GET/metrics/applications/{application_handle}/uow/{uow_id}/membersReturns a units of works detail **DB ADMIN ONLY**
GET/metrics/applications/evmon_utilityReturns a summary of event monitoring utility
GET/metrics/applications/evmon_utility/current/listReturns a list of current event monitor utility
GET/metrics/applications/evmon_utility/utility_invocation_id/{utility_invocation_id}Returns an event monitor utility detail
GET/metrics/applications/topconsumer/current/listReturns a summary of the current top consumer metrics detail
GET/metrics/applications/topconsumer/Returns a summary of historical top consumers during a time period
GET/metrics/applications/topconsumer/{category}/timeseriesReturns a list of timeseries of certain metric's top consumers
GET/monitor/connectionsLists active database connections **DB ADMIN ONLY**
DELETE/monitor/connections/{application_handle}Terminates a database connection **DB ADMIN ONLY**
GET/metrics/throughput/partition_summaryReturns a list of member summary **DB ADMIN ONLY**
GET/metrics/throughput/partition_summary/current/listReturns a current list of member summary **DB ADMIN ONLY**
GET/metrics/throughput/partition_summary/{member}Returns a current list of member summary of a specific member. **DB ADMIN ONLY**
GET/metrics/throughput/partition_summary/{member}/timeseriesReturns a time series list of member summary of a specific member. **DB ADMIN ONLY**
GET/metrics/throughput/wlm_workload_summaryReturns a list of wlm workload summary **DB ADMIN ONLY**
GET/metrics/throughput/wlm_workload_summary/{workload_name}Returns a list of wlm workload summary of a specific workload name. **DB ADMIN ONLY**
GET/metrics/throughput/wlm_workload_summary/current/listReturns a current list of wlm workload summary . **DB ADMIN ONLY**
GET/metrics/throughput/wlm_workload_summary/{workload_name}/membersReturns a list of wlm workload summary of a specific workload name.aggregated by member. **DB ADMIN ONLY**
GET/metrics/throughput/wlm_workload_summary/{workload_name}/timeseriesReturns a list of wlm workload summary of a specific workload name. **DB ADMIN ONLY**
GET/metrics/throughput/wlm_service_class_summaryReturns a list of WLM service class summary **DB ADMIN ONLY**
GET/metrics/throughput/wlm_service_class_summary/current/listReturns a current list of wlm service class summary **DB ADMIN ONLY**
GET/metrics/throughput/wlm_service_class_summary/service_superclass/{service_superclass_name}/service_subclass/{service_subclass_name}Returns a list of WLM service class summary of specific wlm_service_class_summary and service_subclass_name **DB ADMIN ONLY**
GET/metrics/throughput/wlm_service_class_summary/service_superclass/{service_superclass_name}/service_subclass/{service_subclass_name}/membersReturns a list of WLM service class summary of specific wlm_service_class_summary and service_subclass_name. **DB ADMIN ONLY**
GET/metrics/throughput/wlm_service_class_summary/service_superclass/{service_superclass_name}/service_subclass/{service_subclass_name}/timeseriesReturns a list of WLM service class summary of specific wlm_service_class_summary and service_subclass_name. **DB ADMIN ONLY**
GET/metrics/throughput/partition_skewReturns a list of database member skew
GET/metrics/throughput/partition_skew/{member}Returns a current list of database member skew of specific member
GET/metrics/throughput/partition_skew/current/listReturns a current list of member summary
GET/metrics/throughput/partition_skew/{member}/timeseriesReturns a current list of database member skew of specific member
GET/metrics/throughput/connectionsummarygetConnectionSummaryHistory
GET/metrics/throughput/connectionsummary/current/listgetConnectionSummaryRealTime
GET/metrics/throughput/connectionsummary/{application_handle}showApplicationHandleDetail
GET/metrics/throughput/connectionsummary/{application_handle}/partitionshowPartitionsForApplicationHandle
GET/metrics/throughput/connectionsummary/{application_handle}/partition/{partition_id}showPartitionDetailForApplicationHandle
GET/metrics/throughput/connectionsummary/{application_handle}/timeseriesgetConnectionSummaryHistoryTimeSeries
GET/metrics/throughput/os_time_spentReturns a summary of operating system time spent
GET/metrics/throughput/os_time_spent/current/listReturns a summary of the current operating system time spent
GET/metrics/throughput/os_time_spent/{category}/timeseriesReturns a list of timeseries of system operating time spent
GET/monitor/storageReturns current storage usage **DB ADMIN ONLY**
GET/monitor/storage/historyReturns storage usage history **DB ADMIN ONLY**
GET/monitor/storage/by_schemaStorage utilization by schema **DB ADMIN ONLY**
GET/monitor/storage/by_schema/{schema_name}Storage utilization of a schema **DB ADMIN ONLY**
GET/metrics/max_storageReturn the maximum usage percent of storage for a specified time frame. **DB ADMIN ONLY**
GET/metrics/storageReturn the usage percent of storage for a specified time frame. **DB ADMIN ONLY**
GET/metrics/schemas/{tabschema}/tables/{tabname}/storage/timeseriesReturn a table storage usage in a time range **DB ADMIN ONLY**
GET/metrics/tables/storageReturns a list for tables storage **DB ADMIN ONLY**
GET/metrics/schemas/{tabschema}/tables/{tabname}/storageReturns a table storage **DB ADMIN ONLY**
GET/metrics/storage/schemasReturns a list for schemas storage **DB ADMIN ONLY**
GET/metrics/storage/schemas/{tabschema}/timeseriesReturn a schema used storage in a time range **DB ADMIN ONLY**
GET/metrics/storage/schemas/{tabschema}Returns a schema storage **DB ADMIN ONLY**
POST/metrics/tables/storage/collectorRuns a tables storage collection **DB ADMIN ONLY**
GET/metrics/schemas/current/listReturns performance metrics for schemas **DB ADMIN ONLY**
GET/metrics/schemas/{schema_name}Returns performance metrics for one schema **DB ADMIN ONLY**
GET/metrics/schemas/{schema_name}/membersReturns performance metrics on all members for one schema **DB ADMIN ONLY**
GET/metrics/schemas/{schema_name}/timeseriesReturns performance metrics timeseries for one schema **DB ADMIN ONLY**
GET/metrics/tablesReturns performance of tables **DB ADMIN ONLY**
GET/metrics/tables/current/listReturns current performance of tables **DB ADMIN ONLY**
GET/metrics/schemas/{schema_name}/tables/{table_name}Returns performance of one table **DB ADMIN ONLY**
GET/metrics/schemas/{schema_name}/tables/{table_name}/membersReturns performance on all members for one table **DB ADMIN ONLY**
GET/metrics/schemas/{schema_name}/tables/{table_name}/timeseriesReturns performance timeseries for one table **DB ADMIN ONLY**
GET/metrics/tableperformanceReturns performance of tables and schemas **DB ADMIN ONLY**
GET/metrics/tableperformance/current/listReturns current performance of tables and schemas **DB ADMIN ONLY**
GET/metrics/memory/instance_memoryReturns a list of instance memory data
GET/metrics/memory/instance_memory/current/listReturns a list of current instance memory data
GET/metrics/memory/instance_memory/host_name/{host_name}/db_name/{db_name}/memory_set_type/{memory_set_type}/membersReturns the instance memory data
GET/metrics/memory/instance_memory/host_name/{host_name}/memory_set_type/{memory_set_type}/membersReturns the instance memory data
GET/metrics/memory/instance_memory/host_name/{host_name}/db_name/{db_name}/memory_set_type/{memory_set_type}/timeseriesReturns the time series performance data of instance memory data
GET/metrics/memory/instance_memory/host_name/{host_name}/memory_set_type/{memory_set_type}/timeseriesReturns the time series performance data of instance memory data
GET/metrics/memory/database_memoryReturns a list of database memory data
GET/metrics/memory/database_memory/current/listReturns a list of current database memory data
GET/metrics/memory/database_memory/memory_pool_type/{memory_pool_type}/membersReturns the database memory data
GET/metrics/memory/database_memory/memory_pool_type/{memory_pool_type}/timeseriesReturns the time series performance data of database memory data
GET/metrics/io/buffer_poolReturns a list of buffer pool data
GET/metrics/io/buffer_pool/current/listReturns a list of current buffer pool data
GET/metrics/io/buffer_pool/{bp_name}Returns the buffer pool data
GET/metrics/io/buffer_pool/{bp_name}/membersReturns performance on all members for one buffer pool data
GET/metrics/io/buffer_pool/{bp_name}/timeseriesReturns the time series performance data of buffer pool data
GET/metrics/io/logging_performanceReturns a list of logging performance data
GET/metrics/io/logging_performance/current/listReturns a list of current logging performance data
GET/metrics/io/logging_performance/{member}Returns the logging performance data
GET/metrics/io/logging_performance/{member}/timeseriesReturns the time series performance data of logging performance data
GET/report/scheduler_listReturns a list of active schedulers
GET/report/scheduler/scheduler_id/{scheduler_id}Returns a scheduler definition
PUT/report/scheduler/scheduler_id/{scheduler_id}Edit a scheduler definition
POST/report/schedulerCreates a new active scheduler
GET/report/result_listReturns a list of completed schedulers
GET/report/retention/report_history_timeReturns the report history keep time(ms)
GET/report/retention/report_history_countReturns the report history keep count
PUT/report/retention/report_history_time/{report_history_time}Update the report history keep time(ms)
PUT/report/retention/report_history_count/{report_history_count}Update the report history keep count
POST/explain/explain_modelGenerate visual explain model for a given sql
GET/explain/explain_model/{sessionId}/diagram/nodesGet visual explain nodes information
POST/explain/explain_model/{sessionId}/diagram/layoutGenerate visual explain layout
GET/explain/explain_model/{sessionId}/diagram/nodes/{nodeId}/descriptionGet the data of the selected node
GET/explain/explain_model/search/{sessionId}/{namePattern}Search node based on the key word and predefined rule
POST/explain/explain_model/search/{sessionId}Search node based on the key word and predefined rule
GET/settingsReturns the system's current settings
PUT/settingsUpdates the system settings **ADMIN ONLY**
POST/schema_discoveryAnalyzes CSV data to return a list of data types of its values
PUT/db2audit/credentialsEnable Db2 audit or configure object storage for Db2 audit feature
GET/db2audit/data_pathGet the object storage alias used by Db2 audit feature
GET/admin/external_metastoresGet the list of all the registered external metastores
POST/admin/external_metastoresRegister an external metastore
GET/admin/external_metastores/{external_metastore_name}Get the specific registered external metastore
DELETE/admin/external_metastores/{external_metastore_name}Unregister the exeternal metasore
PATCH/admin/external_metastores/{external_metastore_name}Set the particular property of the exeternal metasore
GET/manage/pausecomputePerform a pause
DELETE/manage/resumecomputeResume from a pause
GET/manage/backupsGet a list of backups
POST/manage/backups/restoreRestore
POST/manage/backups/backupCreate a backup
GET/manage/backups/settingGet backup setting
POST/manage/backups/settingUpdate backup setting
GET/manage/backups/historyGet backup history
PUT/manage/scaling/addCreate a scaling request
DELETE/manage/scaling/cancel/{request_id}Cancel a scheduled scaling request
GET/manage/scaling/resourcesGet supported scaling ranges and current allocated resources
GET/manage/scaling/historyView scaling history
GET/manage/tasks/statusGet tasks status
GET/manage/pause/statusGet pause status
GET/usersReturns the list of users
POST/usersCreates a new user. **PLATFORM ADMIN ONLY**
GET/users/{id}Get a specific user by ID
PUT/users/{id}Updates an existing user **PLATFORM ADMIN ONLY**
DELETE/users/{id}Deletes an existing user **PLATFORM ADMIN ONLY**
PUT/users/{id}/lockLocks a user account indefinitely. **PLATFORM ADMIN ONLY**
PUT/users/{id}/unlockUnlocks a user account **PLATFORM ADMIN ONLY**
GET/dbsettings/endpointsGet database endpoint configuration
PUT/dbsettings/endpointsUpdate endpoint configurations
GET/dbsettings/whitelistipsGet allowlisted IP addresses
POST/dbsettings/whitelistipsAdd allowlisted IP addresses
DELETE/dbsettings/whitelistipsRemove allowlisted IP addresses
GET/metrics/response_time_histogramsReturn the histogram of response time for a specified time frame. **DB ADMIN ONLY**
GET/metrics/response_timeReturn the list of average response time for a specified time frame. **DB ADMIN ONLY**