Introduction
IBM® watsonx.data is a data management solution for collecting, storing, querying, and analyzing all your enterprise data (structured, semi-structured, and unstructured) with a single unified data platform. It provides a flexible and reliable platform that is optimized to work on open data formats.
The api are in beta state and expected to change.
Endpoint URLs
The Watsonx.data API endpoint URL is based on your IBM Cloud Pak deployment URL. When you call the API, add the path for each method to form the complete API endpoint for your request. For example, if your instance is deployed at https://www.example.com:31843, you can access the APIs at https://www.example.com:31843/lakehouse/api/v2/{method}.
Authentication
Required Purpose: To work with the API, you must use an IBM Cloud Pak for Data API key (platform API key or instance API key), or IBM Cloud Pak for Data authorization token (platform token or instance token). The API key or token is used to determine the actions that a user or service ID has access to when they use the API.
You can generate an API key or authorization token for an authenticated user by using the Cloud Pak for Data APIs. For more information, see Generating an authorization token or API key.
To use the API, add a valid API key or token to the HTTP Authorization request header. For token, -H 'Authorization: Bearer {TOKEN}'.
For API key, you need to firstly encode username together with API key: echo "<username>:<api_key>" | base64.
Then, you can use the ZenApiKey header to authenticate to an endpoint: -H "Authorization: ZenApiKey <encoded value>".
To retrieve your access token:
For most Cloud Pak for Data endpoints, you can use the generated API key in the authorization header of subsequent API calls.
curl -H "Authorization: ZenApiKey <token>" "https://<cpd_instance_route>/<endpoint>"
If the ZenApiKey token is not supported, use a generated Bearer token in the authorization header of subsequent API calls.
curl -H "Authorization: Bearer <token>" "https://<cpd_instance_route>/<endpoint>"
Auditing
Required if applicable Purpose: Describes that the API generates auditing events that can be consumed by the Activity Tracker service, and links to your related product docs for more information. Required only if any of the API's methods is enabled to generate auditing events.
Example:
You can monitor API activity within your account by using the IBM Cloud Activity Tracker service. Whenever an API method is called, an event is generated that you can then track and audit from within Activity Tracker. The specific event type is listed for each individual method.
For more information about how to track Certificate Manager activity, see Auditing events for Certificate Manager.
Error handling
This API uses standard HTTP response codes to indicate whether a method completed successfully. A 200 response indicates success. A 400 type response indicates a failure, and a 500 type response indicates an internal system error.
| HTTP Error Code | Description | Recovery |
|---|---|---|
200 |
Success | The request was successful. |
201 |
Created | The requested resource successfully created in a synchronous manner. |
204 |
No Content | The server successfully processed the request and is not returning any content. |
400 |
Bad Request | The input parameters in the request body are either incomplete or in the wrong format. Be sure to include all required parameters in your request. |
401 |
Unauthorized | You are not authorized to make this request. Log in to IBM Cloud and try again. If this error persists, contact the account owner to check your permissions. |
403 |
Forbidden | The supplied authentication is not authorized to access '{namespace}'. |
404 |
Not Found | The requested resource could not be found. |
409 |
Conflict | The entity is already in the requested state. |
500 |
Internal Server Error | Your request could not be processed. Wait a few minutes and try again. |
Pagination
Some API requests might return many results. To avoid performance issues, these results are returned one page at a time, with a limited number of results on each page. GET requests for the following resources use pagination:
/v1/statement
For the request that uses pagination, the response does include following urls to make subsequent requests :
infoUri: The URL for requesting the first page of results.nextUri: The URL for requesting the next page of results.
Methods
Request
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
curl -X GET -H "accept: application/json" -H "AuthInstanceId: {instance_id}" "https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/bucket_registrations"
Response
List bucket registrations
Buckets
Possible values: 0 ≤ number of items ≤ 10000
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "bucket_registrations": [ { "actions": [ "browse", "view", "modify", "create", "grant", "revoke", "update", "remove", "activate", "register" ], "associated_catalog": { "catalog_name": "iceberg_catalog", "catalog_tags": [] }, "bucket_details": { "bucket_name": "iceberg-bucket", "endpoint": "http://xyz-minio-svc:9000" }, "bucket_display_name": "hive-bucket", "bucket_id": "iceberg-bucket", "bucket_type": "minio", "created_by": "user", "created_on": "1699457595", "description": "default bucket", "managed_by": "ibm", "region": "us-south", "state": "active", "tags": [ "tag1", "tag2" ] }, { "actions": [ "browse", "view", "modify", "create", "grant", "revoke", "update", "remove", "activate", "register" ], "associated_catalog": { "catalog_name": "hive_data", "catalog_tags": [] }, "bucket_details": { "bucket_name": "hive-bucket", "endpoint": "http://xyz-minio-svc:9000" }, "bucket_display_name": "hive-bucket", "bucket_id": "hive-bucket", "bucket_type": "minio", "created_by": "user", "created_on": "1699457595", "description": "default bucket", "managed_by": "ibm", "region": "us-south", "state": "active", "tags": [ "tag1", "tag2" ] } ] }
Request
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Request body
bucket details
bucket type
Allowable values: [
aws_s3,minio,ibm_cos,ibm_ceph]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-_]+$Example:
ibm_cosbucket description
Possible values: 0 ≤ length ≤ 50, Value must match regular expression
^.*$Example:
COS bucket for customer datamanaged by
Allowable values: [
ibm,customer]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9.@<>\-]+Example:
ibmbucket catalog
Examples:{ "catalog_name": "iceberg_catalog", "catalog_type": "iceberg" }bucket display name
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^.*$Example:
sample-bucket-displaynameregion where the bucket is located
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
us-southtags
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 1024, Value must match regular expression
^.*$Examples:[ "bucket-tag1", "bucket-tag2" ]
curl -X POST -H "accept: application/json" -H "AuthInstanceId: {instance_id}" -H "Content-Type: application/json" -d '{ "bucket_details": { "access_key": "<access_key>", "bucket_name": "sample-bucket", "endpoint": "https://s3.{region}.cloud-object-storage.appdomain.cloud/", "secret_key": "secret_key" }, "bucket_display_name": "sample-bucket-displayname", "bucket_tags": [ "read customer data", "write customer data'" ], "bucket_type": "ibm_cos", "catalog_name": "sampleCatalog", "catalog_tags": [ "catalog_tag_1", "catalog_tag_2" ], "description": "COS bucket for customer data", "managed_by": "ibm", "region": "us-south", "state": "active", "table_type": "iceberg" }' "https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/bucket_registrations"
Response
Bucket
bucket catalog
Examples:{ "catalog_name": "iceberg_catalog", "catalog_type": "iceberg" }bucket type
Possible values: [
amazon_s3,aws_s3,minio,ibm_cos,ibm_ceph]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-_]+$Example:
ibm_cosUsername who created the bucket
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9.@<>\-]+Example:
<username>@<domain>.comCreation date
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9.@<>\-]+Example:
1686120645bucket description
Possible values: 0 ≤ length ≤ 50, Value must match regular expression
^.*$Example:
COS bucket for customer datamanaged by
Possible values: [
ibm,customer]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9.@<>\-]+Example:
ibmmark bucket active or inactive
Possible values: [
active,inactive]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
activeActions
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Examples:[ "read", "update" ]bucket details
bucket display name
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^.*$Example:
sample-bucket-displaynamebucket ID auto generated during bucket registration
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
samplebucket123Region where the bucket is located
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
us-southtags
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 1024, Value must match regular expression
^.*$Examples:[ "testbucket", "write customer data'" ]
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "actions": [ "create", "update" ], "associated_catalog": { "catalog_name": "hive_data", "catalog_type": "hive" }, "bucket_display_name": "samplebucketdisplayname", "bucket_id": "samplebucketid", "bucket_name": "samplebucket", "bucket_type": "minio", "created_by": "username@domain.com", "created_on": "1699457595", "description": "default bucket", "endpoint": "https://s3.<region>.cloud-object-storage.appdomain.cloud/", "managed_by": "ibm", "region": "us-south", "state": "active", "tags": [ "tag1", "tag2" ] }
Request
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
bucket id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+$
curl -X GET -H "accept: application/json" -H "AuthInstanceId: {instance_id}" "https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/bucket_registrations/{bucket_id}"
Response
Bucket
bucket catalog
Examples:{ "catalog_name": "iceberg_catalog", "catalog_type": "iceberg" }bucket type
Possible values: [
amazon_s3,aws_s3,minio,ibm_cos,ibm_ceph]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-_]+$Example:
ibm_cosUsername who created the bucket
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9.@<>\-]+Example:
<username>@<domain>.comCreation date
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9.@<>\-]+Example:
1686120645bucket description
Possible values: 0 ≤ length ≤ 50, Value must match regular expression
^.*$Example:
COS bucket for customer datamanaged by
Possible values: [
ibm,customer]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9.@<>\-]+Example:
ibmmark bucket active or inactive
Possible values: [
active,inactive]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
activeActions
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Examples:[ "read", "update" ]bucket details
bucket display name
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^.*$Example:
sample-bucket-displaynamebucket ID auto generated during bucket registration
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
samplebucket123Region where the bucket is located
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
us-southtags
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 1024, Value must match regular expression
^.*$Examples:[ "testbucket", "write customer data'" ]
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "actions": [ "create", "update" ], "associated_catalog": { "catalog_name": "hive_data", "catalog_type": "hive" }, "bucket_display_name": "samplebucketdisplayname", "bucket_id": "samplebucketid", "bucket_name": "samplebucket", "bucket_type": "minio", "created_by": "username@domain.com", "created_on": "1699457595", "description": "default bucket", "endpoint": "https://s3.<region>.cloud-object-storage.appdomain.cloud/", "managed_by": "ibm", "region": "us-south", "state": "active", "tags": [ "tag1", "tag2" ] }
Request
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
bucket id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+$
curl -X DELETE -H "accept: */*" -H "AuthInstanceId: {instance_id}" "https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/bucket_registrations/{bucket_id}"
Request
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
bucket id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+$
Request body
{
"bucket_display_name": "samplebucketdisplayname",
"bucket_id": "samplebucketid",
"created_by": "username@domain.com",
"description": "default bucket",
"tags": [
"tag1",
"tag2"
]
}bucket details
bucket display name
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^.*$Example:
sample-bucket-displaynamemodified description
Possible values: 1 ≤ length ≤ 50, Value must match regular expression
^.*$Example:
COS bucket for customer dataTags
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 1024, Value must match regular expression
^.*$Examples:[ "testbucket", "userbucket" ]
curl -X PATCH -H "accept: application/json" -H "AuthInstanceId: {instance_id}" -H "Content-Type: application/json" -d '{ "access_key": "<access_key>", "bucket_display_name": "sample-bucket-displayname", "description": "COS bucket for customer data", "secret_key": "<secret_key>", "tags": [ "testbucket", "userbucket" ] }' "https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/bucket_registrations/{bucket_id}"
Response
Bucket
bucket catalog
Examples:{ "catalog_name": "iceberg_catalog", "catalog_type": "iceberg" }bucket type
Possible values: [
amazon_s3,aws_s3,minio,ibm_cos,ibm_ceph]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-_]+$Example:
ibm_cosUsername who created the bucket
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9.@<>\-]+Example:
<username>@<domain>.comCreation date
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9.@<>\-]+Example:
1686120645bucket description
Possible values: 0 ≤ length ≤ 50, Value must match regular expression
^.*$Example:
COS bucket for customer datamanaged by
Possible values: [
ibm,customer]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9.@<>\-]+Example:
ibmmark bucket active or inactive
Possible values: [
active,inactive]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
activeActions
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Examples:[ "read", "update" ]bucket details
bucket display name
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^.*$Example:
sample-bucket-displaynamebucket ID auto generated during bucket registration
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
samplebucket123Region where the bucket is located
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
us-southtags
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 1024, Value must match regular expression
^.*$Examples:[ "testbucket", "write customer data'" ]
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "actions": [ "create", "update" ], "associated_catalog": { "catalog_name": "hive_data", "catalog_type": "hive" }, "bucket_display_name": "samplebucketdisplayname", "bucket_id": "samplebucketid", "bucket_name": "samplebucket", "bucket_type": "minio", "created_by": "username@domain.com", "created_on": "1699457595", "description": "default bucket", "endpoint": "https://s3.<region>.cloud-object-storage.appdomain.cloud/", "managed_by": "ibm", "region": "us-south", "state": "active", "tags": [ "tag1", "tag2" ] }
Request
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
bucket id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+$
curl -X POST -H "accept: application/json" -H "AuthInstanceId: {instance_id}" -d "" "https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/bucket_registrations/{bucket_id}/activate"
Request
Custom Headers
watsonx.data instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
bucket id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\\._\/-]+$
Request body
{
"catalog_name": "iceberg_catalog",
"catalog_type": "iceberg"
}catalog name
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-_]+$Example:
sampleCatalogcatalog tags
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
^.*$Examples:[ "catalog_tag_1", "catalog_tag_2" ]catalog type
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
iceberg
curl -X POST-H "accept: application/json"-H "AuthInstanceId: {instance_id}"-H "Content-Type: application/json"-d '{ "catalog_name": "test_cqatalog5", "catalog_tags": ["test"], "catalog_type": "iceberg"}'"https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/bucket_registrations"
Request
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
bucket id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+$
curl -X DELETE -H "accept: */*" -H "AuthInstanceId: {instance_id}" "https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/bucket_registrations/{bucket_id}/deactivate"
List bucket objects
Fetch all objects from a given bucket
GET /bucket_registrations/{bucket_id}/objectsRequest
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
bucket id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+$
curl -X GET -H "accept: application/json" -H "AuthInstanceId: {instance_id}" "https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/bucket_registrations/{bucket_id}/objects"
Response
List bucket objects
bucket object
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-/]+
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "objects": [ "/path/file1.json", "/path/file2.txt", "/path/file3.csv", "/path/file4.parquet" ] }
Generate generate_benchmark_report specific to storage
Generate generate_benchmark_report specific to storage
GET /generate_benchmark_report
Request
Custom Headers
watsonx.data instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Query Parameters
bucket name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\\-]+engine id
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\\-]+specify the pod name of the respective presto pod like coordinator(single node), coordinator-blue-0,worker-0(multinode)
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9.\\-]+$configure file_count and file_size for benchmarking
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\\-]+configure file_count and file_size for benchmarking
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\\-]+
curl -X GET -H "content-type: application/json" -H "LhInstanceId: {instance_id}" "https://{cpd_url}/lakehouse/api/v2/1737546241011604/generate_benchmark_report?bucket_name=iceberg-bucket&engine_id=presto-01&pod_name=coordinator-blue-0"
Response
Generate benchmark report
Response of success
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "response": { "message": "bucket benchmarking is in progress.Trigger /generate_benchmark_report/status?req_id=<xx> for the status", "req_id": "c3a3dbd4-98f8-4268-9128-12339ca8566b", "status": "success" } }
Get generate_benchmark_report status
Generate generate_benchmark_report status
GET /generate_benchmark_report/status/{req_id}Request
Custom Headers
watsonx.data instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
request_id
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\\-]+
Query Parameters
engine id
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\\-]+bucket name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\\-]+specify the pod name of the respective presto pod like coordinator(single node), coordinator-blue-0,worker-0(multinode)
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9.\\-]+$
curl -X GET -H "content-type: application/json" -H "LhInstanceId: {instance_id}" "https://{cpd_url}/lakehouse/api/v2/1737546241011604/generate_benchmark_report/status/{req_id}?bucket_name=iceberg-bucket&engine_id=presto-01&pod_name=coordinator-blue-0"
Request
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
curl -X GET -H "accept: application/json" -H "AuthInstanceId: {instance_id}" "https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/database_registrations"
Response
list database registrations
Database body
Possible values: 0 ≤ number of items ≤ 10000
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "database_registrations": [ { "actions": [ "update", "delete" ], "associated_catalog": { "catalog_name": "hive_data", "catalog_tags": [ "catalog_tag_1", "catalog_tag_2" ], "catalog_type": "hive" }, "created_by": "user1@bim.com", "created_on": "1686792721", "database_details": { "database_name": "new_database", "hostname": "netezza://ps.fyre.com", "password": "samplepassword", "port": 4353, "ssl": true, "tables": "netezza_table_name", "username": "sampleuser" }, "database_display_name": "new_database", "database_id": "new_database_id", "database_type": "netezza", "description": "Description of the external Database", "tags": [ "testdatabase", "userdatabase" ] } ] }
Request
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Request body
Database display name
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^.*$Example:
new_databaseConnector type
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
db2database catalog
Examples:{ "catalog_name": "iceberg_catalog", "catalog_type": "iceberg" }Created on
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
1686792721database details
This will hold all the properties for a custom database
Possible values: 0 ≤ number of items ≤ 10000
Examples:[ { "encrypt": true, "key": "abc", "value": "xyz" } ]Database description
Possible values: 1 ≤ length ≤ 50, Value must match regular expression
^.*$Example:
db2 extenal database descriptiontags
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Examples:[ "testdatabase", "userdatabase" ]
curl -X POST -H "accept: application/json" -H "AuthInstanceId: {instance_id}" -H "Content-Type: application/json" -d '{ "database_display_name": "testdb", "database_properties": [], "description": "", "tags": [], "database_type": "db2", "database_details": { "database_name": "testdb", "hostname": "9.30.252.96", "port": 50000, "username": "db2username", "password": "password", "ssl": false }, "associated_catalog": { "catalog_name": "db2_catalog_testdb" } }' "https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/database_registrations"
Response
database registration object
database details
Database display name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
new_databaseConnector type
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
netezzaactions
Possible values: 0 ≤ number of items ≤ 10000
Examples:[ "update", "delete" ]database catalog
Examples:{ "catalog_name": "iceberg_catalog", "catalog_type": "iceberg" }Catalog name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-_]+$Example:
sampleCatalogCreated by
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
user1@bim.comCreated on
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
1686792721Database ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
new_database_idThis will hold all the properties for a custom database
Possible values: 0 ≤ number of items ≤ 10000
Examples:[ { "encrypt": true, "key": "abc", "value": "xyz" } ]Database description
Possible values: 1 ≤ length ≤ 50, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
Description of the external Databasetags
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Examples:[ "testdatabase", "userdatabase" ]
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "actions": [ "update", "delete" ], "associated_catalog": { "catalog_name": "iceberg_data", "catalog_type": "iceberg" }, "created_by": "user1@bim.com", "created_on": "1686792721", "database_details": { "database_name": "new_database", "hostname": "netezza://abc.efg.com", "password": "samplepassword", "port": 4353, "ssl": true, "tables": "netezza_table_name", "username": "sampleuser" }, "database_display_name": "new_database", "database_id": "new_database_id", "database_type": "netezza", "description": "Description of the database", "tags": [ "testdatabase", "userdatabase" ] }
Request
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
database id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+$
curl -X GET -H "accept: application/json" -H "AuthInstanceId: {instance_id}" "https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/database_registrations/{database_id}"
Response
database registration object
database details
Database display name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
new_databaseConnector type
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
netezzaactions
Possible values: 0 ≤ number of items ≤ 10000
Examples:[ "update", "delete" ]database catalog
Examples:{ "catalog_name": "iceberg_catalog", "catalog_type": "iceberg" }Catalog name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-_]+$Example:
sampleCatalogCreated by
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
user1@bim.comCreated on
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
1686792721Database ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
new_database_idThis will hold all the properties for a custom database
Possible values: 0 ≤ number of items ≤ 10000
Examples:[ { "encrypt": true, "key": "abc", "value": "xyz" } ]Database description
Possible values: 1 ≤ length ≤ 50, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
Description of the external Databasetags
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Examples:[ "testdatabase", "userdatabase" ]
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "actions": [ "update", "delete" ], "associated_catalog": { "catalog_name": "iceberg_data", "catalog_type": "iceberg" }, "created_by": "user1@bim.com", "created_on": "1686792721", "database_details": { "database_name": "new_database", "hostname": "netezza://abc.efg.com", "password": "samplepassword", "port": 4353, "ssl": true, "tables": "netezza_table_name", "username": "sampleuser" }, "database_display_name": "new_database", "database_id": "new_database_id", "database_type": "netezza", "description": "Description of the database", "tags": [ "testdatabase", "userdatabase" ] }
Request
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
database id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+$
curl -X DELETE -H "accept: */*" -H "AuthInstanceId: {instance_id}" "https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/database_registrations/{database_id}"
Request
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
database id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+$
Request body
New database details
New database display name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^.*$Example:
new_databaseNew database description
Possible values: 1 ≤ length ≤ 50, Value must match regular expression
^.*$Example:
External database descriptionNew tags
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 10000, Value must match regular expression
^.*$Examples:[ "testdatabase", "userdatabase" ]
curl -X PATCH -H "accept: application/json" -H "AuthInstanceId: {instance_id}" -H "Content-Type: application/merge-patch+json" -d '{ "database_details": { "password": "samplepassword", "username": "sampleuser" }, "database_display_name": "new_database", "description": "External database description", "tags": [ "testdatabase", "userdatabase" ] }' "https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/database_registrations/{database_id}"
Response
database registration object
database details
Database display name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
new_databaseConnector type
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
netezzaactions
Possible values: 0 ≤ number of items ≤ 10000
Examples:[ "update", "delete" ]database catalog
Examples:{ "catalog_name": "iceberg_catalog", "catalog_type": "iceberg" }Catalog name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-_]+$Example:
sampleCatalogCreated by
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
user1@bim.comCreated on
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
1686792721Database ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
new_database_idThis will hold all the properties for a custom database
Possible values: 0 ≤ number of items ≤ 10000
Examples:[ { "encrypt": true, "key": "abc", "value": "xyz" } ]Database description
Possible values: 1 ≤ length ≤ 50, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
Description of the external Databasetags
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Examples:[ "testdatabase", "userdatabase" ]
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "actions": [ "update", "delete" ], "associated_catalog": { "catalog_name": "iceberg_data", "catalog_type": "iceberg" }, "created_by": "user1@bim.com", "created_on": "1686792721", "database_details": { "database_name": "new_database", "hostname": "netezza://abc.efg.com", "password": "samplepassword", "port": 4353, "ssl": true, "tables": "netezza_table_name", "username": "sampleuser" }, "database_display_name": "new_database", "database_id": "new_database_id", "database_type": "netezza", "description": "Description of the database", "tags": [ "testdatabase", "userdatabase" ] }
Request
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
curl -X GET -H "content-type: application/json" -H "AuthInstanceId: {instance_id}" "https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/other_engines"
Response
list other engines
list other engines
Possible values: 0 ≤ number of items ≤ 10000
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "other_engines": [ { "created_by": "<username>@<domain>.com", "created_on": 163788384993, "description": "other engine for running queries", "engine_details": { "connection_string": "https://other-connection-string-sample.com", "engine_type": "netezza" }, "engine_display_name": "sampleEngine", "engine_id": "sampleEngine123", "origin": "external", "status": "registered", "type": "other" } ] }
Request
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Create other Engine Body
External engine details
engine display name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
sampleEngine01engine description
Possible values: 1 ≤ length ≤ 50, Value must match regular expression
^.*$Example:
external engine descriptionOrigin - created or registered
Allowable values: [
native,external,discover]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
externalother engine tags
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
^.*$Examples:[ "tag1", "tag2" ]Engine type
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
netezza
curl -X POST -H "content-type: application/json" -H "accept: application/json" -H "AuthInstanceId: {instance_id}" -d '{ "description": "external engine description", "engine_details": { "connection_string": "1.2.3.4", "engine_type": "netezza", "metastore_host": "1.2.3.4" }, "engine_display_name": "sampleEngine01", "tags": [ "tag1", "tag2" ] }' "https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/other_engines"
Response
external engine details
Actions
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Examples:[ "update", "delete" ]created user name
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9.@<>\-]+Example:
<username>@<domain>.comcreated time in epoch format
engine description
Possible values: 1 ≤ length ≤ 50, Value must match regular expression
^.*$Example:
engine for running sql queriesExternal engine details
Engine display name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
sampleEngineengine programmatic name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
sampleEngine123Engine host name. In case of OCP based clusters, this is internal hostname
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
xyz-netezza-01-netezza-svcorigin
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
ibmEngine port
engine status
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
registeredTags
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
^.*$Examples:[ "tag1", "tag2" ]Type like presto, netezza, external,..
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
external
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "OtherEngine": { "created_by": "<username>@<domain>.com", "created_on": 163788384993, "description": "other engine for running sql queries", "engine_display_name": "sampleEngine", "engine_id": "sampleEngine123", "origin": "external", "status": "registered", "type": "other" } }
Request
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
engine id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+$
curl -X DELETE -H "accept: */*" -H "AuthInstanceId: {instance_id}" "https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/other_engines/{engine_id}"
Request
Custom Headers
watsonx.data instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$API Authentication service token
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$
Query Parameters
service_type
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^.*$state
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$
curl -X GET -H "accept: application/json" -H "AuthInstanceId: {token}" "https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/integrations"
Response
list all existing integrations
Database body
Possible values: 0 ≤ number of items ≤ 10000
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "integrations": [ { "enable_data_policy_within_wxd": true, "integration_id": "ranger952", "modified_at": 1234567890, "modified_by": "admin", "password": "pasword_encrypted", "resource": "resource_name", "service_type": "ranger", "state": "active", "url": "http://abcd.efgh.com:9876/", "username": "username" }, { "apikey": "apikey_encrypted", "config_properties": "ikc-env.password=apikey_encrypted\nikc-env.url=https://abcd.efgh.com\nikc-username=test\nikc-enabled-catalogs=storage_catalog_1,storage_catalog_2\nlh-unique-identifier=1234567890123456\nlh-crn=0123456789012345", "governance_properties": "query-governance.name=external", "integration_id": "ikc806", "modified_at": 1234567890, "modified_by": "admin", "service_type": "ikc", "state": "active", "storage_catalogs": [ "storage_catalog_1", "storage_catalog_2" ], "url": "https://abcd.efgh.com", "username": "username" } ] }
Request
Custom Headers
watsonx.data instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Integration registration parameters
{
"url": "http://abcd.efgh.com:9876/",
"service_type": "ranger",
"username": "username",
"password": "password",
"resource": "resource_name",
"enable_data_policy_within_wxd": false
}{
"url": "https://abcd.efgh.com",
"service_type": "ikc",
"apikey": "apikey",
"storage_catalogs": [
"storage_catalog_1",
"storage_catalog_2"
],
"username": "username"
}{
"url": "https://abcd.efgh.com",
"service_type": "databand",
"access_token": "accessToken"
}{
"apikey": "apikey",
"username": "username",
"service_type": "manta",
"url": "https://abcd.efgh.com"
}Token for databand
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^.*$Example:
accessTokenIntegration apikey for IKC and Manta
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
apikeyData policy enabler with wxd for ranger
Ranger password
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^.*$Example:
passwordResouce for ranger
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^.*$Example:
presto01Integration type
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^.*$Example:
rangerComma separated list of bucket catalogs which have ikc enabled
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-_]+$Examples:[ "iceberg_data", "hive_data" ]Integration Connection URL for IKC, Ranger, Databand and Manta
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-:/_.@=?]+$Example:
http://abcd.efgh.com:9876/Username for Ranger and Manta
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^.*$Example:
username@email.com
curl -X POST -H "accept: application/json" -H "AuthInstanceId: {token}" -H "Content-Type: application/json" "https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/integrations" -d '{ "url": "http://lh-ranger-test1.fyre.ibm.com:6080", "service_type": "ranger", "username": "admin", "password": "Rangeradmin1", "resource": "default_policy_donot_change", "enable_data_policy_within_wxd": false}'curl -X POST \-H "accept: application/json" \ -H "AuthInstanceId: {token}" \ -H "Content-Type: application/json" "https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/integrations" \ -d '{ "url": "https://cpd-wkc.apps.wkcwxd.cp.fyre.ibm.com", "service_type": "ikc", "apikey": "YWRtaW46VmpSb3JOV2ZvRFE1TGdLWUpiNGd5YmRNaW1Gc25CN0tjdGtlSmZXbwo=", "storage_catalogs": "iceberg_data,wxd_system_data", "username": "test"}'
Response
Integration
Token for databand
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^.*$Example:
accessTokenIntegration apikey for IKC and Manta
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
apikeyProperties
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
ikc-env.password=ibm-abcefghijklmno==\nikc-env.url=ikc\nikc-enabled-catalogs=\nikc-username=\nlh-unique-identifier=1711796957622126\nlh-crn=1711796957622126data policy enabler with wxd for ranger
Properties of ikc
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
query-governance.name=externalresouce for ranger
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^.*$Example:
ikc123For manta, specific to saas
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^.*$Example:
https://abcd.com/gov_lineage/v2/lineage_events/openlineagemodified time in epoch format
Example:
1234567890modified user name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9.@<>\-]+Example:
username@email.comRanger password
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^.*$Example:
passwordResouce for ranger
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^.*$Example:
presto01Integration type
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^.*$Example:
ikcCurrent status of the integration
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^.*$Example:
activeComma separated list of storage catalogs for which ikc needs to be enabled
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-_]+$Examples:[ "iceberg_data", "hive_data" ]Integration Connection URL for IKC, Ranger, Databand and Manta
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-:/_.@=?]+Example:
http://abcd.efgh.com:9876/Username for Ranger and Manta
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
username@email.comIntegration Zen API key for Manta
Possible values: 1 ≤ length ≤ 256, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
zen_apikey
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "integration_id": "ranger952", "modified_by": "admin", "password": "password_encrypted", "resource": "resource_name", "service_type": "ranger", "state": "active", "url": "http://abcd.efgh.com:9876/", "username": "username" }{ "apikey": "apikey_encrypted", "integration_id": "ikc806", "modified_by": "admin", "service_type": "ikc", "state": "active", "storage_catalogs": [ "storage_catalog_1", "storage_catalog_2" ], "url": "https://abcd.efgh.com", "username": "username" }{ "access_token": "accessToken", "integration_id": "databand123", "modified_by": "username@domain.com", "service_type": "databand", "url": "https://abcd.efgh.com" }{ "apikey": "apikey", "username": "username", "integration_id": "manta123", "modified_by": "username@domain.com", "service_type": "manta", "url": "https://abc.def.ibm.com" }
Request
Custom Headers
watsonx.data instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$API Authentication service token
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$
Path Parameters
integration_id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^.*$
curl -X GET -H "accept: application/json" -H "AuthInstanceId: {token}" "https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/integrations/{service_type}"
Response
Integration
Token for databand
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^.*$Example:
accessTokenIntegration apikey for IKC and Manta
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
apikeyProperties
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
ikc-env.password=ibm-abcefghijklmno==\nikc-env.url=ikc\nikc-enabled-catalogs=\nikc-username=\nlh-unique-identifier=1711796957622126\nlh-crn=1711796957622126data policy enabler with wxd for ranger
Properties of ikc
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
query-governance.name=externalresouce for ranger
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^.*$Example:
ikc123For manta, specific to saas
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^.*$Example:
https://abcd.com/gov_lineage/v2/lineage_events/openlineagemodified time in epoch format
Example:
1234567890modified user name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9.@<>\-]+Example:
username@email.comRanger password
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^.*$Example:
passwordResouce for ranger
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^.*$Example:
presto01Integration type
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^.*$Example:
ikcCurrent status of the integration
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^.*$Example:
activeComma separated list of storage catalogs for which ikc needs to be enabled
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-_]+$Examples:[ "iceberg_data", "hive_data" ]Integration Connection URL for IKC, Ranger, Databand and Manta
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-:/_.@=?]+Example:
http://abcd.efgh.com:9876/Username for Ranger and Manta
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
username@email.comIntegration Zen API key for Manta
Possible values: 1 ≤ length ≤ 256, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
zen_apikey
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "enable_data_policy_within_wxd": true, "integration_id": "ranger952", "modified_at": 1234567890, "modified_by": "admin", "password": "pasword_encrypted", "resource": "resource_name", "service_type": "ranger", "state": "active", "url": "http://abcd.efgh.com:9876/", "username": "username" }{ "apikey": "apikey_encrypted", "config_properties": "ikc-env.password=apikey_encrypted\nikc-env.url=https://abcd.efgh.com\nikc-username=test\nikc-enabled-catalogs=storage_catalog_1,storage_catalog_2\nlh-unique-identifier=1234567890123456\nlh-crn=0123456789012345", "governance_properties": "query-governance.name=external", "integration_id": "ikc806", "modified_at": 1234567890, "modified_by": "admin", "service_type": "ikc", "state": "active", "storage_catalogs": [ "storage_catalog_1", "storage_catalog_2" ], "url": "https://abcd.efgh.com", "username": "username" }{ "access_token": "accessToken", "integration_id": "databand123", "modified_at": 1234567890, "modified_by": "username@domain.com", "service_type": "databand", "state": "inactive", "url": "https://abcd.efgh.com" }{ "apikey": "apikey", "integration_id": "manta123", "manta_url": "https://api.abc.def.ibm.com/gov_lineage/v2/lineage_events/openlineage", "modified_at": 1234567890, "modified_by": "username@domain.com", "service_type": "manta", "state": "inactive", "url": "https://abc.def.ibm.com", "username": "username", "zen_apikey": "zenApikeyEncrypted" }
Request
Custom Headers
watsonx.data instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
integration_id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^.*$
curl -X DELETE -H "accept: application/json" -H "AuthInstanceId: {token}" "https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/integrations/{service_type}"
Request
Custom Headers
watsonx.data instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
integration_id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^.*$
Integration update parameters
{
"url": "http://abcd.efgh.com:9876/",
"username": "username",
"resource": "resource_name",
"enable_data_policy_within_wxd": true
}{
"url": "https://abcd.efgh.com",
"apikey": "apikey",
"storage_catalogs": [
"storage_catalog_1"
],
"username": "username"
}{
"url": "https://abcd.efgh.com",
"access_token": "accessToken"
}{
"username": "username",
"url": "https://abcd.efgh.com",
"apikey": "apikey"
}Token for databand
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^.*$Example:
uiOO90kklopIntegration apikey for IKC and Manta
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
apikeyData policy enabler with wxd for ranger
Ranger password
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^.*$Example:
passwordResouce for ranger
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^.*$Example:
presto01Current status of the integration
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^.*$Example:
activeComma separated list of bucket catalogs which have ikc enabled
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-_]+$Examples:[ "iceberg_data", "hive_data" ]Integration Connection URL for IKC, Ranger, Databand and Manta
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-?:_/=@]+Example:
http://abcd.efgh.com:9876/Username for Ranger and Manta
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^.*$Example:
username@email.com
curl -X PATCH -H "accept: application/json" -H "AuthInstanceId: {token}" "https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/integrations/{integration_id}" -d '{ "url": "http://lh-ranger-test1.fyre.ibm.com:6080/", "username": "admin2" "resource": "default_policy_donot_change", "enable_data_policy_within_wxd": true,}'curl -X PATCH \-H "accept: application/json" -H "AuthInstanceId: {token}" "https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/integrations/{integration_id}" -d '{ "url": "https://cpd-wkc.apps.wkcwxd.cp.fyre.ibm.com", "apikey": "YWRtaW46VmpSb3JOV2ZvRFE1TGdLWUpiNGd5YmRNaW1Gc25CN0tjdGtlSmZXbwo=", "storage_catalogs": "iceberg_data", "username": "test"}'
Response
Integration
Token for databand
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^.*$Example:
accessTokenIntegration apikey for IKC and Manta
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
apikeyProperties
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
ikc-env.password=ibm-abcefghijklmno==\nikc-env.url=ikc\nikc-enabled-catalogs=\nikc-username=\nlh-unique-identifier=1711796957622126\nlh-crn=1711796957622126data policy enabler with wxd for ranger
Properties of ikc
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
query-governance.name=externalresouce for ranger
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^.*$Example:
ikc123For manta, specific to saas
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^.*$Example:
https://abcd.com/gov_lineage/v2/lineage_events/openlineagemodified time in epoch format
Example:
1234567890modified user name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9.@<>\-]+Example:
username@email.comRanger password
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^.*$Example:
passwordResouce for ranger
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^.*$Example:
presto01Integration type
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^.*$Example:
ikcCurrent status of the integration
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^.*$Example:
activeComma separated list of storage catalogs for which ikc needs to be enabled
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-_]+$Examples:[ "iceberg_data", "hive_data" ]Integration Connection URL for IKC, Ranger, Databand and Manta
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-:/_.@=?]+Example:
http://abcd.efgh.com:9876/Username for Ranger and Manta
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
username@email.comIntegration Zen API key for Manta
Possible values: 1 ≤ length ≤ 256, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
zen_apikey
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "enable_data_policy_within_wxd": true, "integration_id": "ranger952", "modified_at": 1234567890, "modified_by": "admin", "password": "pasword_encrypted", "resource": "resource_name", "service_type": "ranger", "state": "active", "url": "http://abcd.efgh.com:9876/", "username": "username" }{ "apikey": "apikey_encrypted", "config_properties": "ikc-env.password=apikey_encrypted\nikc-env.url=https://abcd.efgh.com\nikc-username=test\nikc-enabled-catalogs=storage_catalog_1,storage_catalog_2\nlh-unique-identifier=1234567890123456\nlh-crn=0123456789012345", "governance_properties": "query-governance.name=external", "integration_id": "ikc806", "modified_at": 1234567890, "modified_by": "admin", "service_type": "ikc", "state": "active", "storage_catalogs": [ "storage_catalog_1" ], "url": "https://abcd.efgh.com", "username": "username" }{ "access_token": "accessToken", "integration_id": "databand123", "modified_at": 1234567890, "modified_by": "username@domain.com", "service_type": "databand", "state": "inactive", "url": "https://abcd.efgh.com" }{ "apikey": "apikey", "integration_id": "manta123", "manta_url": "https://api.abc.def.ibm.com/gov_lineage/v2/lineage_events/openlineage", "modified_at": 1234567890, "modified_by": "username@domain.com", "service_type": "manta", "state": "inactive", "url": "https://abc.def.ibm.com", "username": "username", "zen_apikey": "zenApikeyEncrypted" }
Request
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
curl -X GET -H "content-type: application/json" -H "AuthInstanceId: {instance_id}" "https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/db2_engines"
Response
list db2 engines
list db2 engines
Possible values: 0 ≤ number of items ≤ 10000
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "db2_engines": [ { "created_by": "user@test.com", "created_on": 1700322436, "description": "db2 engine for running sql queries", "engine_details": { "connection_string": "jdbc:db2://<hostname>:<port>/<database>", "metastore_host": "thrift://mh-connection-string-sample.com" }, "engine_display_name": "db2", "engine_id": "db2505", "origin": "external", "status": "REGISTERED", "tags": [ "tag1", "tag2" ], "type": "db2" } ] }
Request
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Create db2 engine body
Origin - created or registered
Allowable values: [
native,external,discover]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
externalEngine description
Possible values: 0 ≤ length ≤ 50, Value must match regular expression
^.*$Example:
db2 engine descriptionExternal engine details
Engine display name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
sampleEngineTags
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
^.*$Examples:[ "tag1", "tag2" ]
curl -X POST -H "accept: application/json" -H "AuthInstanceId: {instance_id}" -H "Content-Type: application/json" -d '{ "description": "db2 engine description", "engine_details": { "connection_string": "1.2.3.4" }, "engine_display_name": "sampleEngine", "origin": "external", "tags": [ "tag1", "tag2" ] }' "https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/db2_engines"
Response
Db2 engine details
Actions
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Examples:[ "update", "delete" ]watsonx.data build version
Example:
1.0.3.0.0Created user name
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9.@<>\-]+Example:
<username>@<domain>.comCreated time in epoch format
Engine description
Possible values: 0 ≤ length ≤ 50, Value must match regular expression
^.*$Example:
db2 engine for running sql queriesExternal engine details
Engine display name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
sampleEngineEngine programmatic name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
sampleEngine123Engine host name. In case of OCP based clusters, this is internal hostname
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
xyz-db2-01-db2-svcOrigin - place holder
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
ibmEngine port
Engine status
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
REGISTEREDTags
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
^.*$Examples:[ "tag1", "tag2" ]Engine type
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
db2
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "Db2Engine": null, "created_by": "user@test.com", "created_on": 1700322469, "description": "updated description for db2 engine.", "engine_details": { "connection_string\"": "jdbc:db2://localhost:5480/database", "metastore_host": "thrift://mh-connection-string-sample.com" }, "engine_display_name": "sample db2 Engine Display Name", "engine_id": "sample db2 Engine Name", "origin": "external", "status": "REGISTERED", "tags": [ "tag1", "tag2" ], "type": "db2" }
Request
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
engine id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+$
curl -X DELETE -H "accept: */*" -H "AuthInstanceId: {instance_id}" "https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/db2_engines/{engine_id}"
Request
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
engine id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+$
Update Engine Body
Modified description
Possible values: 0 ≤ length ≤ 50, Value must match regular expression
^.*$Example:
db2 engine updated descriptionEngine display name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
sampleEngineTags
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
^.*$Examples:[ "tag1", "tag2" ]
curl -X PATCH -H "accept: application/json" -H "AuthInstanceId: {instance_id}" -H "Content-Type: application/merge-patch+json" -d '{ "description": "db2 engine updated description", "engine_display_name": "sampleEngine", "tags": [ "tag1", "tag2" ] }' "https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/db2_engines/{engine_id}"
Response
Db2 engine details
Actions
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Examples:[ "update", "delete" ]watsonx.data build version
Example:
1.0.3.0.0Created user name
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9.@<>\-]+Example:
<username>@<domain>.comCreated time in epoch format
Engine description
Possible values: 0 ≤ length ≤ 50, Value must match regular expression
^.*$Example:
db2 engine for running sql queriesExternal engine details
Engine display name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
sampleEngineEngine programmatic name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
sampleEngine123Engine host name. In case of OCP based clusters, this is internal hostname
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
xyz-db2-01-db2-svcOrigin - place holder
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
ibmEngine port
Engine status
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
REGISTEREDTags
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
^.*$Examples:[ "tag1", "tag2" ]Engine type
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
db2
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "Db2Engine": null, "created_by": "user@test.com", "created_on": 1700322469, "description": "updated description for db2 engine.", "engine_details": { "connection_string\"": "jdbc:db2://localhost:5480/database", "metastore_host": "thrift://mh-connection-string-sample.com" }, "engine_display_name": "sample db2 Engine Display Name", "engine_id": "sample db2 Engine Name", "origin": "external", "status": "REGISTERED", "tags": [ "tag1", "tag2" ], "type": "db2" }
Request
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
curl -X GET -H "accept: application/json" -H "AuthInstanceId: {instance_id}" "https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/netezza_engines"
Response
list Netezza engines
list Netezza engines
Possible values: 0 ≤ number of items ≤ 10000
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "netezza_engines": [ { "created_by": "user@test.com", "created_on": 1700322469, "description": "netezza engine for running sql queries", "engine_details": { "connection_string": "jdbc:netezza://localhost:5480/database", "metastore_host": "thrift://mh-connection-string-sample.com" }, "engine_display_name": "netezza", "engine_id": "netezza170", "origin": "external", "status": "REGISTERED", "tags": [ "tag1", "tag2" ], "type": "netezza" } ] }
Request
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Create netezza engine body
Origin - created or registered
Allowable values: [
native,external,discover]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
externalEngine description
Possible values: 0 ≤ length ≤ 50, Value must match regular expression
^.*$Example:
netezza engine descriptionExternal engine details
Engine display name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
sampleEngineTags
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
^.*$Examples:[ "tag1", "tag2" ]
curl -X POST -H "accept: application/json" -H "AuthInstanceId: {instance_id}" -H "Content-Type: application/json" -d '{ "description": "netezza engine description", "engine_details": { "connection_string": "1.2.3.4" }, "engine_display_name": "sampleEngine", "origin": "external", "tags": [ "tag1", "tag2" ]}' "https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/netezza_engines"
Response
Netezza engine details
Actions
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Examples:[ "update", "delete" ]watsonx.data build version
Example:
1.0.3.0.0Created user name
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9.@<>\-]+Example:
<username>@<domain>.comCreated time in epoch format
Engine description
Possible values: 0 ≤ length ≤ 50, Value must match regular expression
^.*$Example:
netezza engine for running sql queriesExternal engine details
Engine display name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
sampleEngineEngine programmatic name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
sampleEngine123Engine host name. In case of OCP based clusters, this is internal hostname
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
xyz-netezza-01-netezza-svcOrigin - place holder
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
ibmEngine port
Engine status
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
REGISTEREDTags
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
^.*$Examples:[ "tag1", "tag2" ]Engine type
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
netezza
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "NetezzaEngine": null, "created_by": "user@test.com", "created_on": 1700322469, "description": "updated description for netezza engine.", "engine_details": { "connection_string\"": "jdbc:netezza://localhost:5480/database", "metastore_host": "thrift://mh-connection-string-sample.com" }, "engine_display_name": "sample Netezza Engine Display Name", "engine_id": "sample Netezza Engine Name", "origin": "external", "status": "REGISTERED", "tags": [ "tag1", "tag2" ], "type": "netezza" }
Request
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
engine id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+$
curl -X DELETE -H "accept: */* " -H "AuthInstanceId: {instance_id}" "https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/netezza_engines/{engine_id}"
Request
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
engine id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+$
Update Engine Body
Modified description
Possible values: 0 ≤ length ≤ 50, Value must match regular expression
^.*$Example:
netezza engine updated descriptionEngine display name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
sampleEngineTags
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Examples:[ "tag1", "tag2" ]
curl -X PATCH -H "accept: application/json" -H "AuthInstanceId: {instance_id}" -H "Content-Type: application/merge-patch+json" -d '{ "description": "netezza engine updated description", "engine_display_name": "sampleEngine", "tags": [ "tag1", "tag2" ] }' "https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/netezza_engines/{engine_id}"
Response
Netezza engine details
Actions
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Examples:[ "update", "delete" ]watsonx.data build version
Example:
1.0.3.0.0Created user name
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9.@<>\-]+Example:
<username>@<domain>.comCreated time in epoch format
Engine description
Possible values: 0 ≤ length ≤ 50, Value must match regular expression
^.*$Example:
netezza engine for running sql queriesExternal engine details
Engine display name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
sampleEngineEngine programmatic name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
sampleEngine123Engine host name. In case of OCP based clusters, this is internal hostname
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
xyz-netezza-01-netezza-svcOrigin - place holder
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
ibmEngine port
Engine status
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
REGISTEREDTags
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
^.*$Examples:[ "tag1", "tag2" ]Engine type
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
netezza
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "NetezzaEngine": null, "created_by": "user@test.com", "created_on": 1700322469, "description": "updated description for netezza engine.", "engine_details": { "connection_string\"": "jdbc:netezza://localhost:5480/database", "metastore_host": "thrift://mh-connection-string-sample.com" }, "engine_display_name": "sample Netezza Engine Display Name", "engine_id": "sample Netezza Engine Name", "origin": "external", "status": "REGISTERED", "tags": [ "tag1", "tag2" ], "type": "netezza" }
Request
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Response
list Prestissimo Engines
list prestissimo engines
Possible values: 0 ≤ number of items ≤ 10000
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "prestissimo_engines": [ { "actions": [ "view", "use", "update", "select", "access_ui", "associate", "disassociate", "restart", "pause", "resume", "grant", "revoke", "delete", "create", "scale" ], "associated_catalogs": [ "hive_data" ], "build_version": "1.1.0.0.0", "coordinator": { "node_type": "bx2.4x16", "quantity": 1 }, "engine_display_name": "starter", "engine_id": "prestissimo511", "external_host_name": "your-hostname.apps.your-domain.com", "group_id": "prestissimo511", "host_name": "1234-xyz456-abc4321.databases.appdomain.cloud", "port": 30156, "size_config": "starter", "status": "running", "status_code": 0, "tags": [ "tag1", "tag2" ], "type": "prestissimo", "version": "v0.282", "worker": { "node_type": "bx2.4x16", "quantity": 1 } } ] }
Request
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Create Engine Body
Origin - created or registered
Allowable values: [
native,external,discover]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^.*$Example:
nativeAssociated catalogs
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
^.*$Examples:[ "hive_data" ]Engine description
Possible values: 0 ≤ length ≤ 50, Value must match regular expression
^.*$Example:
prestissimo engine descriptionExternal engine details
Engine display name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^.*$Example:
sampleEngineRegion (cloud)
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^.*$Example:
us-southTags
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
^.*$Examples:[ "tag1", "tag2" ]Version like 0.278 for prestissimo or else
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^.*$Example:
1.2.3
Response
EngineDetail
Applicable only for OCP based clusters. This is typically servicename+route
Example:
your-hostname.apps.your-domain.comEngine status code
Actions
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
^.*$Examples:[ "update", "delete" ]Associated catalog
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
^.*$Examples:[ "hive_data" ]watsonx.data build version
Example:
1.0.3.0.0coordinator/worker property settings
Created user name
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9.@<>\-]+Example:
<username>@<domain>.comCreated time in epoch format
Engine description
Possible values: 0 ≤ length ≤ 50, Value must match regular expression
^.*$Example:
prestissimo engine for running sql queriesExternal engine details
Engine display name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^.*$Example:
sampleEngineEngine programmatic name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^.*$Example:
sampleEngine123Engine properties
Triggers engine restart if value is force
Possible values: [
force,false]Example:
forceGroup ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^.*$Example:
new_group_idEngine host name. In case of OCP based clusters, this is internal hostname
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^.*$Example:
xyz-prestissimo-01-prestissimo-svcOrigin - place holder
Possible values: [
native,external,discover]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^.*$Example:
nativeEngine port
Region - place holder
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^.*$Example:
us-southRemoveEngine properties
CPD supported sizes are: custom, starter, small, medium, large, xlarge, and xxlarge. IBM cloud supported sizes are: custom, starter, small, medium, large, cache_optimized, compute_optimized and lite.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^.*$Example:
starterEngine status
Possible values: [
running,pending,stopped]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
^.*$Example:
runningTags
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
^.*$Examples:[ "tag1", "tag2" ]Engine type
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^.*$Example:
prestissimoVersion of the engine
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^.*$Example:
1.2.0coordinator/worker property settings
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "actions": [ "update", "delete" ], "associated_catalogs": [ "hive_data" ], "coordinator": { "node_type": "worker", "quantity": 1 }, "created_by": "<username>@<domain>.com", "created_on": 163788384993, "description": "prestissimo engine for running sql queries", "engine_display_name": "sampleEngine", "engine_id": "sampleEngine123", "external_host_name": "your-hostname.apps.your-domain.com", "group_id": "new_group_id", "host_name": "your-hostname.apps.your-domain.com", "origin": "native", "region": "us-south", "size_config": "starter", "status": "running", "status_code": 0, "tags": [ "tag1", "tag2" ], "version": "1.2.0", "worker": { "node_type": "worker", "quantity": 1 } }
Request
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
engine id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+$
Response
EngineDetail
Applicable only for OCP based clusters. This is typically servicename+route
Example:
your-hostname.apps.your-domain.comEngine status code
Actions
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
^.*$Examples:[ "update", "delete" ]Associated catalog
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
^.*$Examples:[ "hive_data" ]watsonx.data build version
Example:
1.0.3.0.0coordinator/worker property settings
Created user name
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9.@<>\-]+Example:
<username>@<domain>.comCreated time in epoch format
Engine description
Possible values: 0 ≤ length ≤ 50, Value must match regular expression
^.*$Example:
prestissimo engine for running sql queriesExternal engine details
Engine display name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^.*$Example:
sampleEngineEngine programmatic name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^.*$Example:
sampleEngine123Engine properties
Triggers engine restart if value is force
Possible values: [
force,false]Example:
forceGroup ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^.*$Example:
new_group_idEngine host name. In case of OCP based clusters, this is internal hostname
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^.*$Example:
xyz-prestissimo-01-prestissimo-svcOrigin - place holder
Possible values: [
native,external,discover]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^.*$Example:
nativeEngine port
Region - place holder
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^.*$Example:
us-southRemoveEngine properties
CPD supported sizes are: custom, starter, small, medium, large, xlarge, and xxlarge. IBM cloud supported sizes are: custom, starter, small, medium, large, cache_optimized, compute_optimized and lite.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^.*$Example:
starterEngine status
Possible values: [
running,pending,stopped]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
^.*$Example:
runningTags
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
^.*$Examples:[ "tag1", "tag2" ]Engine type
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^.*$Example:
prestissimoVersion of the engine
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^.*$Example:
1.2.0coordinator/worker property settings
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "actions": [ "update", "delete" ], "associated_catalogs": [ "hive_data" ], "coordinator": { "node_type": "worker", "quantity": 1 }, "created_by": "<username>@<domain>.com", "created_on": 163788384993, "description": "prestissimo engine for running sql queries", "engine_display_name": "sampleEngine", "engine_id": "sampleEngine123", "external_host_name": "your-hostname.apps.your-domain.com", "group_id": "new_group_id", "host_name": "your-hostname.apps.your-domain.com", "origin": "native", "region": "us-south", "size_config": "starter", "status": "running", "status_code": 0, "tags": [ "tag1", "tag2" ], "version": "1.2.0", "worker": { "node_type": "worker", "quantity": 1 } }
Update prestissimo engine
Update details of prestissimo engine
PATCH /prestissimo_engines/{engine_id}Request
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
engine id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+$
Update prestissimo engine body
Modified description
Possible values: 0 ≤ length ≤ 50, Value must match regular expression
^.*$Example:
updated description for prestissimo engineEngine display name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^.*$Example:
sampleEngineEngine properties
- engine_properties
Catalog settings
Configuration settings for the engine properties
velox settings
JVM settings
Log Configuration settings
Triggers engine restart if value is force
Allowable values: [
force,false]Example:
forceRemoveEngine properties
- remove_engine_properties
Catalog settings
remove engine properties configuration
velox property
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$
Tags
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
^.*$Examples:[ "tag1", "tag2" ]
curl -X 'PATCH' 'https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/prestissimo_engines/{engine_id}' -H 'accept: application/json' -H 'Content-Type: application/merge-patch+json' -H 'AuthInstanceId: {instance_id}' -d '{ "description": "updated description for prestissimo engine", "engine_display_name": "sample-display-name", "engine_properties": { "configuration": { "coordinator": { "property": "value" }, "worker": { "property": "value" } }, "jvm": { "coordinator": { "property": "value" } }, "catalog": { "hive_data": { "coordinator": { "property": "value" }, "worker": { "property": "value" } } }, "velox": { "property": "value" }, "log_config": { "coordinator": { "property": "value" }, "worker": { "property": "value" } }, "global": { "property": "value" } }, "engine_restart": "force", "remove_engine_properties": { "configuration": { "coordinator": [ "property" ], "worker": [ "property" ] }, "catalog": { "hive_data": { "coordinator": [ "property" ], "worker": [ "property" ] } }, "jvm": { "coordinator": [ "property" ] }, "log_config": { "coordinator": [ "property" ], "worker": [ "property" ] }, "velox": [ "property" ] }, "tags": [ "tag1", "tag2" ] }'
Response
EngineDetail
Applicable only for OCP based clusters. This is typically servicename+route
Example:
your-hostname.apps.your-domain.comEngine status code
Actions
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
^.*$Examples:[ "update", "delete" ]Associated catalog
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
^.*$Examples:[ "hive_data" ]watsonx.data build version
Example:
1.0.3.0.0coordinator/worker property settings
Created user name
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9.@<>\-]+Example:
<username>@<domain>.comCreated time in epoch format
Engine description
Possible values: 0 ≤ length ≤ 50, Value must match regular expression
^.*$Example:
prestissimo engine for running sql queriesExternal engine details
Engine display name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^.*$Example:
sampleEngineEngine programmatic name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^.*$Example:
sampleEngine123Engine properties
Triggers engine restart if value is force
Possible values: [
force,false]Example:
forceGroup ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^.*$Example:
new_group_idEngine host name. In case of OCP based clusters, this is internal hostname
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^.*$Example:
xyz-prestissimo-01-prestissimo-svcOrigin - place holder
Possible values: [
native,external,discover]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^.*$Example:
nativeEngine port
Region - place holder
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^.*$Example:
us-southRemoveEngine properties
CPD supported sizes are: custom, starter, small, medium, large, xlarge, and xxlarge. IBM cloud supported sizes are: custom, starter, small, medium, large, cache_optimized, compute_optimized and lite.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^.*$Example:
starterEngine status
Possible values: [
running,pending,stopped]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
^.*$Example:
runningTags
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
^.*$Examples:[ "tag1", "tag2" ]Engine type
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^.*$Example:
prestissimoVersion of the engine
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^.*$Example:
1.2.0coordinator/worker property settings
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "actions": [ "update", "delete" ], "associated_catalogs": [ "hive_data" ], "coordinator": { "node_type": "worker", "quantity": 1 }, "created_by": "<username>@<domain>.com", "created_on": 163788384993, "description": "prestissimo engine for running sql queries", "engine_display_name": "sampleEngine", "engine_id": "sampleEngine123", "external_host_name": "your-hostname.apps.your-domain.com", "group_id": "new_group_id", "host_name": "your-hostname.apps.your-domain.com", "origin": "native", "region": "us-south", "size_config": "starter", "status": "running", "status_code": 0, "tags": [ "tag1", "tag2" ], "version": "1.2.0", "worker": { "node_type": "worker", "quantity": 1 } }
Get prestissimo engine catalogs
Get list of all catalogs attached a prestissimo engine
GET /prestissimo_engines/{engine_id}/catalogsAssociate catalogs to a prestissimo engine
Associate catalogs to a prestissimo engine
POST /prestissimo_engines/{engine_id}/catalogsRequest
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
engine id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+$
Request body
{
"catalog_names": "iceberg_data, catalog02"
}catalog names
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-_,]+$
curl -X 'POST' 'https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/prestissimo_engines/{engine_id}/catalogs' -H 'accept: application/json' -H "Content-Type: application/json" -d '{ "catalog_names": "catalog_name01,catalog_name02" }' -H "AuthInstanceId: {instance_id}"
Response
Define the catalog details
list of allowed actions
Possible values: 0 ≤ number of items ≤ 1000
Examples:[ "update", "delete" ]Associated buckets items
Possible values: 0 ≤ number of items ≤ 1000
Examples:[ "bucket_1", "bucket_2" ]Associated databases items
Possible values: 0 ≤ number of items ≤ 1000
Examples:[ "database_1", "database_2" ]Associated engines items
Possible values: 0 ≤ number of items ≤ 1000
Examples:[ "engine_1", "engine_2" ]Name for the catalog
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-_]+$Example:
sampleCatalogTable type
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
icebergCreated by
Example:
<username>@<domain>.comCreated on
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
1602839833Description
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
Iceberg catalog descriptionIBM thrift uri hostname
Possible values: 0 ≤ length ≤ 2000, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
s3a://samplehost.comLast sync time
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
1602839833Managed by
Possible values: [
ibm,customer]Possible values: 0 ≤ length ≤ 100, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
ibmCatalog name
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
glueIBM thrift uri port
Example:
3232Catalog status
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
runningSync description
Possible values: 0 ≤ length ≤ 100, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
Table registration was successfulTables not sync because data is corrupted
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 1000, Value must match regular expression
^[a-zA-Z0-9\-_]+$Examples:[ "table is corrupted", "table metadata not there" ]Sync status
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
SUCCESSTags
Possible values: 0 ≤ number of items ≤ 1000
Examples:[ "tag1", "tag2" ]Customer thrift uri
Possible values: 0 ≤ length ≤ 2000, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
thrift://samplehost-catalog:4354
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "actions": [ "view", "update", "delete" ], "associated_buckets": [ "ibm_cos_bucket" ], "associated_databases": [ "iceberg_data" ], "associated_engines": [ "presto367" ], "catalog_name": "iceberg_data", "catalog_type": "iceberg", "created_by": "user@domain.com", "created_on": "1700633239", "description": "catalog description", "hostname": "1234-xyz456-abc4321.lakehouse.dev.appdomain.cloud", "port": "31504", "sync_exception": [ "table is corrupted", "table metadata not there" ], "tags": [ "tag1", "tag2" ], "thrift_uri": "thrift://samplehost-catalog:4354" }
Disassociate catalogs from a prestissimo engine
Disassociate one or more catalogs from a prestissimo engine
DELETE /prestissimo_engines/{engine_id}/catalogsRequest
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
engine id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+$
Query Parameters
Catalog id(s) to be stopped, comma separated
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
^[a-zA-Z0-9\-,_]+$
Get prestissimo engine catalog
Get catalog attached to a prestissimo engine
GET /prestissimo_engines/{engine_id}/catalogs/{catalog_id}Request
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
engine id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+$catalog id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-_]+$
Response
Define the catalog details
list of allowed actions
Possible values: 0 ≤ number of items ≤ 1000
Examples:[ "update", "delete" ]Associated buckets items
Possible values: 0 ≤ number of items ≤ 1000
Examples:[ "bucket_1", "bucket_2" ]Associated databases items
Possible values: 0 ≤ number of items ≤ 1000
Examples:[ "database_1", "database_2" ]Associated engines items
Possible values: 0 ≤ number of items ≤ 1000
Examples:[ "engine_1", "engine_2" ]Name for the catalog
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-_]+$Example:
sampleCatalogTable type
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
icebergCreated by
Example:
<username>@<domain>.comCreated on
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
1602839833Description
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
Iceberg catalog descriptionIBM thrift uri hostname
Possible values: 0 ≤ length ≤ 2000, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
s3a://samplehost.comLast sync time
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
1602839833Managed by
Possible values: [
ibm,customer]Possible values: 0 ≤ length ≤ 100, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
ibmCatalog name
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
glueIBM thrift uri port
Example:
3232Catalog status
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
runningSync description
Possible values: 0 ≤ length ≤ 100, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
Table registration was successfulTables not sync because data is corrupted
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 1000, Value must match regular expression
^[a-zA-Z0-9\-_]+$Examples:[ "table is corrupted", "table metadata not there" ]Sync status
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
SUCCESSTags
Possible values: 0 ≤ number of items ≤ 1000
Examples:[ "tag1", "tag2" ]Customer thrift uri
Possible values: 0 ≤ length ≤ 2000, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
thrift://samplehost-catalog:4354
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "actions": [ "view", "update", "delete" ], "associated_buckets": [ "ibm_cos_bucket" ], "associated_databases": [ "iceberg_data" ], "associated_engines": [ "presto367" ], "catalog_name": "iceberg_data", "catalog_type": "iceberg", "created_by": "user@domain.com", "created_on": "1700633239", "description": "catalog description", "hostname": "1234-xyz456-abc4321.lakehouse.dev.appdomain.cloud", "port": "31504", "sync_exception": [ "table is corrupted", "table metadata not there" ], "tags": [ "tag1", "tag2" ], "thrift_uri": "thrift://samplehost-catalog:4354" }
Request
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
Engine id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+$
Request body
Presto query to determine explain plan
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^.*$Example:
show schemas in catalog_nameFormat
Allowable values: [
,text,graphviz,json]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
^.*$Example:
jsonType
Allowable values: [
,logical,distributed,validate,io]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
^.*$Example:
io
Explain analyze
Return query metrics after query is complete
POST /prestissimo_engines/{engine_id}/query_explain_analyzeRequest
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
Engine id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+$
Request body
Presto query to show explain analyze
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^.*$Example:
show schemas in catalog_nameVerbose
Example:
true
Restart a prestissimo engine
Restart an existing prestissimo engine
POST /prestissimo_engines/{engine_id}/restartRequest
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
curl -X GET -H "content-type: application/json" -H "AuthInstanceId: {instance id}" "https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/presto_engines"
Response
List Presto engines
Presto engine
Possible values: 0 ≤ number of items ≤ 10000
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "presto_engines": [ { "actions": [ "view", "use", "update", "select", "access_ui", "associate", "disassociate", "restart", "pause", "resume", "grant", "revoke", "delete", "create", "scale" ], "associated_catalogs": [ "iceberg_data", "hive_data" ], "build_version": "1.1.0.0.0", "coordinator": { "node_type": "bx2.4x16", "quantity": 1 }, "engine_display_name": "starter", "engine_id": "presto511", "external_host_name": "your-hostname.apps.your-domain.com", "group_id": "presto511", "host_name": "1234-xyz456-abc4321.databases.appdomain.cloud", "origin": "native", "port": 30156, "size_config": "starter", "status": "running", "status_code": 0, "tags": [ "tag1", "tag2" ], "type": "presto", "version": "v0.282", "worker": { "node_type": "bx2.4x16", "quantity": 1 } } ] }
Request
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Create Engine Body
Origin - created or registered
Allowable values: [
native,external,discover]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
nativeAssociated catalogs
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Examples:[ "iceberg_data", "hive_data" ]Engine description
Possible values: 1 ≤ length ≤ 50, Value must match regular expression
^.*$Example:
presto engine for running sql queriesNode details
Engine display name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^.*$Example:
sampleEngineRegion (cloud)
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
us-southTags
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
^.*$Examples:[ "tag1", "tag2" ]Version like 0.278 for presto or else
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
1.2.3
curl -X 'POST' 'https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/presto_engines' -H 'accept: application/json' -H 'Content-Type: application/json' -d '{ "description": "", "engine_details": { "coordinator": { "node_type": "starter", "quantity": 1 }, "size_config": "custom", "worker": { "node_type": "starter", "quantity": 1 } }, "engine_display_name": "presto572", "origin": "native", "associated_catalogs": [], "version": "v0.286", "tags": [], "region": "" }'
Response
EngineDetail
Applicable only for OCP based clusters. This is typically servicename+route
Example:
your-hostname.apps.your-domain.comEngine status code
Actions
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Examples:[ "update", "delete" ]Associated catalogs
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-_]+$Examples:[ "iceberg_data", "hive_data" ]watsonx.data build version
Example:
1.0.3.0.0NodeDescription
Created user name
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9.@<>\-]+Example:
<username>@<domain>.comCreated time in epoch format
Engine description
Possible values: 1 ≤ length ≤ 50, Value must match regular expression
^.*$Example:
presto engine for running sql queriesDriver details
Possible values: 0 ≤ number of items ≤ 10000
Node details
Engine display name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^.*$Example:
sampleEngineEngine programmatic name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
sampleEngine123Engine properties
Triggers engine restart if value is force
Possible values: [
force,false]Example:
forceGroup ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
new_group_idEngine host name. In case of OCP based clusters, this is internal hostname
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
^[a-zA-Z0-9\-:/_.?=@]+Example:
ibm-lh-lakehouse-presto-01-presto-svcOrigin - created or registered
Possible values: [
native,external,discover]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
nativeEngine port
Region (cloud)
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
us-southRemoveEngine properties
CPD supported sizes are: custom, starter, small, medium, large, xlarge, and xxlarge. IBM cloud supported sizes are: custom, starter, small, medium, large, cache_optimized, compute_optimized and lite.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
starterEngine status
Possible values: [
running,pending,stopped]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
runningTags
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
^.*$Examples:[ "tag1", "tag2" ]Engine type presto
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
prestoVersion of the engine
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
1.2.0NodeDescription
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "actions": [ "view", "use", "update", "select", "access_ui", "associate", "disassociate", "restart", "pause", "resume", "grant", "revoke", "delete", "create", "scale" ], "associated_catalogs": [ "iceberg_data", "hive_data" ], "build_version": "1.1.0.0.0", "coordinator": { "node_type": "bx2.4x16", "quantity": 1 }, "engine_display_name": "starter", "engine_id": "presto511", "external_host_name": "your-hostname.apps.your-domain.com", "group_id": "presto511", "host_name": "1234-xyz456-abc4321.databases.appdomain.cloud", "origin": "native", "port": 30156, "size_config": "starter", "status": "running", "status_code": 0, "tags": [ "tag1", "tag2" ], "type": "presto", "version": "v0.282", "worker": { "node_type": "bx2.4x16", "quantity": 1 } }
Request
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
engine id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+$
curl -X 'GET' 'https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/presto_engines/{engine_id}' -H 'accept: application/json' -H "AuthInstanceId: {instance id}"
Response
EngineDetail
Applicable only for OCP based clusters. This is typically servicename+route
Example:
your-hostname.apps.your-domain.comEngine status code
Actions
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Examples:[ "update", "delete" ]Associated catalogs
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-_]+$Examples:[ "iceberg_data", "hive_data" ]watsonx.data build version
Example:
1.0.3.0.0NodeDescription
Created user name
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9.@<>\-]+Example:
<username>@<domain>.comCreated time in epoch format
Engine description
Possible values: 1 ≤ length ≤ 50, Value must match regular expression
^.*$Example:
presto engine for running sql queriesDriver details
Possible values: 0 ≤ number of items ≤ 10000
Node details
Engine display name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^.*$Example:
sampleEngineEngine programmatic name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
sampleEngine123Engine properties
Triggers engine restart if value is force
Possible values: [
force,false]Example:
forceGroup ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
new_group_idEngine host name. In case of OCP based clusters, this is internal hostname
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
^[a-zA-Z0-9\-:/_.?=@]+Example:
ibm-lh-lakehouse-presto-01-presto-svcOrigin - created or registered
Possible values: [
native,external,discover]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
nativeEngine port
Region (cloud)
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
us-southRemoveEngine properties
CPD supported sizes are: custom, starter, small, medium, large, xlarge, and xxlarge. IBM cloud supported sizes are: custom, starter, small, medium, large, cache_optimized, compute_optimized and lite.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
starterEngine status
Possible values: [
running,pending,stopped]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
runningTags
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
^.*$Examples:[ "tag1", "tag2" ]Engine type presto
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
prestoVersion of the engine
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
1.2.0NodeDescription
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "actions": [ "view", "use", "update", "select", "access_ui", "associate", "disassociate", "restart", "pause", "resume", "grant", "revoke", "delete", "create", "scale" ], "associated_catalogs": [ "iceberg_data", "hive_data" ], "build_version": "1.1.0.0.0", "coordinator": { "node_type": "bx2.4x16", "quantity": 1 }, "engine_display_name": "starter", "engine_id": "presto511", "external_host_name": "your-hostname.apps.your-domain.com", "group_id": "presto511", "host_name": "1234-xyz456-abc4321.databases.appdomain.cloud", "origin": "native", "port": 30156, "size_config": "starter", "status": "running", "status_code": 0, "tags": [ "tag1", "tag2" ], "type": "presto", "version": "v0.282", "worker": { "node_type": "bx2.4x16", "quantity": 1 } }
Request
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
engine id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+$
curl -X 'DELETE' 'https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/presto_engines/{engine_id}' -H 'accept: */*' -H "AuthInstanceId: {instance id}"
Request
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
engine id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+$
Update Engine Body
Modified description
Possible values: 0 ≤ length ≤ 50, Value must match regular expression
^.*$Example:
updated description for presto engineEngine display name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^.*$Example:
sampleEngineEngine properties
- engine_properties
Catalog configuration settings
Configuration settings
Event Listener settings
Global session is to accomodate all the custom properties that can be applicable for both coordinator and worker
JMX Exporter config settings
JVM settings
Log Configuration settings
Triggers engine restart if value is force
Allowable values: [
force,false]Example:
forceRemoveEngine properties
- remove_engine_properties
Configuration settings for removing engine properties
JVM properties
Catalog configuration settings
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^.*$Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^.*$Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^.*$JVM properties
Tags
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
^.*$Examples:[ "tag1", "tag2" ]
curl -X 'PATCH' 'https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/presto_engines/{engine_id}' -H 'accept: application/json' -H 'LhInstanceId: {InstanceID}' -H 'Content-Type: application/json' -d '{ "description": "updated description for presto engine", "engine_display_name": "engine-display-name", "engine_properties": { "configuration": { "coordinator": { "property": "value" }, "worker": { "property": "value" } }, "jvm": { "coordinator": { "property": "value" }, "worker": { "property": "value" } }, "catalog": { "catalog_name": { "coordinator": { "property": "value" }, "worker": { "property": "value" } } }, "event_listener": { "property": "value" }, "jmx_exporter_config": { "property": "value" }, "log_config": { "coordinator": { "property": "value" }, "worker": { "property": "value" } }, "global": { "enable-mixed-case-support": "true" } }, "engine_restart": "force", "remove_engine_properties": { "configuration": { "coordinator": [ "property" ], "worker": [ "property" ] }, "jvm": { "coordinator": [ "property" ], "worker": [ "property" ] }, "log_config": { "coordinator": [ "property" ], "worker": [ "property" ] }, "event_listener": [ "property" ], "jmx_exporter_config": [ "property" ], "global": [ "property" ], "catalog": {} }, "tags": [ "tag1", "tag2" ] }'
Response
EngineDetail
Applicable only for OCP based clusters. This is typically servicename+route
Example:
your-hostname.apps.your-domain.comEngine status code
Actions
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Examples:[ "update", "delete" ]Associated catalogs
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-_]+$Examples:[ "iceberg_data", "hive_data" ]watsonx.data build version
Example:
1.0.3.0.0NodeDescription
Created user name
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9.@<>\-]+Example:
<username>@<domain>.comCreated time in epoch format
Engine description
Possible values: 1 ≤ length ≤ 50, Value must match regular expression
^.*$Example:
presto engine for running sql queriesDriver details
Possible values: 0 ≤ number of items ≤ 10000
Node details
Engine display name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^.*$Example:
sampleEngineEngine programmatic name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
sampleEngine123Engine properties
Triggers engine restart if value is force
Possible values: [
force,false]Example:
forceGroup ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
new_group_idEngine host name. In case of OCP based clusters, this is internal hostname
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
^[a-zA-Z0-9\-:/_.?=@]+Example:
ibm-lh-lakehouse-presto-01-presto-svcOrigin - created or registered
Possible values: [
native,external,discover]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
nativeEngine port
Region (cloud)
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
us-southRemoveEngine properties
CPD supported sizes are: custom, starter, small, medium, large, xlarge, and xxlarge. IBM cloud supported sizes are: custom, starter, small, medium, large, cache_optimized, compute_optimized and lite.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
starterEngine status
Possible values: [
running,pending,stopped]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
runningTags
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
^.*$Examples:[ "tag1", "tag2" ]Engine type presto
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
prestoVersion of the engine
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
1.2.0NodeDescription
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "actions": [ "view", "use", "update", "select", "access_ui", "associate", "disassociate", "restart", "pause", "resume", "grant", "revoke", "delete", "create", "scale" ], "associated_catalogs": [ "iceberg_data", "hive_data" ], "build_version": "1.1.0.0.0", "coordinator": { "node_type": "bx2.4x16", "quantity": 1 }, "engine_display_name": "starter", "engine_id": "presto511", "external_host_name": "your-hostname.apps.your-domain.com", "group_id": "presto511", "host_name": "1234-xyz456-abc4321.databases.appdomain.cloud", "origin": "native", "port": 30156, "size_config": "starter", "status": "running", "status_code": 0, "tags": [ "tag1", "tag2" ], "type": "presto", "version": "v0.282", "worker": { "node_type": "bx2.4x16", "quantity": 1 } }
Get presto engine catalogs
Get list of all catalogs attached to a presto engine
GET /presto_engines/{engine_id}/catalogsRequest
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
engine id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+$
curl -X 'GET' 'https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/presto_engines/{engine_id}/catalogs' -H 'accept: application/json' -H "AuthInstanceId: {instance id}"
Associate catalogs to presto engine
Associate one or more catalogs to a presto engine
POST /presto_engines/{engine_id}/catalogsRequest
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
engine id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+$
Request body
{
"catalog_names": "iceberg_data, catalog02"
}catalog names
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-_,]+$
curl -X 'POST' 'https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/presto_engines/{engine_id}/catalogs' -H 'accept: application/json' -H "Content-Type: application/json" -d '{ "catalog_names": "catalog_name01,catalog_name02" }' -H "AuthInstanceId: {instance_id}"
Response
Define the catalog details
list of allowed actions
Possible values: 0 ≤ number of items ≤ 1000
Examples:[ "update", "delete" ]Associated buckets items
Possible values: 0 ≤ number of items ≤ 1000
Examples:[ "bucket_1", "bucket_2" ]Associated databases items
Possible values: 0 ≤ number of items ≤ 1000
Examples:[ "database_1", "database_2" ]Associated engines items
Possible values: 0 ≤ number of items ≤ 1000
Examples:[ "engine_1", "engine_2" ]Name for the catalog
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-_]+$Example:
sampleCatalogTable type
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
icebergCreated by
Example:
<username>@<domain>.comCreated on
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
1602839833Description
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
Iceberg catalog descriptionIBM thrift uri hostname
Possible values: 0 ≤ length ≤ 2000, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
s3a://samplehost.comLast sync time
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
1602839833Managed by
Possible values: [
ibm,customer]Possible values: 0 ≤ length ≤ 100, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
ibmCatalog name
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
glueIBM thrift uri port
Example:
3232Catalog status
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
runningSync description
Possible values: 0 ≤ length ≤ 100, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
Table registration was successfulTables not sync because data is corrupted
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 1000, Value must match regular expression
^[a-zA-Z0-9\-_]+$Examples:[ "table is corrupted", "table metadata not there" ]Sync status
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
SUCCESSTags
Possible values: 0 ≤ number of items ≤ 1000
Examples:[ "tag1", "tag2" ]Customer thrift uri
Possible values: 0 ≤ length ≤ 2000, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
thrift://samplehost-catalog:4354
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "actions": [ "view", "update", "delete" ], "associated_buckets": [ "ibm_cos_bucket" ], "associated_databases": [ "iceberg_data" ], "associated_engines": [ "presto367" ], "catalog_name": "iceberg_data", "catalog_type": "iceberg", "created_by": "user@domain.com", "created_on": "1700633239", "description": "catalog description", "hostname": "1234-xyz456-abc4321.lakehouse.dev.appdomain.cloud", "port": "31504", "sync_exception": [ "table is corrupted", "table metadata not there" ], "tags": [ "tag1", "tag2" ], "thrift_uri": "thrift://samplehost-catalog:4354" }
Disassociate catalogs from a presto engine
Disassociate one or more catalogs from a presto engine
DELETE /presto_engines/{engine_id}/catalogsRequest
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
engine id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+$
Query Parameters
Catalog id(s) to be stopped, comma separated
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
^[a-zA-Z0-9\-_,]+$
curl -X 'DELETE' 'https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/presto_engines/{engine_id}/catalogs?catalog_names=catalog_name1' -H 'accept: */*' -H "AuthInstanceId: {instance id}"
Get presto engine catalog
Get catalog attached to presto engine
GET /presto_engines/{engine_id}/catalogs/{catalog_id}Request
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
engine id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+$catalog id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-_]+$
curl -X 'GET' 'https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/presto_engines/{engine_id}/catalogs/{catalog_id}' -H 'accept: application/json' -H "AuthInstanceId: {instance id}"
Response
Define the catalog details
list of allowed actions
Possible values: 0 ≤ number of items ≤ 1000
Examples:[ "update", "delete" ]Associated buckets items
Possible values: 0 ≤ number of items ≤ 1000
Examples:[ "bucket_1", "bucket_2" ]Associated databases items
Possible values: 0 ≤ number of items ≤ 1000
Examples:[ "database_1", "database_2" ]Associated engines items
Possible values: 0 ≤ number of items ≤ 1000
Examples:[ "engine_1", "engine_2" ]Name for the catalog
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-_]+$Example:
sampleCatalogTable type
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
icebergCreated by
Example:
<username>@<domain>.comCreated on
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
1602839833Description
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
Iceberg catalog descriptionIBM thrift uri hostname
Possible values: 0 ≤ length ≤ 2000, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
s3a://samplehost.comLast sync time
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
1602839833Managed by
Possible values: [
ibm,customer]Possible values: 0 ≤ length ≤ 100, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
ibmCatalog name
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
glueIBM thrift uri port
Example:
3232Catalog status
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
runningSync description
Possible values: 0 ≤ length ≤ 100, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
Table registration was successfulTables not sync because data is corrupted
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 1000, Value must match regular expression
^[a-zA-Z0-9\-_]+$Examples:[ "table is corrupted", "table metadata not there" ]Sync status
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
SUCCESSTags
Possible values: 0 ≤ number of items ≤ 1000
Examples:[ "tag1", "tag2" ]Customer thrift uri
Possible values: 0 ≤ length ≤ 2000, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
thrift://samplehost-catalog:4354
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "actions": [ "view", "update", "delete" ], "associated_buckets": [ "ibm_cos_bucket" ], "associated_databases": [ "iceberg_data" ], "associated_engines": [ "presto367" ], "catalog_name": "iceberg_data", "catalog_type": "iceberg", "created_by": "user@domain.com", "created_on": "1700633239", "description": "catalog description", "hostname": "1234-xyz456-abc4321.lakehouse.dev.appdomain.cloud", "port": "31504", "sync_exception": [ "table is corrupted", "table metadata not there" ], "tags": [ "tag1", "tag2" ], "thrift_uri": "thrift://samplehost-catalog:4354" }
Request
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
Engine id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+$
Request body
Presto query to determine explain plan
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^.*$Example:
show schemas in catalog_nameFormat
Allowable values: [
,text,graphviz,json]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
^.*$Example:
jsonType
Allowable values: [
,logical,distributed,validate,io]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
^.*$Example:
io
curl -X 'POST' 'https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/presto_engines/{engine_id}/query_explain' -H 'accept: application/json' -H 'Content-Type: application/json' -H "AuthInstanceId: {instance id}" -d '{ "format": "json", "statement": "show schemas in catalog_name", "type": "io"}'
Response
ExplainStatement OK
Response of success
Examples:{ "message": "Successful message", "message_code": "success" }Result
Possible values: 0 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-z0-9\-]+
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "response": { "message": "explain statement", "message_code": "success" }, "result": "explain statement" }
Explain presto analyze
Return query metrics after query is complete
POST /presto_engines/{engine_id}/query_explain_analyzeRequest
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
Engine id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+$
Request body
Presto query to show explain analyze
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^.*$Example:
show schemas in catalog_nameVerbose
Example:
true
curl -X 'POST' 'https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/presto_engines/{engine_id}/query_explain_analyze' -H 'accept: application/json' -H 'Content-Type: application/json' -H "AuthInstanceId: {instance id}" -d '{ "statement": "show schemas in catalog_name", "verbose": true}'
Response
explainAnalyzeStatement OK
Response of success
Examples:{ "message": "Successful message", "message_code": "success" }explainAnalyzeStatement result
Possible values: 0 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-z0-9\-]+
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "response": { "message": "explain presto analyze", "message_code": "success" }, "result": "explain statement" }
Request
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
engine id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+$
curl -X 'POST' 'https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/presto_engines/{engine_id}/restart' -H 'accept: application/json' -H "AuthInstanceId: {instance id}" -d ''
Request
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
curl -X GET -H "content-type: application/json" -H "AuthInstanceId: {instance_id}" "https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/spark_engines"
Response
List spark engines
List spark engines
Possible values: 0 ≤ number of items ≤ 10000
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "spark_engines": [ { "actions": [ "action1", "action2", "action3" ], "associated_catalogs": [], "created_by": "user@example.com", "created_on": 1234567890, "description": "Sample Description", "engine_details": { "history_server_endpoint": "https://console.example.com/v3/analytic_engines/abcd-efgh-ijkl-mnop/spark_history_api/v1", "spark_access_endpoint": "https://console.example.com/analytics-engine/details/spark-1717414394213457", "spark_jobs_v4_endpoint": "https://console.example.com/v4/analytics_engines/abcd-efgh-ijkl-mnop/spark_applications", "spark_kernel_endpoint": "https://console.example.com/v4/analytics_engines/abcd-efgh-ijkl-mnop/jkg/api/kernels", "view_history_server": "https://console.example.com/v3/analytic_engines/abcd-efgh-ijkl-mnop/spark_history_ui", "wxd_application_endpoint": "https://example.com/lakehouse/api/v2/abcd-efgh-ijkl-mnop/spark_engines/spark119/applications" }, "engine_display_name": "sample-external-spark-co-located", "engine_id": "spark456", "origin": "external", "status": "REGISTERED", "tags": [ "tag1", "tag2" ], "type": "spark" }, { "actions": [ "action1", "action2", "action3" ], "associated_catalogs": [ "iceberg_data", "hudi_catalog", "delta_lake" ], "created_by": "user@example.com", "created_on": 1234567890, "description": "Sample Description", "engine_details": { "default_config": { "config1": "value1", "config2": "value2" }, "default_version": "3.3", "endpoints": { "wxd_application_endpoint": "https://example.com/lakehouse/api/v2/spark_engines/spark123/applications", "wxd_engine_endpoint": "https://example.com/lakehouse/api/v2/spark_engines/spark123", "wxd_history_server_endpoint": "https://example.com/lakehouse/api/v2/spark_engines/spark123/history_server", "wxd_history_server_ui_endpoint": "https://example.com/lakehouse/api/v2/1234567890123456/spark_engines/spark123/history_server/ui" }, "engine_home_volume": "cpd-instance::volume-name" }, "engine_display_name": "sample-native-spark", "engine_id": "spark123", "origin": "native", "status": "running", "tags": [], "type": "spark" } ] }
Request
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Create spark engine Body
{
"description": "",
"engine_details": {
"default_version": "3.4",
"engine_home_volume_storage_size": "5Gi",
"engine_home_volume_name": "volume-name",
"engine_home_volume_storage_class": "nfs-client"
},
"engine_display_name": "sample-native-spark-new-volume",
"type": "spark",
"associated_catalogs": [
"iceberg_data",
"hive_data"
],
"origin": "native"
}{
"description": "",
"engine_details": {
"default_version": "3.3",
"engine_home_volume_storage_size": "5Gi",
"engine_home_volume_name": "volume-name",
"engine_home_volume_storage_class": "nfs-client"
},
"engine_display_name": "sample-native-spark-new-volume",
"associated_catalogs": [
"iceberg_data",
"hive_data"
],
"type": "spark",
"origin": "native"
}{
"description": "",
"engine_details": {
"instance_id": "1716437041193635"
},
"engine_display_name": "sample-external-spark-co-located",
"origin": "discover"
}{
"description": "",
"engine_details": {
"connection_string": "https://<host>/<version>/analytics_engines/<instance_id>",
"api_key": "api_Key",
"managed_by": "fully"
},
"engine_display_name": "sample-external-spark-fully-managed",
"origin": "external"
}{
"description": "",
"engine_details": {
"connection_string": "hhttps://<host>/<version>/analytics_engines/<instance_id>",
"api_key": "zen_api_Key",
"managed_by": "self"
},
"engine_display_name": "sample-external-spark-self-managed",
"origin": "external"
}Origin - created or registered
Allowable values: [
external,discover,native]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+Example:
externalAssociated catalogs
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+Examples:[ "iceberg_data", "hive_data" ]Engine description
Possible values: 0 ≤ length ≤ 50, Value must match regular expression
.*Example:
spark engine descriptionNode details
Engine display name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[^!@#$%^&*()=+:{}<>?\\'`;]+$Example:
sampleEngineEngine status
Possible values: 1 ≤ length ≤ 25, Value must match regular expression
^[a-zA-Z0-9\-]+Example:
provisioningTags
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
.*Examples:[ "tag1", "tag2" ]Spark type. The default type is spark
Allowable values: [
spark,gluten]Possible values: 1 ≤ length ≤ 8, Value must match regular expression
^[a-zA-Z0-9_\-\/]+$Example:
spark
curl -X POST -H "content-type: application/json" -H "accept: application/json" -d '{ "description": "Spark engine", "engine_details": { "default_version": "3.5", "scale_config": { "node_type": "small", "number_of_nodes": 1 }, "engine_home_bucket_name": "wxd-bucket-u2z35rryy45rov8" }, "engine_display_name": "spark-D01", "origin": "native", "type": "spark", "associated_catalogs": [ "iceberg_data" ] }' "https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/spark_engines"curl -X POST -H "content-type: application/json" -H "accept: application/json" -d '{ "description": "", "engine_details": { "default_version": "3.3", "engine_home_volume_storage_size": "5Gi", "engine_home_volume_name": "volume-name", "engine_home_volume_storage_class": "nfs-client" }, "engine_display_name": "sample-native-spark-new-volume", "associated_catalogs": [ "iceberg_data", "hive_data" ], "type": "spark", "origin": "native" }' "https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/spark_engines"curl -X POST -H "content-type: application/json" -H "accept: application/json" -d '{ "description": "", "engine_details": { "default_version": "3.3", "engine_home_volume_storage_size": "5Gi", "engine_home_volume_name": "volume-name", "engine_home_volume_storage_class": "nfs-client" }, "engine_display_name": "sample-native-spark-new-volume", "associated_catalogs": [ "iceberg_data", "hive_data" ], "type": "gluten", "origin": "native" }' "https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/spark_engines"curl -X POST -H "content-type: application/json" -H "accept: application/json" -d '{ "description": "", "engine_details": { "instance_id": "1716437041193635" }, "engine_display_name": "sample-external-spark-co-located", "origin": "discover" }' "https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/spark_engines"curl -X POST -H "content-type: application/json" -H "accept: application/json" -d '{ "description": "", "engine_details": { "connection_string": "https://<host>/<version>/analytics_engines/<instance_id>", "api_key": "api_Key", "managed_by": "fully" }, "engine_display_name": "sample-external-spark-fully-managed", "origin": "external" }' "https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/spark_engines"curl -X POST -H "content-type: application/json" -H "accept: application/json" -d '{"description": "","engine_details": {"connection_string": "hhttps://<host>/<version>/analytics_engines/<instance_id>","api_key": "zen_api_Key","managed_by": "self"},"engine_display_name": "sample-external-spark-self-managed","origin": "external"}' "https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/spark_engines"
Response
EngineDetail
Actions
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Examples:[ "update", "delete" ]Associated catalogs
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-_]+$Examples:[ "iceberg_data", "hive_data" ]watsonx.data build version
Example:
1.0.3.0.0Created user name
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9.@<>\-]+Example:
<username>@<domain>.comCreated time in epoch format
Engine description
Possible values: 0 ≤ length ≤ 50, Value must match regular expression
^.*$Example:
spark engine for running sql queriesExternal engine details
Engine display name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
sampleEngineEngine programmatic name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
sampleEngine123Origin - created or registered
Possible values: [
external,discover,native]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
externalEngine status
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
^.*$Example:
RegisteredTags
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
^.*$Examples:[ "tag1", "tag2" ]Type like spark, netezza,..
Possible values: [
spark]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
spark
Status Code
Accepted
Error
Unauthorized
Not found
Internal server error
{ "actions": [], "associated_catalogs": [ "iceberg_data" ], "engine_id": "spark123", "origin": "native", "status": "runnung", "tags": [ "tag1", "tag2" ] }{ "actions": [], "associated_catalogs": [], "engine_id": "spark530", "origin": "discover", "status": "registered", "tags": [ "tag1", "tag2" ] }{ "actions": [], "associated_catalogs": [], "engine_id": "spark810", "origin": "external", "status": "", "tags": [ "tag1", "tag2" ] }{ "actions": [], "associated_catalogs": [], "engine_id": "spark728", "origin": "external", "status": "registered", "tags": [ "tag1", "tag2" ] }
Request
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
engine id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+$
curl -X GET -H "accept: */*" -H "AuthInstanceId: {instance_id}" "https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/spark_engines/{engine_id}"
Response
EngineDetail
Actions
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Examples:[ "update", "delete" ]Associated catalogs
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-_]+$Examples:[ "iceberg_data", "hive_data" ]watsonx.data build version
Example:
1.0.3.0.0Created user name
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9.@<>\-]+Example:
<username>@<domain>.comCreated time in epoch format
Engine description
Possible values: 0 ≤ length ≤ 50, Value must match regular expression
^.*$Example:
spark engine for running sql queriesExternal engine details
Engine display name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
sampleEngineEngine programmatic name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
sampleEngine123Origin - created or registered
Possible values: [
external,discover,native]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
externalEngine status
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
^.*$Example:
RegisteredTags
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
^.*$Examples:[ "tag1", "tag2" ]Type like spark, netezza,..
Possible values: [
spark]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
spark
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "actions": [ "view", "use", "update", "select", "access_ui", "associate", "disassociate", "restart", "pause", "resume", "grant", "revoke", "delete", "create", "scale" ], "associated_catalogs": [], "created_by": "cpadmin", "created_on": 1749365970, "description": "", "engine_details": { "default_config": { "spark.hadoop.wxd.cpg.endpoint": "https://ibm-lh-lakehouse-cpg-svc.cpd-instance.svc.cluster.local:8680" }, "default_version": "3.4", "endpoints": { "wxd_application_endpoint": "https://cpd-cpd-instance.apps.wxd-gluten-35.cp.fyre.ibm.com/lakehouse/api/v2/spark_engines/spark758/applications", "wxd_engine_endpoint": "https://cpd-cpd-instance.apps.wxd-gluten-35.cp.fyre.ibm.com/lakehouse/api/v2/spark_engines/spark758", "wxd_history_server_endpoint": "https://cpd-cpd-instance.apps.wxd-gluten-35.cp.fyre.ibm.com/lakehouse/api/v2/spark_engines/spark758/history_server", "wxd_history_server_ui_endpoint": "https://cpd-cpd-instance.apps.wxd-gluten-35.cp.fyre.ibm.com/lakehouse/api/v2/1749315427957202/spark_engines/spark758/history_server/ui" }, "engine_home_volume": "cpd-instance::test-gluten", "vscode_config": { "crn": "", "environment_type": "Software", "host": "cpd-cpd-instance.apps.wxd-gluten-35.cp.fyre.ibm.com", "user_name": "cpadmin" } }, "engine_display_name": "test-gluten-35", "engine_id": "spark758", "origin": "native", "status": "running", "tags": null, "type": "gluten" }{ "actions": [ "action1", "action2", "action3" ], "associated_catalogs": [], "created_by": "user@example.com", "created_on": 1234567890, "description": "Sample Description", "engine_details": { "history_server_endpoint": "https://console.example.com/v3/analytic_engines/abcd-efgh-ijkl-mnop/spark_history_api/v1", "spark_access_endpoint": "https://console.example.com/analytics-engine/details/spark-1234567890123456", "spark_jobs_v4_endpoint": "https://console.example.com/v4/analytics_engines/abcd-efgh-ijkl-mnop/spark_applications", "spark_kernel_endpoint": "https://console.example.com/v4/analytics_engines/abcd-efgh-ijkl-mnop/jkg/api/kernels", "view_history_server": "https://console.example.com/v3/analytic_engines/abcd-efgh-ijkl-mnop/spark_history_ui", "wxd_application_endpoint": "https://example.com/lakehouse/api/v2/abcd-efgh-ijkl-mnop/spark_engines/spark119/applications" }, "engine_display_name": "sample-external-spark-co-located", "engine_id": "spark456", "origin": "external", "status": "REGISTERED", "tags": [ "tag1", "tag2" ], "type": "spark" }{ "actions": [ "action1", "action2", "action3" ], "associated_catalogs": [], "created_by": "user@example.com", "created_on": 1234567890, "description": "Sample Description", "engine_details": { "applications_api": "https://api.example.com/v3/analytics_engines/abcd-efgh-ijkl-mnop/applications", "history_server_endpoint": "https://console.example.com/v3/analytic_engines/abcd-efgh-ijkl-mnop/spark_history_api/v1", "view_history_server": "https://console.example.com/v3/analytic_engines/abcd-efgh-ijkl-mnop/spark_history_ui", "wxd_application_endpoint": "https://example.com/lakehouse/api/v2/abcd-efgh-ijkl-mnop/spark_engines/spark119/applications" }, "engine_display_name": "sample-external-spark-fully-managed", "engine_id": "spark456", "origin": "external", "status": "REGISTERED", "tags": [ "tag1", "tag2" ], "type": "spark" }{ "actions": [ "action1", "action2", "action3" ], "associated_catalogs": [], "created_by": "user@example.com", "created_on": 1234567890, "description": "Sample Description", "engine_details": { "connection_string": "https://api.example.com/v3/analytics_engines/abcd-efgh-ijkl-mnop", "endpoints": { "history_server_endpoint": "https://console.example.com/v3/analytic_engines/abcd-efgh-ijkl-mnop/spark_history_api/v1", "spark_access_endpoint": "https://console.example.com/analytics-engine/details/spark-1234567890123456", "spark_jobs_v4_endpoint": "https://console.example.com/v4/analytics_engines/abcd-efgh-ijkl-mnop/spark_applications", "spark_kernel_endpoint": "https://console.example.com/v4/analytics_engines/abcd-efgh-ijkl-mnop/jkg/api/kernels", "view_history_server": "https://console.example.com/v3/analytic_engines/abcd-efgh-ijkl-mnop/spark_history_ui", "wxd_application_endpoint": "https://example.com/lakehouse/api/v2/abcd-efgh-ijkl-mnop/spark_engines/spark119/applications" } }, "engine_display_name": "sample-external-spark-self-managed", "engine_id": "spark456", "origin": "external", "status": "REGISTERED", "tags": [ "tag1", "tag2" ], "type": "spark" }
Request
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
engine id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+$
curl -X DELETE -H "accept: */*" -H "AuthInstanceId: {instance_id}" "https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/spark_engines/{engine_id}"
Request
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
engine id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+$
Update Engine Body
{
"engine_display_name": "Updated Display Name",
"description": "Updated Description",
"tags": [
"tag1",
"tag2"
],
"engine_details": {
"default_config": {
"config1": "value1",
"config2": "value2"
},
"default_version": "3.4",
"resource_limits": {
"cores": "No. of CPU limit",
"memory": "Amount of memory limit in GBs"
},
"resource_limit_enabled": true
}
}{
"engine_display_name": "Updated Display Name",
"description": "Updated description ",
"tags": [
"tag1"
]
}Modified description
Possible values: 0 ≤ length ≤ 50, Value must match regular expression
^.*$Example:
updated description for spark engineEngine details
- engine_details
Dynamic dict
- default_config
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
^.*$
The default spark version for the native engine
Possible values: 1 ≤ length ≤ 10, Value must match regular expression
^[a-zA-Z0-9\-\.]+Example:
4.8.3
Engine display name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^.*$Example:
sampleEngineTags
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
^.*$Examples:[ "tag1", "tag2" ]
curl -X PATCH -H "content-type: application/json" -H "accept: application/json" -d '{ "description": "Updated Description", "engine_details": { "default_config": { "config1": "value1", "config2": "value2" }, "default_version": "3.4" }, "engine_display_name": "Updated Display Name", "tags": [ "tag1", "tag2" ] }' "https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/spark_engines/{engine_id}"curl -X PATCH -H "content-type: application/json" -H "accept: application/json" -d '{ "description": "Updated description", "engine_display_name": "Updated Display Name", "tags": [ "tag1" ] }' "https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/spark_engines/{engine_id}"
Response
EngineDetail
Actions
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Examples:[ "update", "delete" ]Associated catalogs
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-_]+$Examples:[ "iceberg_data", "hive_data" ]watsonx.data build version
Example:
1.0.3.0.0Created user name
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9.@<>\-]+Example:
<username>@<domain>.comCreated time in epoch format
Engine description
Possible values: 0 ≤ length ≤ 50, Value must match regular expression
^.*$Example:
spark engine for running sql queriesExternal engine details
Engine display name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
sampleEngineEngine programmatic name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
sampleEngine123Origin - created or registered
Possible values: [
external,discover,native]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
externalEngine status
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
^.*$Example:
RegisteredTags
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
^.*$Examples:[ "tag1", "tag2" ]Type like spark, netezza,..
Possible values: [
spark]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
spark
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "actions": [ "action1", "action2", "action3" ], "associated_catalogs": [ "iceberg_data", "hudi_catalog", "delta_lake" ], "created_by": "user@example.com", "created_on": 1234567890, "description": "Sample Description", "engine_details": { "default_config": { "config1": "value1", "config2": "value2" }, "default_version": "3.3", "endpoints": { "wxd_application_endpoint": "https://example.com/lakehouse/api/v2/spark_engines/spark123/applications", "wxd_engine_endpoint": "https://example.com/lakehouse/api/v2/spark_engines/spark123", "wxd_history_server_endpoint": "https://example.com/lakehouse/api/v2/spark_engines/spark123/history_server", "wxd_history_server_ui_endpoint": "https://example.com/lakehouse/api/v2/1234567890123456/spark_engines/spark123/history_server/ui" }, "engine_home_volume": "cpd-instance::volume-name" }, "engine_display_name": "sample-narive-spark", "engine_id": "spark123", "origin": "native", "status": "running", "tags": [], "type": "spark" }{ "actions": [ "action1", "action2", "action3" ], "associated_catalogs": [], "created_by": "user@example.com", "created_on": 1234567890, "description": "Sample Description", "engine_details": { "history_server_endpoint": "https://console.example.com/v3/analytic_engines/abcd-efgh-ijkl-mnop/spark_history_api/v1", "spark_access_endpoint": "https://console.example.com/analytics-engine/details/spark-1234567890123456", "spark_jobs_v4_endpoint": "https://console.example.com/v4/analytics_engines/abcd-efgh-ijkl-mnop/spark_applications", "spark_kernel_endpoint": "https://console.example.com/v4/analytics_engines/abcd-efgh-ijkl-mnop/jkg/api/kernels", "view_history_server": "https://console.example.com/v3/analytic_engines/abcd-efgh-ijkl-mnop/spark_history_ui", "wxd_application_endpoint": "https://example.com/lakehouse/api/v2/abcd-efgh-ijkl-mnop/spark_engines/spark119/applications" }, "engine_display_name": "sample-external-spark-co-located", "engine_id": "spark456", "origin": "external", "status": "REGISTERED", "tags": [ "tag1", "tag2" ], "type": "spark" }{ "actions": [ "action1", "action2", "action3" ], "associated_catalogs": [], "created_by": "user@example.com", "created_on": 1234567890, "description": "Sample Description", "engine_details": { "applications_api": "https://api.example.com/v3/analytics_engines/abcd-efgh-ijkl-mnop/applications", "history_server_endpoint": "https://console.example.com/v3/analytic_engines/abcd-efgh-ijkl-mnop/spark_history_api/v1", "view_history_server": "https://console.example.com/v3/analytic_engines/abcd-efgh-ijkl-mnop/spark_history_ui", "wxd_application_endpoint": "https://example.com/lakehouse/api/v2/abcd-efgh-ijkl-mnop/spark_engines/spark119/applications" }, "engine_display_name": "sample-external-spark-fully-managed", "engine_id": "spark456", "origin": "external", "status": "REGISTERED", "tags": [ "tag1", "tag2" ], "type": "spark" }{ "actions": [ "action1", "action2", "action3" ], "associated_catalogs": [], "created_by": "user@example.com", "created_on": 1234567890, "description": "Sample Description", "engine_details": { "connection_string": "https://api.example.com/v3/analytics_engines/abcd-efgh-ijkl-mnop", "endpoints": { "history_server_endpoint": "https://console.example.com/v3/analytic_engines/abcd-efgh-ijkl-mnop/spark_history_api/v1", "spark_access_endpoint": "https://console.example.com/analytics-engine/details/spark-1234567890123456", "spark_jobs_v4_endpoint": "https://console.example.com/v4/analytics_engines/abcd-efgh-ijkl-mnop/spark_applications", "spark_kernel_endpoint": "https://console.example.com/v4/analytics_engines/abcd-efgh-ijkl-mnop/jkg/api/kernels", "view_history_server": "https://console.example.com/v3/analytic_engines/abcd-efgh-ijkl-mnop/spark_history_ui", "wxd_application_endpoint": "https://example.com/lakehouse/api/v2/abcd-efgh-ijkl-mnop/spark_engines/spark119/applications" } }, "engine_display_name": "sample-external-spark-self-managed", "engine_id": "spark456", "origin": "external", "status": "REGISTERED", "tags": [ "tag1", "tag2" ], "type": "spark" }
List all applications in a spark engine
List all applications in a spark engine
GET /spark_engines/{engine_id}/applicationsRequest
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
engine id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+$
Query Parameters
state
Possible values: 0 ≤ number of items ≤ 100, 1 ≤ length ≤ 128, Value must match regular expression
^.*$
curl -X GET -H "content-type: application/json" -H "AuthInstanceId: {instance_id}" "https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/spark_engines/{engine_id}/applications"
Response
Engine Application Detail
Application body
Possible values: 0 ≤ number of items ≤ 10000
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "applications": [ { "application_id": "93b1a765-e3bc-4972-acc4-5b3d1a0f5d62", "auto_termination_time": "2024-05-15T18:11:54.615Z", "id": "93b1a765-e3bc-4972-acc4-5b3d1a0f5d62", "spark_application_id": "app-20240415181154-0000", "spark_application_name": "auto-scale-test", "spark_version": "3.4", "start_time": "2024-04-15T18:11:54.615Z", "state": "running", "submission_time": "2024-04-15T18:11:21.458Z" }, { "application_id": "b2d3f4g5-h6i7-j8k9-l0m1-n2o3p4q5r6s7", "auto_termination_time": "2025-06-16T19:12:55.716Z", "id": "b2d3f4g5-h6i7-j8k9-l0m1-n2o3p4q5r6s7", "spark_application_id": "app-20250516191255-0001", "spark_application_name": "data-processing-test", "spark_version": "3.3", "start_time": "2025-05-16T19:12:55.716Z", "state": "finished", "submission_time": "2025-05-16T19:12:22.559Z" } ] }{ "applications": [ { "application_id": "abcd-efgh-5806ab96-a5ba-4488-871b-162e13f6bf90", "id": "abcd-efgh-5806ab96-a5ba-4488-871b-162e13f6bf90", "runtime": { "spark_version": "3.3" }, "state": "accepted", "submission_time": "2024-04-15T18:13:17.507Z" }, { "application_id": "abcd-efgh-0969c82b-2980-48f4-8896-800e311a4696", "auto_termination_time": "2024-03-25T15:57:06.762Z", "end_time": "2024-03-22T15:57:24.703Z", "finish_time": "2024-03-22T15:57:24.703Z", "id": "abcd-efgh-0969c82b-2980-48f4-8896-800e311a4696", "runtime": { "spark_version": "3.3" }, "spark_application_id": "app-20240322155706-0000", "spark_application_name": "PythonWordCount", "start_time": "2024-03-22T15:57:06.762Z", "state": "finished", "submission_time": "2024-03-22T15:56:41.400Z" } ] }
Request
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
engine id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+$
Query Parameters
state
Possible values: 0 ≤ number of items ≤ 100, 1 ≤ length ≤ 128, Value must match regular expression
^.*$
Create spark application parameters
{
"application_details": {
"application": "/opt/ibm/spark/examples/src/main/python/wordcount.py",
"arguments": [
"/opt/ibm/spark/examples/src/main/resources/people.txt"
]
}
}Application details
Job endpoint
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
^.+$Example:
<host>/v4/analytics_engines/c7b3fccf-badb-46b0-b1ef-9b3154424021/engine_applicationsService Instance ID for POST
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-_]+$Engine Type
Allowable values: [
iae,emr]Example:
iaeSpark application volumes to mount
Possible values: 0 ≤ number of items ≤ 100
curl -X POST -H "content-type: application/json" -H "accept: application/json" -H "AuthInstanceId: {instance_id}" -d '{ "application_details": { "application": "s3://mybucket/wordcount.py", "arguments": [ "people.txt" ], "conf": { "additionalProp1": "key:value", "additionalProp2": "key:value", "additionalProp3": "key:value" }, "env": { "additionalProp1": "key:value", "additionalProp2": "key:value", "additionalProp3": "key:value" }, "name": "SparkApplicaton1" }, "job_endpoint": "<host>/v4/analytics_engines/c7b3fccf-badb-46b0-b1ef-9b3154424021/engine_applications", "service_instance_id": "3FGeNUZqcdu6rOFbaHhGBoNdCHj98UoHd6nUFqkfsKhgacYD8ImM6iSA_F-TjHUdEZuVsoQTmOn", "type": "iae" }' "https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/spark_engines/{engine_id}/applications"
Response
Engine Application Status
Application details
Application ID
Example:
cd7cbf1f-8893-4c51-aa3d-d92729f05e99Auto Termination Time
Example:
2020-12-08T10:00:00.000ZCreation time
Example:
Saturday 28 October 2023 07:17:06.856+0000Deployment mode
Example:
stand-aloneEnd Time
Example:
2020-12-08T10:00:00.000ZFailed time
Finish time
Example:
Saturday 28 October 2023 07:17:38.966+0000Application ID
Example:
cd7cbf1f-8893-4c51-aa3d-d92729f05e99Job endpoint
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
^.+$Example:
<host>/v4/analytics_engines/c7b3fccf-badb-46b0-b1ef-9b3154424021/engine_applicationsReturn code
Example:
0application run time
Service Instance ID for POST
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-_]+$Spark application ID
Example:
app-20231028071726-0000Spark application name
Example:
PythonWordCountSpark Version
Possible values: 1 ≤ length ≤ 100, Value must match regular expression
^[a-zA-Z0-9\-\.]+Example:
3.3Start time
Example:
Saturday 28 October 2023 07:17:26.649+0000Application state
Example:
FINISHEDApplication state details
Possible values: 0 ≤ number of items ≤ 10000
Application submission time
Example:
2023-11-01T11:18:49.758ZTemplate ID
Example:
spark-3.3-jaas-v2-cp4d-templateEngine Type
Possible values: [
iae,emr]Example:
iaeSpark application volumes to mount
Possible values: 0 ≤ number of items ≤ 100
Wxd history_server endpoint
Example:
$HOST/v1/1698311655308796/engines/spark817/applications/c7b3fccf-badb-46b0-b1ef-9b3154424021/ui
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "id": "2ad2af4b-9747-4652-8e6e-d0a91599f9a2", "state": "accepted" }
Stop Spark Applications
Stop a running spark application
DELETE /spark_engines/{engine_id}/applicationsRequest
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
engine id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+$
Query Parameters
Application id(s) to be stopped, comma separated
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
^[a-zA-Z0-9\-]+$state
Possible values: 0 ≤ number of items ≤ 100, 1 ≤ length ≤ 128, Value must match regular expression
^.*$
curl -X DELETE -H "accept: */*" -H "AuthInstanceId: {instance_id}" "https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/spark_engines/{engine_id}/applications?application_id={application_id}"
Get spark application
Get status of spark application
GET /spark_engines/{engine_id}/applications/{application_id}Request
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
engine id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+$Application id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+$
curl -X GET -H "content-type: application/json" -H "AuthInstanceId: {instance_id}" "https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/spark_engines/{engine_id}/applications/{application_id}"
Response
Engine Application Status
Application details
Application ID
Example:
cd7cbf1f-8893-4c51-aa3d-d92729f05e99Auto Termination Time
Example:
2020-12-08T10:00:00.000ZCreation time
Example:
Saturday 28 October 2023 07:17:06.856+0000Deployment mode
Example:
stand-aloneEnd Time
Example:
2020-12-08T10:00:00.000ZFailed time
Finish time
Example:
Saturday 28 October 2023 07:17:38.966+0000Application ID
Example:
cd7cbf1f-8893-4c51-aa3d-d92729f05e99Job endpoint
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
^.+$Example:
<host>/v4/analytics_engines/c7b3fccf-badb-46b0-b1ef-9b3154424021/engine_applicationsReturn code
Example:
0application run time
Service Instance ID for POST
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-_]+$Spark application ID
Example:
app-20231028071726-0000Spark application name
Example:
PythonWordCountSpark Version
Possible values: 1 ≤ length ≤ 100, Value must match regular expression
^[a-zA-Z0-9\-\.]+Example:
3.3Start time
Example:
Saturday 28 October 2023 07:17:26.649+0000Application state
Example:
FINISHEDApplication state details
Possible values: 0 ≤ number of items ≤ 10000
Application submission time
Example:
2023-11-01T11:18:49.758ZTemplate ID
Example:
spark-3.3-jaas-v2-cp4d-templateEngine Type
Possible values: [
iae,emr]Example:
iaeSpark application volumes to mount
Possible values: 0 ≤ number of items ≤ 100
Wxd history_server endpoint
Example:
$HOST/v1/1698311655308796/engines/spark817/applications/c7b3fccf-badb-46b0-b1ef-9b3154424021/ui
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "application_details": { "application": "/opt/ibm/spark/examples/src/main/python/wordcount.py", "conf": { "ae.spark.executor.count": "1", "spark.app.name": "MyJob", "spark.driver.cores": "1", "spark.driver.memory": "4G", "spark.eventLog.enabled": "true", "spark.executor.cores": "1", "spark.executor.memory": "4G" }, "env": { "SAMPLE_ENV_KEY": "SAMPLE_VALUE" }, "spark_version": "3.3" }, "application_id": "ff053468-9d89-468e-a5af-bd96b88c5bf5", "auto_termination_time": "2024-05-16T06:56:51.469Z", "end_time": "2024-04-16T06:57:19.912Z", "finish_time": "2024-04-16T06:57:19.912Z", "id": "ff053468-9d89-468e-a5af-bd96b88c5bf5", "return_code": "0", "spark_application_id": "app-20240416065651-0000", "spark_application_name": "PythonWordCount", "spark_version": "3.3", "start_time": "2024-04-16T06:56:51.469Z", "state": "finished", "submission_time": "2024-04-16T06:56:22.909Z" }
Get spark engine catalogs
Get list of all catalogs attached to a spark engine
GET /spark_engines/{engine_id}/catalogsRequest
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
engine id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+$
curl -X 'GET' 'https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/spark_engines/{engine_id}/catalogs' -H 'accept: application/json' -H "AuthInstanceId: {instance id}"
Response
GetCatalogs OK
Catalogs
Possible values: 0 ≤ number of items ≤ 10000
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "catalogs": [ { "actions": [ "action1", "action2" ], "associated_buckets": [], "associated_databases": [], "associated_engines": [], "catalog_name": "iceberg_data", "sync_exception": [], "tags": [ "tag1", "tag2" ] }, { "actions": [ "action3", "action4" ], "associated_buckets": [], "associated_databases": [], "associated_engines": [], "catalog_name": "hudi", "sync_exception": [], "tags": [ "tag3", "tag4" ] }, { "actions": [ "action5", "action6" ], "associated_buckets": [], "associated_databases": [], "associated_engines": [], "catalog_name": "delta_lake", "sync_exception": [], "tags": [ "tag5", "tag6" ] } ] }
Associate catalogs to spark engine
Associate one or more catalogs to a spark engine
POST /spark_engines/{engine_id}/catalogsRequest
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
engine id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+$
Request body
{
"catalog_names": "iceberg_data, catalog02"
}catalog names
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-_,]+$
curl -X 'POST' 'https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/spark_engines/{engine_id}/catalogs' -H 'accept: application/json' -d '{ "catalog_names": "catalog_name01,catalog_name02" }' -H "AuthInstanceId: {instance_id}"
Response
Define the catalog details
list of allowed actions
Possible values: 0 ≤ number of items ≤ 1000
Examples:[ "update", "delete" ]Associated buckets items
Possible values: 0 ≤ number of items ≤ 1000
Examples:[ "bucket_1", "bucket_2" ]Associated databases items
Possible values: 0 ≤ number of items ≤ 1000
Examples:[ "database_1", "database_2" ]Associated engines items
Possible values: 0 ≤ number of items ≤ 1000
Examples:[ "engine_1", "engine_2" ]Name for the catalog
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-_]+$Example:
sampleCatalogTable type
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
icebergCreated by
Example:
<username>@<domain>.comCreated on
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
1602839833Description
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
Iceberg catalog descriptionIBM thrift uri hostname
Possible values: 0 ≤ length ≤ 2000, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
s3a://samplehost.comLast sync time
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
1602839833Managed by
Possible values: [
ibm,customer]Possible values: 0 ≤ length ≤ 100, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
ibmCatalog name
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
glueIBM thrift uri port
Example:
3232Catalog status
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
runningSync description
Possible values: 0 ≤ length ≤ 100, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
Table registration was successfulTables not sync because data is corrupted
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 1000, Value must match regular expression
^[a-zA-Z0-9\-_]+$Examples:[ "table is corrupted", "table metadata not there" ]Sync status
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
SUCCESSTags
Possible values: 0 ≤ number of items ≤ 1000
Examples:[ "tag1", "tag2" ]Customer thrift uri
Possible values: 0 ≤ length ≤ 2000, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
thrift://samplehost-catalog:4354
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "catalogs": [ { "actions": [ "action1", "action2" ], "catalog_name": "iceberg_data", "sync_exception": [], "tags": [ "tag1", "tag2" ] } ] }
Disassociate catalogs from a spark engine
Disassociate one or more catalogs from a spark engine
DELETE /spark_engines/{engine_id}/catalogsRequest
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
engine id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+$
Query Parameters
Catalog id(s) to be stopped, comma separated
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
^[a-zA-Z0-9\-_,]+$
curl -X 'DELETE' 'https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/spark_engines/{engine_id}/catalogs?catalog_names=catalog_name1' -H 'accept: */*' -H "AuthInstanceId: {instance id}"
Get spark engine catalog
Get catalog attached to spark engine
GET /spark_engines/{engine_id}/catalogs/{catalog_id}Request
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
engine id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+$catalog id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-_]+$
curl -X 'GET' 'https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/spark_engines/{engine_id}/catalogs/{catalog_id}' -H 'accept: application/json' -H "AuthInstanceId: {instance id}"
Response
Define the catalog details
list of allowed actions
Possible values: 0 ≤ number of items ≤ 1000
Examples:[ "update", "delete" ]Associated buckets items
Possible values: 0 ≤ number of items ≤ 1000
Examples:[ "bucket_1", "bucket_2" ]Associated databases items
Possible values: 0 ≤ number of items ≤ 1000
Examples:[ "database_1", "database_2" ]Associated engines items
Possible values: 0 ≤ number of items ≤ 1000
Examples:[ "engine_1", "engine_2" ]Name for the catalog
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-_]+$Example:
sampleCatalogTable type
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
icebergCreated by
Example:
<username>@<domain>.comCreated on
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
1602839833Description
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
Iceberg catalog descriptionIBM thrift uri hostname
Possible values: 0 ≤ length ≤ 2000, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
s3a://samplehost.comLast sync time
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
1602839833Managed by
Possible values: [
ibm,customer]Possible values: 0 ≤ length ≤ 100, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
ibmCatalog name
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
glueIBM thrift uri port
Example:
3232Catalog status
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
runningSync description
Possible values: 0 ≤ length ≤ 100, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
Table registration was successfulTables not sync because data is corrupted
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 1000, Value must match regular expression
^[a-zA-Z0-9\-_]+$Examples:[ "table is corrupted", "table metadata not there" ]Sync status
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
SUCCESSTags
Possible values: 0 ≤ number of items ≤ 1000
Examples:[ "tag1", "tag2" ]Customer thrift uri
Possible values: 0 ≤ length ≤ 2000, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
thrift://samplehost-catalog:4354
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "actions": [], "associated_buckets": [ "d501dc2b-05db-4d93-9aed-edf93c7bb0f6-customer" ], "associated_databases": [], "associated_engines": [ "presto459", "spark422" ], "catalog_name": "iceberg_data", "catalog_type": "iceberg", "created_by": "user@example.com", "created_on": "1713155437", "description": "icebarg_data", "hostname": "hostname", "port": "<port>", "sync_exception": [], "tags": [], "thrift_uri": "thrift://<hostname>:<port>" }
Request
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
engine id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+$
curl -X GET -H "content-type: application/json" -H "AuthInstanceId: {instance id}" "https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/spark_engines/{engine_id}/history_server"
Response
Native spark history server
History server start time
Possible values: 1 ≤ length ≤ 25, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
2022-02-24T07:37:47ZHistory server cores
Possible values: 1 ≤ length ≤ 10, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
1History server memory
Possible values: 1 ≤ length ≤ 10, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
4GHistory server start time
Possible values: 1 ≤ length ≤ 25, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
2022-02-21T07:37:47ZHistory server state
Possible values: 1 ≤ length ≤ 20, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
started
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "auto_termination_time": "2022-02-24T07:37:47Z", "cores": "1", "memory": "4G", "start_time": "2022-02-21T07:37:47Z", "state": "started" }
Request
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
engine id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+$
Start history server parameter
CPU count
Possible values: 1 ≤ length ≤ 10, Value must match regular expression
^\d+$Example:
1Memory in GiB
Possible values: 2 ≤ length ≤ 10, Value must match regular expression
^[0-9]+G$Example:
4G
curl -X POST -H "content-type: application/json" -H "AuthInstanceId: {instance id}" "https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/spark_engines/{engine_id}/history_server"
Response
Native spark history server
History server start time
Possible values: 1 ≤ length ≤ 25, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
2022-02-24T07:37:47ZHistory server cores
Possible values: 1 ≤ length ≤ 10, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
1History server memory
Possible values: 1 ≤ length ≤ 10, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
4GHistory server start time
Possible values: 1 ≤ length ≤ 25, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
2022-02-21T07:37:47ZHistory server state
Possible values: 1 ≤ length ≤ 20, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
started
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "auto_termination_time": "2022-02-24T07:37:47Z", "cores": "1", "memory": "4G", "start_time": "2022-02-21T07:37:47Z", "state": "started" }
Request
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
engine id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+$
curl -X DELETE -H "content-type: application/json" -H "AuthInstanceId: {instance id}" "https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/spark_engines/{engine_id}/history_server"
Request
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Response
List spark version
Response of success
Examples:{ "message": "Successful message", "message_code": "success" }Spark versions list
Possible values: 1 ≤ number of items ≤ 100
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "response": { "message": "list all spark versions", "message_code": "Success" }, "spark_versions": { "gluten": [ { "display_name": "3.4", "value": "3.4" } ], "spark": [ { "display_name": "3.4", "value": "3.4" }, { "display_name": "3.5", "value": "3.5" } ] } }
Request
Custom Headers
CRN
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
curl -X GET -H "content-type: application/json" -H "AuthInstanceId: {instance id}" "https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/instance_details"
Response
List all Instance Details
Engines and Services
Possible values: 0 ≤ number of items ≤ 10000
Watsonx Instance Details
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "engines_services": [ { "details": [ { "SSL_certificate": "presto-java1-ssl-certificate", "external": { "hostname": "presto-java1-external-hostname", "port": 443 }, "id": "presto-java1-id", "internal": { "hostname": "presto-java1-internal-hostname", "port": 8443 }, "name": "PrestoJava1", "version": "Java" }, { "SSL_certificate": "presto-java2-ssl-certificate", "external": { "hostname": "presto-java2-external-hostname", "port": 443 }, "id": "presto-java2-id", "internal": { "hostname": "presto-java2-internal-hostname", "port": 8443 }, "name": "PrestoJava2", "version": "Java" }, { "SSL_certificate": "presto-cpp1-ssl-certificate", "external": { "hostname": "presto-cpp1-external-hostname", "port": 443 }, "id": "presto-cpp1-id", "internal": { "hostname": "presto-cpp1-internal-hostname", "port": 8443 }, "name": "PrestoCpp1", "version": "C++" }, { "SSL_certificate": "presto-cpp2-ssl-certificate", "external": { "hostname": "presto-cpp2-external-hostname", "port": 443 }, "id": "presto-cpp2-id", "internal": { "hostname": "presto-cpp2-internal-hostname", "port": 8443 }, "name": "PrestoCpp2", "version": "C++" } ], "type": "Presto" }, { "details": [ { "SSL_certificate": "spark1-ssl-certificate", "default_configs": { "config1": "value1", "config2": "value2" }, "id": "spark1-id", "name": "Spark1", "port": 443, "spark_engine_endpoint": "spark1-engine-endpoint", "watsonx_data_application_endpoint": "spark1-watsonx-data-app-endpoint" }, { "SSL_certificate": "spark2-ssl-certificate", "default_configs": { "config1": "value1", "config2": "value2" }, "id": "spark2-id", "name": "Spark2", "port": 443, "spark_engine_endpoint": "spark2-engine-endpoint", "watsonx_data_application_endpoint": "spark2-watsonx-data-app-endpoint" } ], "type": "Spark" }, { "details": [ { "SSL_certificate": "milvus1-ssl-certificate", "grpc-api-endpoint": { "hostname": "milvus1-grpc-hostname", "port": 19530 }, "id": "milvus1-id", "name": "Milvus1", "rest-api-endpoint": { "hostname": "milvus1-rest-hostname", "port": 443 } }, { "SSL_certificate": "milvus2-ssl-certificate", "grpc-api-endpoint": { "hostname": "milvus2-grpc-hostname", "port": 19530 }, "id": "milvus2-id", "name": "Milvus2", "rest-api-endpoint": { "hostname": "milvus2-rest-hostname", "port": 443 } } ], "type": "Milvus" }, { "details": [ { "SSL_certificate": "cas-ssl-certificate", "hostname": "cas-hostname", "id": "cas-id", "port": 443 } ], "type": "Content_Awareness_Storage" }, { "details": [ { "SSL_certificate": "cpg-ssl-certificate", "hostname": "cpg-hostname", "id": "cpg-id", "port": 443 } ], "type": "Common_Policy_Gateway" } ], "Watsonx_data_instance": { "hostname": "your-instance-hostname", "instance_CRN": "your-instance-crn", "instance_ID": "your-instance-id", "port": 1234, "ssl_certificate": "your-ssl-certificate" } }
Get engines and services detail
Get engines and services detail
GET /instance_details/engines_services
Request
Custom Headers
watsonx.data instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Query Parameters
Target type (e.g., 'cpd', 'generic')
Possible values: 1 ≤ length ≤ 100, Value must match regular expression
^[a-zA-Z0-9\-]+$Internal host
Default:
false
Get services details
Get services details for a given engine or service type.
GET /instance_details/engines_services/{engine_or_service_type}Request
Custom Headers
watsonx.data instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
Type of engine or service (e.g., 'milvus', 'presto')
Possible values: 1 ≤ length ≤ 100, Value must match regular expression
^[a-zA-Z0-9\-]+$
Query Parameters
Target type (e.g., 'cpd', 'generic')
Possible values: 1 ≤ length ≤ 100, Value must match regular expression
^[a-zA-Z0-9\-]+$Internal host
Default:
false
Get Milvus service detail
Get Milvus service detail
GET /instance_details/engines_services/{engine_or_service_type}/id/{id}Request
Custom Headers
CRN
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
Type of engine or service (e.g., 'milvus', 'presto')
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+$Service ID
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+$
Query Parameters
Target type (e.g., 'cpd', 'generic')
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+$Database name in milvus
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
^[a-zA-Z0-9\-]+$Internal host
Default:
false
Response
Get Milvus Service Detail for target type = cpd
The name of the connection, typically engine_id or service_id
Example:
presto-01Watsonx Instance Details
Service connection properties
Type of the service
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^.*$Example:
presto
Status Code
Success
Error
Unauthorized
Forbidden
Not found
Internal server error
No Sample Response
Get catalog properties by catalog_id
Get catalog properties of a catalog identified by catalog_id
GET /catalogs/{catalog_id}Request
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
catalog ID
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-_]+$
curl -X 'GET' 'https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/catalogs/{catalog_id}' -H 'accept: application/json' -H 'AuthInstanceId: {instance_id}'
Response
Define the catalog details
list of allowed actions
Possible values: 0 ≤ number of items ≤ 1000
Examples:[ "update", "delete" ]Associated buckets items
Possible values: 0 ≤ number of items ≤ 1000
Examples:[ "bucket_1", "bucket_2" ]Associated databases items
Possible values: 0 ≤ number of items ≤ 1000
Examples:[ "database_1", "database_2" ]Associated engines items
Possible values: 0 ≤ number of items ≤ 1000
Examples:[ "engine_1", "engine_2" ]Name for the catalog
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-_]+$Example:
sampleCatalogTable type
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
icebergCreated by
Example:
<username>@<domain>.comCreated on
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
1602839833Description
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
Iceberg catalog descriptionIBM thrift uri hostname
Possible values: 0 ≤ length ≤ 2000, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
s3a://samplehost.comLast sync time
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
1602839833Managed by
Possible values: [
ibm,customer]Possible values: 0 ≤ length ≤ 100, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
ibmCatalog name
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
glueIBM thrift uri port
Example:
3232Catalog status
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
runningSync description
Possible values: 0 ≤ length ≤ 100, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
Table registration was successfulTables not sync because data is corrupted
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 1000, Value must match regular expression
^[a-zA-Z0-9\-_]+$Examples:[ "table is corrupted", "table metadata not there" ]Sync status
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
SUCCESSTags
Possible values: 0 ≤ number of items ≤ 1000
Examples:[ "tag1", "tag2" ]Customer thrift uri
Possible values: 0 ≤ length ≤ 2000, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
thrift://samplehost-catalog:4354
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "actions": [ "view", "update", "delete" ], "associated_buckets": [ "ibm_cos_bucket" ], "associated_databases": [ "iceberg_data" ], "associated_engines": [ "presto367" ], "catalog_name": "iceberg_data", "catalog_type": "iceberg", "created_by": "user@domain.com", "created_on": "1700633239", "description": "catalog description", "hostname": "1234-xyz456-abc4321.lakehouse.dev.appdomain.cloud", "port": "31504", "sync_exception": [ "table is corrupted", "table metadata not there" ], "tags": [ "tag1", "tag2" ], "thrift_uri": "thrift://samplehost-catalog:4354" }
Request
Custom Headers
watsonx.data instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
catalog ID
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-_]+$
Query Parameters
Skip MDS call when Unity catalog is added
Default:
false
curl -X 'DELETE' 'https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/catalogs/{catalog_id}' -H 'accept: application/json' -H 'AuthInstanceId: {Instance ID}'
Request
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
Catalog name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-_]+$
Query Parameters
Engine name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$
curl -X 'GET' 'https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/catalogs/{catalog_id}/schemas?engine_id={engine_id}' -H 'accept: application/json' -H 'AuthInstanceId: {instance_id}'
Response
GetSchemas OK
Response of success
Examples:{ "message": "Successful message", "message_code": "success" }Schemas
Possible values: 0 ≤ number of items ≤ 10000
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "response": { "message": "create schema", "message_code": "success" }, "schemas": [ "schema1", "schema2" ] }
Request
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
Catalog name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-_]+$
Query Parameters
Engine name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$
Request body
Path associated with bucket
Possible values: 0 ≤ length ≤ 2000, Value must match regular expression
^.*$Example:
sample-pathSchema name
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
^.*$Example:
SampleSchema1Bucket associated to metastore where schema will be added
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-_]+$Example:
sample-bucket
curl -X 'POST' 'https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/catalogs/{catalog_id}/schemas?engine_id={engine_id}' -H 'accept: application/json' -H 'AuthInstanceId: {instance_id}' -H 'Content-Type: application/json' -d '{ "bucket_name": "sample-bucket", "custom_path": "sample-path", "schema_name": "SampleSchema1" }'
Request
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
Catalog name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-_]+$URL encoded Schema name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^.*$
Query Parameters
Engine name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$
curl -X 'DELETE' 'https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/catalogs/{catalog_id}/schemas/{schema_id}?engine_id={engine_id}' -H 'accept: */*' -H 'AuthInstanceId: {instance_id}'
List all tables
List all tables in a schema in a catalog for a given engine
GET /catalogs/{catalog_id}/schemas/{schema_id}/tablesRequest
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
catalog id
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$URL encoded schema name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-%]+$
Query Parameters
engine id
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$
curl -X 'GET' 'https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/catalogs/{catalog_id}/schemas/{schema_id}/tables?engine_id={engine_id}' -H 'accept: application/json' -H 'AuthInstanceId: {instance_id}'
Response
tables list
List of the tables present in the schema
Possible values: 0 ≤ number of items ≤ 1000000, 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "tables": [ "customer_data", "user_data" ] }
Get table details
Get details of a given table in a catalog and schema
GET /catalogs/{catalog_id}/schemas/{schema_id}/tables/{table_id}Request
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
catalog id
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-_]+$URL encoded schema name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^.*$URL encoded table name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^.*$
Query Parameters
engine id
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$
curl -X 'GET' 'https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/catalogs/{catalog_id}/schemas/{schema_id}/tables/{table_id}?engine_id={engine_id}' -H 'accept: application/json' -H 'AuthInstanceId: {instance_id}'
Response
GetColumns OK
Columns
Possible values: 0 ≤ number of items ≤ 1000000
Table name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "columns": [ { "column_name": "expenses", "comment": "", "extra": "", "precision": "1234567890", "type": "varchar" }, { "column_name": "amount", "comment": "", "extra": "", "scale": "10", "precision": "1234567890", "type": "integer" } ], "table_name": "newtable" }
Delete table
Delete table for a given schema and catalog
DELETE /catalogs/{catalog_id}/schemas/{schema_id}/tables/{table_id}Request
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
catalog id
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-_]+$URL encoded schema name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^.*$URL encoded table name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^.*$
Query Parameters
engine id
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$
curl -X 'DELETE' 'https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/catalogs/{catalog_id}/schemas/{schema_id}/tables/{table_id}?engine_id={engine_id}' -H 'accept: */*' -H 'AuthInstanceId: {instance_id}'
Request
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
catalog id
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-_]+$URL encoded schema name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^.*$URL encoded table name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^.*$
Query Parameters
engine id
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$
Request body
New table name
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
^.*$Example:
updated_table_name
curl -X 'PATCH' 'https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/catalogs/{catalog_id}/schemas/{schema_id}/tables/{table_id}?engine_id={engine_id}' -H 'accept: application/json' -H 'AuthInstanceId: {instance_id}' -H 'Content-Type: application/merge-patch+json' -d '{ "table_name": "updated_table_name", }'
Response
GetColumns OK
Columns
Possible values: 0 ≤ number of items ≤ 1000000
Table name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "columns": [ { "column_name": "expenses", "comment": "", "extra": "", "precision": "1234567890", "type": "varchar" }, { "column_name": "amount", "comment": "", "extra": "", "scale": "10", "precision": "1234567890", "type": "integer" } ], "table_name": "newtable" }
List all columns of a table
List all columns of a table in a given a schema for a given catalog
GET /catalogs/{catalog_id}/schemas/{schema_id}/tables/{table_id}/columnsRequest
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
catalog id
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$URL encoded schema name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-%]+$URL encoded schema name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-%]+$
Query Parameters
engine id
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$
curl -X 'GET' 'https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/catalogs/{catalog_id}/schemas/{schema_id}/tables/{table_id}/columns?engine_id={engine_id}' -H 'accept: application/json' -H 'AuthInstanceId: {instance_id}'
Response
list of columns in a table
List of the columns present in the table
Possible values: 0 ≤ number of items ≤ 1000000
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "columns": [ { "column_name": "expenses", "comment": "expenses", "extra": "", "precision": "1234567890", "type": "varchar" }, { "column_name": "amount", "comment": "amount", "extra": "", "scale": "10", "type": "integer" } ] }
Add column(s)
Add one or multiple columns to a table in a schema for a given catalog
POST /catalogs/{catalog_id}/schemas/{schema_id}/tables/{table_id}/columnsRequest
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
catalog id
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$URL encoded schema name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-%]+$URL encoded schema name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-%]+$
Query Parameters
engine id
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$
Request body
{
"columns": [
{
"column_name": "expenses",
"type": "varchar"
}
]
}List of the tables present in the schema
Possible values: 0 ≤ number of items ≤ 1000000
curl -X 'POST' 'https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/catalogs/{catalog_id}/schemas/{schema_id}/tables/{table_id}/columns?engine_id={engine_id}' -H 'accept: application/json' -H 'AuthInstanceId: {instance_id}' -H 'Content-Type: application/json' -d '{ "bucket_name": "sample-bucket", "custom_path": "sample-path", "schema_name": "SampleSchema1" }'
Response
list of columns in a table
List of the columns present in the table
Possible values: 0 ≤ number of items ≤ 1000000
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "columns": [ { "column_name": "expenses", "comment": "expenses", "extra": "", "precision": "1234567890", "type": "varchar" }, { "column_name": "amount", "comment": "amount", "extra": "", "scale": "10", "type": "integer" } ] }
Delete column
Delete column in a table for a given schema and catalog
DELETE /catalogs/{catalog_id}/schemas/{schema_id}/tables/{table_id}/columns/{column_id}Request
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
catalog id
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$URL encoded schema name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-%]+$URL encoded schema name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-%]+$URL encoded schema name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-%]+$
Query Parameters
engine id
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$
curl -X 'DELETE' 'https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/catalogs/{catalog_id}/schemas/{schema_id}/tables/{table_id}?engine_id={engine_id}' -H 'accept: */*' -H 'AuthInstanceId: {instance_id}'
Alter column
Update the given column - rename column
PATCH /catalogs/{catalog_id}/schemas/{schema_id}/tables/{table_id}/columns/{column_id}Request
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
catalog id
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$URL encoded schema name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-%]+$URL encoded schema name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-%]+$URL encoded schema name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-%]+$
Query Parameters
engine id
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$
Request body
{
"column_name": "expenses"
}Column name
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
^.*$Example:
expenses
curl -X 'PATCH' 'https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/catalogs/{catalog_id}/schemas/{schema_id}/tables/{table_id}?engine_id={engine_id}' -H 'accept: application/json' -H 'AuthInstanceId: {instance_id}' -H 'Content-Type: application/merge-patch+json' -d '{ "column_name": "updated_column_name", }'
Response
Column
Column name
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
^.*$Example:
expensesComment
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
^.*$Example:
expenses columnExtra
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
^.*$Example:
varcharlength
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
^.*$Example:
30scale
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
^.*$Example:
2precision
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
^.*$Example:
10Data type
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
varchar
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "column_name": "expenses,", "comment": "expenses column", "extra": "varchar,", "precision": "1234567890", "type": "varchar," }
Get table snapshots
List all table snapshots
GET /catalogs/{catalog_id}/schemas/{schema_id}/tables/{table_id}/snapshotsRequest
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
Catalog ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-_]+$Schema ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^.*$Table ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^.*$
Query Parameters
Engine name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$
curl -X 'GET' 'https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/catalogs/{catalog_id}/schemas/{schema_id}/tables/{table_id}/snapshots?engine_id={engine_id}' -H 'accept: application/json' -H 'AuthInstanceId: {instance_id}'
Rollback table to snapshot
Rollback table to a snapshot
POST /catalogs/{catalog_id}/schemas/{schema_id}/tables/{table_id}/rollbackRequest
Custom Headers
CRN
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
Catalog ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Schema ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^.*$Table ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^.*$
Query Parameters
Engine name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$
Request body
Snapshot Id
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$
curl -X 'POST' 'https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/catalogs/{catalog_id}/schemas/{schema_id}/tables/{table_id}/rollback?engine_id={engine_id}' -H 'accept: application/json' -H "Content-Type: application/json" -d '{ "snapshot_id": "snapshot_id", }' -H 'AuthInstanceId: {instance_id}'
External Iceberg table registration
Synchronize the external Iceberg table registration for a catalog identified by catalog_id.
PATCH /catalogs/{catalog_id}/syncRequest
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
catalog ID
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
^[a-zA-Z0-9\-_]+$
Request body
Auto add new table
Example:
trueSync iceberg metadata
Example:
true
curl -X 'PATCH' 'https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/catalogs/{catalog_id}/sync' -H 'accept: application/json' -H 'AuthInstanceId: {instance_id}' -H 'Content-Type: application/merge-patch+json' -d '{ "auto_add_new_tables": true, "sync_iceberg_md": true }'
Request
Custom Headers
watsonx.data instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
curl -X GET -H "accept: application/json" -H "AuthInstanceId: {instance_id}" "https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/sal_integrations"
Response
Sal Integration object
category UUID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
10e64285-bf37-4d5d-b759-bc6a46589234engine id
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
presto-01errors
Possible values: 0 ≤ number of items ≤ 10000
governance scope UUID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
10e64285-bf37-4d5d-b759-bc6a46589234governance scope type
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-_]+$Example:
categoryinstance_id
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
18b49d7a-9519-4539-8db5-ff080623c226status of the integration
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
provisioningCOS resource CRN
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
crn:v1:staging:public:cloud-object-storage:global:a/04e9bc47612523rr19ac22759cb69bebd:asd23df-6ada-45ff-bfe8-4343222COS storage type
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
bmcos_object_storagesal integration creation timestamp
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-_]+$Example:
1715056266whether the integration is trial plan
user name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
xyz@abc.com
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "category_id": "10e64285-bf37-4d5d-b759-bc6a46589234", "engine_id": "presto-01", "governance_scope_id": "10e64285-bf37-4d5d-b759-bc6a46589234", "governance_scope_type": "category", "instance_id": "18b49d7a-9519-4539-8db5-ff080623c226", "status": "active", "storage_resource_crn": "crn:v1:staging:public:cloud-object-storage:global:a/04e9bc47612523rr19ac22759cb69bebd:asd23df-6ada-45ff-bfe8-4343222", "storage_type": "bmcos_object_storage", "timestamp": "1715056266", "trial_plan": false, "username": "xyz@abc.com" }
Request
Custom Headers
watsonx.data instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Request body
IAM apikey
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
12efd3raqengine ID
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
presto-01COS storage resource crn
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
crn:v1:staging:public:cloud-object-storage:global:a/a7026b374f39f570d20984c1ac6ecf63:5778e94f-c8c7-46a8-9878-d5eeadb51161COS storage type
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
bmcos_object_storageCOS storage type
Example:
true
curl -X POST -H "accept: application/json" -H "AuthInstanceId: {instance_id}" -H "Content-Type: application/json" "https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/bucket_registrations" -d '{ "bucket_display_name": "sample_bucket", "bucket_type": "ibm_cos", "description": "", "managed_by": "customer", "region": "us-south", "bucket_details": { "bucket_name": "hive-test-cos", "endpoint": "https://s3.us-west.cloud-object-storage.test.appdomain.cloud", "access_key": "cfgr14cfgtffegfdew34556", "secret_key": "12345dsadcvfbddsadfgfvcxasdf" }, "associated_catalog": { "catalog_name": "sample_catalog", "catalog_type": "iceberg" } }'
Response
Sal Integration object
category UUID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
10e64285-bf37-4d5d-b759-bc6a46589234engine id
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
presto-01errors
Possible values: 0 ≤ number of items ≤ 10000
governance scope UUID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
10e64285-bf37-4d5d-b759-bc6a46589234governance scope type
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-_]+$Example:
categoryinstance_id
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
18b49d7a-9519-4539-8db5-ff080623c226status of the integration
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
provisioningCOS resource CRN
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
crn:v1:staging:public:cloud-object-storage:global:a/04e9bc47612523rr19ac22759cb69bebd:asd23df-6ada-45ff-bfe8-4343222COS storage type
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
bmcos_object_storagesal integration creation timestamp
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-_]+$Example:
1715056266whether the integration is trial plan
user name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
xyz@abc.com
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "category_id": "10e64285-bf37-4d5d-b759-bc6a46589234", "engine_id": "presto-01", "governance_scope_id": "10e64285-bf37-4d5d-b759-bc6a46589234", "governance_scope_type": "category", "instance_id": "18b49d7a-9519-4539-8db5-ff080623c226", "status": "active", "storage_resource_crn": "crn:v1:staging:public:cloud-object-storage:global:a/04e9bc47612523rr19ac22759cb69bebd:asd23df-6ada-45ff-bfe8-4343222", "storage_type": "bmcos_object_storage", "timestamp": "1715056266", "trial_plan": false, "username": "xyz@abc.com" }
Request
Custom Headers
watsonx.data instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Request body
op
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
addpath
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
storagepath
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
new-apikey
curl -X PATCH -H "accept: application/json" -H "AuthInstanceId: {instance_id}" "https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/sal_integrations" -d '{ "apikey": "{apikey}" }'
Response
Sal Integration object
category UUID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
10e64285-bf37-4d5d-b759-bc6a46589234engine id
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
presto-01errors
Possible values: 0 ≤ number of items ≤ 10000
governance scope UUID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
10e64285-bf37-4d5d-b759-bc6a46589234governance scope type
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-_]+$Example:
categoryinstance_id
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
18b49d7a-9519-4539-8db5-ff080623c226status of the integration
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
provisioningCOS resource CRN
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
crn:v1:staging:public:cloud-object-storage:global:a/04e9bc47612523rr19ac22759cb69bebd:asd23df-6ada-45ff-bfe8-4343222COS storage type
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
bmcos_object_storagesal integration creation timestamp
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-_]+$Example:
1715056266whether the integration is trial plan
user name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
xyz@abc.com
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "category_id": "10e64285-bf37-4d5d-b759-bc6a46589234", "engine_id": "presto-01", "governance_scope_id": "10e64285-bf37-4d5d-b759-bc6a46589234", "governance_scope_type": "category", "instance_id": "18b49d7a-9519-4539-8db5-ff080623c226", "status": "active", "storage_resource_crn": "crn:v1:staging:public:cloud-object-storage:global:a/04e9bc47612523rr19ac22759cb69bebd:asd23df-6ada-45ff-bfe8-4343222", "storage_type": "bmcos_object_storage", "timestamp": "1715056266", "trial_plan": false, "username": "xyz@abc.com" }
Trigger enrichment jobs on schemas and tables
Trigger enrichment jobs on schemas and tables
POST /sal_integrations/enrichment
Request
Custom Headers
watsonx.data instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Request body
{
"enrichment_prototype": {
"catalog": "iceberg_data",
"operation": "create",
"schema": "schema1",
"tables": [
"table1",
"table2",
"table3"
]
}
}Encrichment api object
Examples:{ "catalog": "iceberg_data", "operation": "create", "schema": "schema1", "tables": [ "table1", "table2", "table3" ] }
curl -X POST -H "accept: application/json" "https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/sal_integrations/enrichment" -d '{ "changes": [{ "catalog": "iceberg_data", "operation": "create", "schema": "schema1", "tables": [ "string" ] }] }'
Get semantic enrichment assets associated with the schema
Get semantic enrichment job runs associated with the schema
GET /sal_integrations/enrichment_assets
Request
Custom Headers
watsonx.data instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Query Parameters
enrichment project id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+$
curl -X GET -H "accept: application/json" -H "AuthInstanceId: {instance_id}" "https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/sal_integrations/enrichment_assets"
Response
sal integration enrichment assets
Encrichment asset
Examples:{ "asset_attributes": [ "attribute1", "attribute2", "attribute3" ], "asset_id": "ee0383b9-dcab-4c1a-b03d-bf521837b6ed", "asset_name": "newtable", "resource_key": "0000:0000:0000:0000:0000:FFFF:9EB0:04E2|31134|:/iceberg_data/new_schema/sampletable", "schema_name": "sampleschema" }
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "enrichment_asset": { "asset_attributes": [ "attribute1", "attribute2", "attribute3" ], "asset_id": "ee0383b9-dcab-4c1a-b03d-bf521837b6ed", "asset_name": "newtable", "resource_key": "0000:0000:0000:0000:0000:FFFF:9EB0:04E2|31134|:/iceberg_data/new_schema/sampletable", "schema_name": "sampleschema" } }
Get semantic enrichment data asset associated with the table
Get semantic enrichment data asset associated with the table
GET /sal_integrations/enrichment_data_asset
Request
Custom Headers
watsonx.data instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Query Parameters
enrichment project id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+$enrichment data asset id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+$
curl -X GET -H "accept: application/json" -H "AuthInstanceId: {instance_id}" "https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/sal_integrations/enrichment_data_asset"
Get semantic enrichment job run logs associated with the job run
Get semantic enrichment job run logs associated with the job run
GET /sal_integrations/enrichment_job_run_logs
Request
Custom Headers
watsonx.data instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Query Parameters
enrichment job id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+$enrichment job run id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+$enrichment project id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+$
curl -X GET -H "accept: application/json" -H "AuthInstanceId: {instance_id}" "https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/sal_integrations/enrichment_job_run_logs"
Get semantic enrichment job runs associated with the schema
Get semantic enrichment job runs associated with the schema
GET /sal_integrations/enrichment_job_runs
Request
Custom Headers
watsonx.data instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Query Parameters
enrichment job id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+$enrichment project id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+$
curl -X GET -H "accept: application/json" -H "AuthInstanceId: {instance_id}" "https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/sal_integrations/enrichment_job_runs"
Get semantic enrichment jobs associated with the schema
Get semantic enrichment jobs associated with the schema
GET /sal_integrations/enrichment_jobs
Request
Custom Headers
watsonx.data instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Query Parameters
ikc project id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+$
curl -X GET -H "accept: application/json" -H "AuthInstanceId: {instance_id}" "https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/sal_integrations/enrichment_jobs"
Response
Sal Integration Mappings object
catalog name
Examples:{ "results": [ { "entity": { "job": { "asset_ref": "8688a3b6-a946-499e-a93c-b7d099db80dd", "asset_ref_type": "metadata_enrichment_area", "configuration": { "env_type": "", "env_variables": [] }, "enable_notifications": false, "future_scheduled_runs": [], "last_run_initiator": "deprecated field", "last_run_status": "deprecated field", "last_run_status_timestamp": 0, "last_run_time": "deprecated field", "project_name": "SAL Mapping /iceberg_data/new_schema 9aae5be3-87cf-4c31-b17d-9256ab42c14e", "schedule_creator_id": "", "schedule_id": "", "schedule_info": {}, "task_credentials_support": { "account_id": "04e9bc4761254b719ac22759cb69bebd", "task_credentials_enabled": true, "user_id": "IBMid-55000832RK" } } }, "metadata": { "asset_id": "ea73ce44-8aa0-4c75-bd69-6ca7074a1030", "name": "SAL_MDE job", "owner_id": "IBMid-55000832RK", "version": 0 } } ], "total_rows": 1 }
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "jobs": { "results": [ { "entity": { "job": { "asset_ref": "8688a3b6-a946-499e-a93c-b7d099db80dd", "asset_ref_type": "metadata_enrichment_area", "configuration": { "env_type": "", "env_variables": [] }, "enable_notifications": false, "future_scheduled_runs": [], "last_run_initiator": "deprecated field", "last_run_status": "deprecated field", "last_run_status_timestamp": 0, "last_run_time": "deprecated field", "project_name": "SAL Mapping /iceberg_data/new_schema 9aae5be3-87cf-4c31-b17d-9256ab42c14e", "schedule_creator_id": "", "schedule_id": "", "schedule_info": {}, "task_credentials_support": { "account_id": "04e9bc4761254b719ac22759cb69bebd", "task_credentials_enabled": true, "user_id": "IBMid-55000832RK" } } }, "metadata": { "asset_id": "ea73ce44-8aa0-4c75-bd69-6ca7074a1030", "name": "SAL_MDE job", "owner_id": "IBMid-55000832RK", "version": 0 } } ], "total_rows": 1 } }
Get list of uploaded glossary terms
Get list of uploaded glossary terms
GET /sal_integrations/glossary_terms
Get wkc catalog and project mapped to the schema
Get wkc catalog and project mapped to the schema
GET /sal_integrations/mappings
Request
Custom Headers
watsonx.data instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Query Parameters
catalog name
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+$schema name
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+$
curl -X GET -H "accept: application/json" -H "AuthInstanceId: {instance_id}" "https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/sal_integrations/mappings?catalog_name={catalog_name}&schema_name={schema_name}"
Response
Sal Integration Mappings object
catalog name
Example:
iceberg_dataoperation type
Example:
create
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "wkc_catalog_id": "18b49d7a-9519-4539-8db5-ff080623c226", "wkc_project_id": "9519bd7a-9519-8db5-4539-ff080623c226" }
Get metadata enrichment global settings
Get metadata enrichment global settings
GET /sal_integrations/metadata_enrichment_global_settings
Request
Custom Headers
watsonx.data instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
curl -X GET -H "accept: application/json" -H "AuthInstanceId: {instance_id}" "https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/sal_integrations/metadata_enrichment_global_settings"
Response
Sal Integration Enrichment Settings objects
semantic expansion
Examples:{ "description_generation": true, "description_generation_configuration": { "assignment_threshold": 0.14, "suggestion_threshold": 0.9 }, "name_expansion": true, "name_expansion_configuration": { "assignment_threshold": 0.1, "suggestion_threshold": 0.1 } }semantic expansion
Examples:{ "class_based_assignments": false, "evaluate_negative_assignments": false, "llm_based_assignments": false, "ml_based_assignments_custom": false, "ml_based_assignments_default": false, "name_matching": false, "term_assignment_threshold": 0.3, "term_suggestion_threshold": 0.4 }
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "semantic_expansion": { "description_generation": true, "description_generation_configuration": { "assignment_threshold": 0.14, "suggestion_threshold": 0.9 }, "name_expansion": true, "name_expansion_configuration": { "assignment_threshold": 0.1, "suggestion_threshold": 0.1 } }, "term_assignment": { "class_based_assignments": false, "evaluate_negative_assignments": false, "llm_based_assignments": false, "ml_based_assignments_custom": false, "ml_based_assignments_default": false, "name_matching": false, "term_assignment_threshold": 0.3, "term_suggestion_threshold": 0.4 } }
Add metadata enrichment global settings
Add metadata enrichment global settings
POST /sal_integrations/metadata_enrichment_global_settings
Request
Custom Headers
watsonx.data instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Request body
{
"semantic_expansion": {
"description_generation": true,
"description_generation_configuration": {
"assignment_threshold": 0.14,
"suggestion_threshold": 0.9
},
"name_expansion": true,
"name_expansion_configuration": {
"assignment_threshold": 0.1,
"suggestion_threshold": 0.1
}
},
"term_assignment": {
"class_based_assignments": false,
"evaluate_negative_assignments": false,
"llm_based_assignments": false,
"ml_based_assignments_custom": false,
"ml_based_assignments_default": false,
"name_matching": false,
"term_assignment_threshold": 0.3,
"term_suggestion_threshold": 0.4
}
}semantic expansion
Examples:{ "description_generation": true, "description_generation_configuration": { "assignment_threshold": 0.14, "suggestion_threshold": 0.9 }, "name_expansion": true, "name_expansion_configuration": { "assignment_threshold": 0.1, "suggestion_threshold": 0.1 } }semantic expansion
Examples:{ "class_based_assignments": false, "evaluate_negative_assignments": false, "llm_based_assignments": false, "ml_based_assignments_custom": false, "ml_based_assignments_default": false, "name_matching": false, "term_assignment_threshold": 0.3, "term_suggestion_threshold": 0.4 }
curl -X POST -H "accept: application/json" -H "Content-Type: application/json" -H "AuthInstanceId: {instance_id}" "https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/sal_integrations/metadata_enrichment_global_settings" -d '{ "semantic_expansion": { "description_generation": true, "description_generation_configuration": { "assignment_threshold": 0.14, "suggestion_threshold": 0.9 }, "name_expansion": true, "name_expansion_configuration": { "assignment_threshold": 0.1, "suggestion_threshold": 0.1 } }, "term_assignment": { "class_based_assignments": false, "evaluate_negative_assignments": false, "llm_based_assignments": false, "ml_based_assignments_custom": false, "ml_based_assignments_default": false, "name_matching": false, "term_assignment_threshold": 0.3, "term_suggestion_threshold": 0.4 } }'
Response
Sal Integration Enrichment Settings objects
semantic expansion
Examples:{ "description_generation": true, "description_generation_configuration": { "assignment_threshold": 0.14, "suggestion_threshold": 0.9 }, "name_expansion": true, "name_expansion_configuration": { "assignment_threshold": 0.1, "suggestion_threshold": 0.1 } }semantic expansion
Examples:{ "class_based_assignments": false, "evaluate_negative_assignments": false, "llm_based_assignments": false, "ml_based_assignments_custom": false, "ml_based_assignments_default": false, "name_matching": false, "term_assignment_threshold": 0.3, "term_suggestion_threshold": 0.4 }
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "semantic_expansion": { "description_generation": true, "description_generation_configuration": { "assignment_threshold": 0.14, "suggestion_threshold": 0.9 }, "name_expansion": true, "name_expansion_configuration": { "assignment_threshold": 0.1, "suggestion_threshold": 0.1 } }, "term_assignment": { "class_based_assignments": false, "evaluate_negative_assignments": false, "llm_based_assignments": false, "ml_based_assignments_custom": false, "ml_based_assignments_default": false, "name_matching": false, "term_assignment_threshold": 0.3, "term_suggestion_threshold": 0.4 } }
get metadata enrichment settings for a project
get metadata enrichment settings for a project
GET /sal_integrations/metadata_enrichment_settings
Request
Custom Headers
watsonx.data instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Query Parameters
wkc project id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+$
curl -X GET -H "accept: application/json" -H "AuthInstanceId: {instance_id}" "https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/sal_integrations/metadata_enrichment_settings"
Response
Sal Integration Enrichment Settings objects
semantic expansion
Examples:{ "description_generation": true, "description_generation_configuration": { "assignment_threshold": 0.14, "suggestion_threshold": 0.9 }, "name_expansion": true, "name_expansion_configuration": { "assignment_threshold": 0.1, "suggestion_threshold": 0.1 } }semantic expansion
Examples:{ "class_based_assignments": false, "evaluate_negative_assignments": false, "llm_based_assignments": false, "ml_based_assignments_custom": false, "ml_based_assignments_default": false, "name_matching": false, "term_assignment_threshold": 0.3, "term_suggestion_threshold": 0.4 }
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "semantic_expansion": { "description_generation": true, "description_generation_configuration": { "assignment_threshold": 0.14, "suggestion_threshold": 0.9 }, "name_expansion": true, "name_expansion_configuration": { "assignment_threshold": 0.1, "suggestion_threshold": 0.1 } }, "term_assignment": { "class_based_assignments": false, "evaluate_negative_assignments": false, "llm_based_assignments": false, "ml_based_assignments_custom": false, "ml_based_assignments_default": false, "name_matching": false, "term_assignment_threshold": 0.3, "term_suggestion_threshold": 0.4 } }
Add metadata enrichment settings for a project
Add metadata enrichment settings for a project
POST /sal_integrations/metadata_enrichment_settings
Request
Custom Headers
watsonx.data instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Query Parameters
wkc project id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+$
Request body
{
"semantic_expansion": {
"description_generation": true,
"description_generation_configuration": {
"assignment_threshold": 0.14,
"suggestion_threshold": 0.9
},
"name_expansion": true,
"name_expansion_configuration": {
"assignment_threshold": 0.1,
"suggestion_threshold": 0.1
}
},
"term_assignment": {
"class_based_assignments": false,
"evaluate_negative_assignments": false,
"llm_based_assignments": false,
"ml_based_assignments_custom": false,
"ml_based_assignments_default": false,
"name_matching": false,
"term_assignment_threshold": 0.3,
"term_suggestion_threshold": 0.4
}
}semantic expansion
Examples:{ "description_generation": true, "description_generation_configuration": { "assignment_threshold": 0.14, "suggestion_threshold": 0.9 }, "name_expansion": true, "name_expansion_configuration": { "assignment_threshold": 0.1, "suggestion_threshold": 0.1 } }semantic expansion
Examples:{ "class_based_assignments": false, "evaluate_negative_assignments": false, "llm_based_assignments": false, "ml_based_assignments_custom": false, "ml_based_assignments_default": false, "name_matching": false, "term_assignment_threshold": 0.3, "term_suggestion_threshold": 0.4 }
curl -X POST -H "accept: application/json" -H "AuthInstanceId: {instance_id}" "https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/sal_integrations/metadata_enrichment_settings" -d '{ "semantic_expansion": { "description_generation": true, "description_generation_configuration": { "assignment_threshold": 0.14, "suggestion_threshold": 0.9 }, "name_expansion": true, "name_expansion_configuration": { "assignment_threshold": 0.1, "suggestion_threshold": 0.1 } }, "term_assignment": { "class_based_assignments": false, "evaluate_negative_assignments": false, "llm_based_assignments": false, "ml_based_assignments_custom": false, "ml_based_assignments_default": false, "name_matching": false, "term_assignment_threshold": 0.3, "term_suggestion_threshold": 0.4 } }'
Upload semantic enrichment business terms glossary
Upload semantic enrichment business terms glossary
POST /sal_integrations/upload_glossary
Request
Custom Headers
watsonx.data instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Form Parameters
glossary upload replace option
Allowable values: [
all,specified,empty]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-_]+$Glossary CSV file
Possible values: 1 ≤ length ≤ 104857600
curl -X POST -H "accept: application/json" -H "AuthInstanceId: {instance_id}" -H 'Content-Type: multipart/form-data' -F 'glossary_csv=@{glossary_file_name}.csv;type=text/csv' -F 'replace_option=all' "https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/sal_integrations/upload_glossary"
Get status of upload glossary job
Get status of upload glossary job
GET /sal_integrations/upload_glossary_status
Request
Custom Headers
watsonx.data instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Query Parameters
upload process id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+$
curl -X GET -H "accept: application/json" -H "AuthInstanceId: {instance_id}" "https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/sal_integrations/upload_glossary_status"
Request
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
curl -X GET -H "content-type: application/json" -H "AuthInstanceId: {instance id}" https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/milvus_services"
Response
List milvus services
milvus service body
Possible values: 0 ≤ number of items ≤ 10000
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "milvus_services": [ { "actions": [ "update", "delete" ], "bucket_name": "wxd-milvus", "created_by": "username@domain.com", "created_on": 1700201877, "description": "description", "grpc_host": "<formation_id>.<kubernetes_cluster>.databases.appdomain.cloud", "grpc_port": 443, "https_host": "<formation_id>.<kubernetes_cluster>.databases.appdomain.cloud", "https_port": 443, "origin": "native", "service_display_name": "test-milvus", "service_id": "milvus76", "status": "running", "status_code": 0, "tags": [], "tshirt_size": "Starter", "type": "milvus" } ] }
Request
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Create milvus service
Origin - place holder
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
nativeService description
Possible values: 0 ≤ length ≤ 50, Value must match regular expression
^.*$Example:
milvus service for running sql queriesService display name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
sampleServiceTags
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
^.*$Examples:[ "tag1", "tag2" ]
curl -X 'POST' 'https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/milvus_services' -H 'accept: application/json' -H "AuthInstanceId: {instance id}" -H 'Content-Type: application/json' -d '{ "bucket_name": "Sample bucket name", "bucket_type": "Sample bucket type", "description": "milvus service for running sql queries", "origin": "native", "root_path": "Sample path", "service_display_name": "sampleService", "tags": [ "tag1", "tag2" ], "tshirt_size": "small", }'
Response
milvus service details
milvus status code
Actions
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Examples:[ "update", "delete" ]Created user name
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9.@<>\-]+Example:
<username>@<domain>.comCreated time in epoch format
Service description
Possible values: 0 ≤ length ≤ 50, Value must match regular expression
^.*$Example:
milvus service for running sql queriesmilvus grpc_host
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9.@<>\-]+Example:
example.grpc.hostmilvus port
milvus display name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9.@<>\-]+Example:
sampleMilvusmilvus https_host
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9.@<>\-]+Example:
example.https.hostmilvus port
Origin - place holder
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
nativeService display name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
sampleServiceService programmatic name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
sampleService123milvus status
Possible values: [
running,pending,stopped]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
runningTags
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
^.*$Examples:[ "tag1", "tag2" ]service type
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
milvus
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "actions": [ "update", "delete" ], "bucket_name": "wxd-milvus", "created_by": "username@domain.com", "created_on": 1700201877, "description": "description", "grpc_host": "<formation_id>.<kubernetes_cluster>.databases.appdomain.cloud", "grpc_port": 443, "https_host": "<formation_id>.<kubernetes_cluster>.databases.appdomain.cloud", "https_port": 443, "origin": "native", "service_display_name": "test-milvus", "service_id": "milvus76", "status": "running", "status_code": 0, "tags": [], "tshirt_size": "Starter", "type": "milvus" }
Request
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
service id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+$
curl -X 'GET' 'https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/milvus_services/{service_id}' -H 'accept: application/json' -H "AuthInstanceId: {instance id}"
Response
milvus service details
milvus status code
Actions
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Examples:[ "update", "delete" ]Created user name
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9.@<>\-]+Example:
<username>@<domain>.comCreated time in epoch format
Service description
Possible values: 0 ≤ length ≤ 50, Value must match regular expression
^.*$Example:
milvus service for running sql queriesmilvus grpc_host
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9.@<>\-]+Example:
example.grpc.hostmilvus port
milvus display name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9.@<>\-]+Example:
sampleMilvusmilvus https_host
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9.@<>\-]+Example:
example.https.hostmilvus port
Origin - place holder
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
nativeService display name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
sampleServiceService programmatic name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
sampleService123milvus status
Possible values: [
running,pending,stopped]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
runningTags
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
^.*$Examples:[ "tag1", "tag2" ]service type
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
milvus
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "actions": [ "update", "delete" ], "bucket_name": "wxd-milvus", "created_by": "username@domain.com", "created_on": 1700201877, "description": "description", "grpc_host": "<formation_id>.<kubernetes_cluster>.databases.appdomain.cloud", "grpc_port": 443, "https_host": "<formation_id>.<kubernetes_cluster>.databases.appdomain.cloud", "https_port": 443, "origin": "native", "service_display_name": "test-milvus", "service_id": "milvus76", "status": "running", "status_code": 0, "tags": [], "tshirt_size": "Starter", "type": "milvus" }
Request
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
service id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+$
curl -X 'DELETE' 'https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/milvus_services/{service_id}' -H 'accept: application/json' -H "AuthInstanceId: {instance id}"
Request
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
service id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+$
Update milvus service
Modified description
Possible values: 0 ≤ length ≤ 50, Value must match regular expression
^.*$Example:
updated description for milvus serviceService display name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
sampleServiceTags
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
^.*$Examples:[ "tag1", "tag2" ]
curl -X 'PATCH' 'https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/milvus_services/{service_id}' -H 'accept: application/json' -H 'Content-Type: application/merge-patch+json' -H "AuthInstanceId: {instance id}" -d '{ "description": "updated description for milvus service", "engine_display_name": "sampleService", "tags": [ "tag1", "tag2" ]}'
Response
milvus service details
milvus status code
Actions
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Examples:[ "update", "delete" ]Created user name
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9.@<>\-]+Example:
<username>@<domain>.comCreated time in epoch format
Service description
Possible values: 0 ≤ length ≤ 50, Value must match regular expression
^.*$Example:
milvus service for running sql queriesmilvus grpc_host
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9.@<>\-]+Example:
example.grpc.hostmilvus port
milvus display name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9.@<>\-]+Example:
sampleMilvusmilvus https_host
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9.@<>\-]+Example:
example.https.hostmilvus port
Origin - place holder
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
nativeService display name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
sampleServiceService programmatic name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
sampleService123milvus status
Possible values: [
running,pending,stopped]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
runningTags
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
^.*$Examples:[ "tag1", "tag2" ]service type
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
milvus
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "actions": [ "update", "delete" ], "bucket_name": "wxd-milvus", "created_by": "username@domain.com", "created_on": 1700201877, "description": "description", "grpc_host": "<formation_id>.<kubernetes_cluster>.databases.appdomain.cloud", "grpc_port": 443, "https_host": "<formation_id>.<kubernetes_cluster>.databases.appdomain.cloud", "https_port": 443, "origin": "native", "service_display_name": "test-milvus", "service_id": "milvus76", "status": "running", "status_code": 0, "tags": [], "tshirt_size": "Starter", "type": "milvus" }
Get CPG and DAS endpoints
Get Common policy gateway (CPG) and Data Access Service(DAS) endpoints
GET /endpoints
Request
Custom Headers
CRN
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Response
List endpoints
List of the endpoints CPG and DAS
Possible values: 0 ≤ number of items ≤ 20
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "endpoints": [ { "external_host": "https://cpg-svc.your-hostname.apps.your-domain.com", "service_type": "cpg" }, { "external_host": "https://cas-svc.your-hostname.apps.your-domain.com", "service_type": "cas" } ] }
Request
Custom Headers
watsonx.data instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Query Parameters
Page number of requested ingestion jobs.
Possible values: 1 ≤ length ≤ 512, Value must match regular expression
^[0-9]*$Default:
1Number of requested ingestion jobs.
Possible values: 1 ≤ value ≤ 100
Default:
1
curl -X GET -H 'accept: application/json' -H 'AuthInstanceId: {instance_id}' 'https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/ingestion_jobs'
Response
List ingestion jobs
Ingestion jobs
Possible values: 0 ≤ number of items ≤ 10000
A page in a pagination collection.
A page in a pagination collection.
Status Code
Success
Error
Unauthorized
Not found
Internal Server Error
{ "ingestion_jobs": [ { "create_if_not_exist": false, "csv_property": { "encoding": "utf-8", "escape_character": "|", "field_delimiter": ",", "header": true, "line_delimiter": "\n" }, "details": "Path does not exist 'demobucket/data/yellow_tripdata_2022-01.parquet'. Detail: [errno 2] No such file or directory", "end_timestamp": "1685088775", "engine_id": "spark123", "engine_name": "sparkdemo", "execute_config": { "driver_cores": 1, "driver_memory": "2G", "executor_cores": 1, "executor_memory": "2G", "num_executors": 1 }, "instance_id": "1684432229673971", "job_id": "ingestion-1699459946935", "partition_by": "col1, col2", "schema": "[{\"type\":\"int\",\"field_id\":0,\"header_name\":\"c1\"},{\"type\":\"string\",\"field_id\":1,\"header_name\":\"c2\"}]", "source_data_files": "s3://demobucket/data/yellow_tripdata_2022-01.parquet", "source_file_type": "csv", "start_timestamp": "1685084455", "status": "running", "target_table": "demodb.test.targettable", "username": "ibmlhadmin", "valdiate_csv_header": false }, { "create_if_not_exist": false, "csv_property": { "encoding": "utf-8", "escape_character": "|", "field_delimiter": ",", "header": true, "line_delimiter": "\n" }, "details": "Path does not exist 'demobucket/data/yellow_tripdata_2022-01.parquet'. Detail: [errno 2] No such file or directory", "end_timestamp": "1685088798", "engine_id": "spark123", "engine_name": "sparkdemo", "execute_config": { "driver_cores": 1, "driver_memory": "2G", "executor_cores": 1, "executor_memory": "2G", "num_executors": 1 }, "instance_id": "1684432229673972", "job_id": "ingestion-1699459946936", "partition_by": "col1, col2", "schema": "[{\"type\":\"int\",\"field_id\":0,\"header_name\":\"c1\"},{\"type\":\"string\",\"field_id\":1,\"header_name\":\"c2\"}]", "source_data_files": "s3://demobucket/data/yellow_tripdata_2022-01.parquet", "source_file_type": "csv", "start_timestamp": "1685084467", "status": "finished", "target_table": "demodb.test.targettable", "username": "ibmlhadmin", "validate_csv_header": false } ] }{ "errors": [ { "code": "bad_request", "message": "string", "more_info": "string" } ], "exception": "string", "message": "string", "message_code": "string", "more_info": "string", "status_code": 0, "trace": "cd05b1fc-bc10-4ba6-9a9f-b73c503dbd77" }{ "errors": [ { "code": "bad_request", "message": "string", "more_info": "string" } ], "exception": "string", "message": "string", "message_code": "string", "more_info": "string", "status_code": 0, "trace": "cd05b1fc-bc10-4ba6-9a9f-b73c503dbd77" }{ "errors": [ { "code": "bad_request", "message": "string", "more_info": "string" } ], "exception": "string", "message": "string", "message_code": "string", "more_info": "string", "status_code": 0, "trace": "cd05b1fc-bc10-4ba6-9a9f-b73c503dbd77" }{ "errors": [ { "code": "bad_request", "message": "string", "more_info": "string" } ], "exception": "string", "message": "string", "message_code": "string", "more_info": "string", "status_code": 0, "trace": "cd05b1fc-bc10-4ba6-9a9f-b73c503dbd77" }
Request
Custom Headers
watsonx.data instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Request body for submitting ingestion job
Job ID of the job
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-_\.]+$Example:
ingestion-1699459946935Comma separated source file or directory path
Possible values: 1 ≤ length ≤ 2048, Value must match regular expression
^.*$Example:
s3://demobucket/data/yellow_tripdata_2022-01.parquetTarget table name in format catalog.schema.table
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
^.*$Example:
demodb.test.targettableUser submitting ingestion job
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
^.*$Example:
user1Create new target table (if True); Insert into pre-existing target table (if False)
Default:
falseIngestion CSV properties
ID of the spark engine to be used for ingestion
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
spark123Ingestion engine configuration
Partition by expression of the target table
Possible values: 0 ≤ length ≤ 4096, Value must match regular expression
^.*$Example:
col1, col2Schema definition of the source table
Possible values: 0 ≤ length ≤ 4096, Value must match regular expression
^.*$Example:
[{"type":"int","field_id":0,"header_name":"c1"},{"type":"string","field_id":1,"header_name":"c2"}]Source file types (parquet or csv or json)
Allowable values: [
csv,parquet,json]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z]+Default:
csvExample:
csvValidate CSV header if the target table exist.
Default:
false
curl -X POST -H "accept: application/json" -H "AuthInstanceId: {instance_id}" -H "Content-Type: application/json" -d '{ "target_table": "demodb.test.targettable", "engine_id": "spark123", "execute_config": { "driver_memory": "2G", "driver_cores": 1, "executor_memory": "2G", "executor_cores": 1, "num_executors": 1 }, "source_data_files": "s3://demobucket/data/yellow_tripdata_2022-01.parquet", "source_file_type": "csv", "create_if_not_exist": false, "schema": "[{"type":"int","field_id":0,"header_name":"c1"},{"type":"string","field_id":1,"header_name":"c2"}]", "csv_property": { "field_delimiter": ",", "line_delimiter": " ", "escape_character": " ", "header": true, "encoding": "utf-8" }, "job_id": "ingestion-1699459946935", "username": "user1", }' "https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/ingestion_jobs"
Response
Ingestion job
Create new target table (if True); Insert into pre-existing target table (if False)
Ingestion CSV properties
Error messages of failed ingestion job
Possible values: 0 ≤ length ≤ 7500, Value must match regular expression
^.*$Example:
Path does not exist 'demobucket/data/yellow_tripdata_2022-01.parquet'. Detail: [errno 2] No such file or directoryUnix timestamp of ingestion job completing
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
^[0-9]+Example:
1685088775ID of the spark engine to be used for ingestion
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
spark123Name of the spark engine to be used for ingestion
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
sparkdemoIngestion engine configuration
Instance ID of the lakehouse where ingestion job is executed
Possible values: 0 ≤ length ≤ 2048, Value must match regular expression
^.*$Example:
1684432229673971Job ID of the ingestion job
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-_\.]+$Example:
ingestion-1699459946935partition by expression of the target table
Possible values: 0 ≤ length ≤ 4096, Value must match regular expression
^.*$Example:
col1, col2Schema definition of the source table
Possible values: 0 ≤ length ≤ 4096, Value must match regular expression
^.*$Example:
[{"type":"int","field_id":0,"header_name":"c1"},{"type":"string","field_id":1,"header_name":"c2"}]Source data location of the ingestion job
Possible values: 0 ≤ length ≤ 2048, Value must match regular expression
^.*$Example:
s3://demobucket/data/yellow_tripdata_2022-01.parquetSource file types (parquet or csv)
Possible values: [
csv,parquet]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z]+Example:
csvUnix timestamp of ingestion job starting
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
^[0-9]+Example:
1685084455Current state of ingestion job
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
runningTarget table name in format catalog.schema.table
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
^.*$Example:
demodb.test.targettableIngestion job user
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
^.*$Example:
ibmlhadminValidate CSV header if the target table exist.
Status Code
Accepted
Error
Unauthorized
Not found
Internal Server Error
{ "create_if_not_exist": false, "csv_property": { "encoding": "utf-8", "escape_character": "|", "field_delimiter": ",", "header": true, "line_delimiter": "\n" }, "details": "Path does not exist 'demobucket/data/yellow_tripdata_2022-01.parquet'. Detail: [errno 2] No such file or directory", "end_timestamp": "1685088775", "engine_id": "spark123", "engine_name": "sparkdemo", "execute_config": { "driver_cores": 1, "driver_memory": "2G", "executor_cores": 1, "executor_memory": "2G", "num_executors": 1 }, "instance_id": "1684432229673971", "job_id": "ingestion-1699459946935", "partition_by": "col1, col2", "schema": "[{\"type\":\"int\",\"field_id\":0,\"header_name\":\"c1\"},{\"type\":\"string\",\"field_id\":1,\"header_name\":\"c2\"}]", "source_data_files": "s3://demobucket/data/yellow_tripdata_2022-01.parquet", "source_file_type": "csv", "start_timestamp": "1685084455", "status": "running", "target_table": "demodb.test.targettable", "username": "ibmlhadmin", "valdiate_csv_header": false }{ "errors": [ { "code": "bad_request", "message": "string", "more_info": "string" } ], "exception": "string", "message": "string", "message_code": "string", "more_info": "string", "status_code": 0, "trace": "cd05b1fc-bc10-4ba6-9a9f-b73c503dbd77" }{ "errors": [ { "code": "bad_request", "message": "string", "more_info": "string" } ], "exception": "string", "message": "string", "message_code": "string", "more_info": "string", "status_code": 0, "trace": "cd05b1fc-bc10-4ba6-9a9f-b73c503dbd77" }{ "errors": [ { "code": "bad_request", "message": "string", "more_info": "string" } ], "exception": "string", "message": "string", "message_code": "string", "more_info": "string", "status_code": 0, "trace": "cd05b1fc-bc10-4ba6-9a9f-b73c503dbd77" }{ "errors": [ { "code": "bad_request", "message": "string", "more_info": "string" } ], "exception": "string", "message": "string", "message_code": "string", "more_info": "string", "status_code": 0, "trace": "cd05b1fc-bc10-4ba6-9a9f-b73c503dbd77" }
Create an ingestion job for user local files
Create an ingestion job for user local files
POST /ingestion_jobs_local_files
Request
Custom Headers
watsonx.data instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Form Parameters
The user local file submitted for ingestion
Possible values: 0 ≤ length ≤ 524288000
Target table name in format catalog.schema.table
Possible values: 5 ≤ length ≤ 256, Value must match regular expression
^.*$Job ID of the job
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\\-_\\.]+$User submitting ingestion job
Possible values: 1 ≤ length ≤ 256, Value must match regular expression
^.*$File format of source file
Allowable values: [
csv,parquet,json]Possible values: 0 ≤ length ≤ 7, Value must match regular expression
^[a-zA-Z]+Ingestion CSV properties (base64 encoding of a stringifed json).
Possible values: 0 ≤ length ≤ 256, Value must match regular expression
^.*$Create new target table (if true); Insert into pre-existing target table (if false)
Default:
falseValidate CSV header if the target table exist.
Default:
falseIngestion engine configuration (base64 encoding of a stringifed json).
Possible values: 0 ≤ length ≤ 256, Value must match regular expression
^.*$ID of the spark engine to be used for ingestion.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\\-]+$
curl -X POST -H "accept: application/json" -H "AuthInstanceId: {instance_id}" -H "Content-Type: multipart/form-data" -F target_table=demodb.test.table -F create_if_not_exist=true -F job_id=ingestion-1699459946935 -F username=user1 -F source_data_file=@data.csv -F source_file_type=csv -F csv_property=eyJmaWVsZF9kZWxpbWl0ZXIiOiIsIiwibGluZV9kZWxpbWl0ZXIiOiJcbiIsImVzY2FwZV9jaGFyYWN0ZXIiOiJcXCIsImhlYWRlciI6dHJ1ZSwiZW5jb2RpbmciOiJVVEYtOCJ9 "https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/ingestion_jobs_local_files"
Response
Ingestion job
Create new target table (if True); Insert into pre-existing target table (if False)
Ingestion CSV properties
Error messages of failed ingestion job
Possible values: 0 ≤ length ≤ 7500, Value must match regular expression
^.*$Example:
Path does not exist 'demobucket/data/yellow_tripdata_2022-01.parquet'. Detail: [errno 2] No such file or directoryUnix timestamp of ingestion job completing
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
^[0-9]+Example:
1685088775ID of the spark engine to be used for ingestion
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
spark123Name of the spark engine to be used for ingestion
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
sparkdemoIngestion engine configuration
Instance ID of the lakehouse where ingestion job is executed
Possible values: 0 ≤ length ≤ 2048, Value must match regular expression
^.*$Example:
1684432229673971Job ID of the ingestion job
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-_\.]+$Example:
ingestion-1699459946935partition by expression of the target table
Possible values: 0 ≤ length ≤ 4096, Value must match regular expression
^.*$Example:
col1, col2Schema definition of the source table
Possible values: 0 ≤ length ≤ 4096, Value must match regular expression
^.*$Example:
[{"type":"int","field_id":0,"header_name":"c1"},{"type":"string","field_id":1,"header_name":"c2"}]Source data location of the ingestion job
Possible values: 0 ≤ length ≤ 2048, Value must match regular expression
^.*$Example:
s3://demobucket/data/yellow_tripdata_2022-01.parquetSource file types (parquet or csv)
Possible values: [
csv,parquet]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z]+Example:
csvUnix timestamp of ingestion job starting
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
^[0-9]+Example:
1685084455Current state of ingestion job
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
runningTarget table name in format catalog.schema.table
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
^.*$Example:
demodb.test.targettableIngestion job user
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
^.*$Example:
ibmlhadminValidate CSV header if the target table exist.
Status Code
Accepted
Error
Unauthorized
Not found
Internal Server Error
{ "create_if_not_exist": false, "csv_property": { "encoding": "utf-8", "escape_character": "|", "field_delimiter": ",", "header": true, "line_delimiter": "\n" }, "details": "Path does not exist 'demobucket/data/yellow_tripdata_2022-01.parquet'. Detail: [errno 2] No such file or directory", "end_timestamp": "1685088775", "engine_id": "spark123", "engine_name": "sparkdemo", "execute_config": { "driver_cores": 1, "driver_memory": "2G", "executor_cores": 1, "executor_memory": "2G", "num_executors": 1 }, "instance_id": "1684432229673971", "job_id": "ingestion-1699459946935", "partition_by": "col1, col2", "schema": "[{\"type\":\"int\",\"field_id\":0,\"header_name\":\"c1\"},{\"type\":\"string\",\"field_id\":1,\"header_name\":\"c2\"}]", "source_data_files": "s3://demobucket/data/yellow_tripdata_2022-01.parquet", "source_file_type": "csv", "start_timestamp": "1685084455", "status": "running", "target_table": "demodb.test.targettable", "username": "ibmlhadmin", "valdiate_csv_header": false }{ "errors": [ { "code": "bad_request", "message": "string", "more_info": "string" } ], "exception": "string", "message": "string", "message_code": "string", "more_info": "string", "status_code": 0, "trace": "cd05b1fc-bc10-4ba6-9a9f-b73c503dbd77" }{ "errors": [ { "code": "bad_request", "message": "string", "more_info": "string" } ], "exception": "string", "message": "string", "message_code": "string", "more_info": "string", "status_code": 0, "trace": "cd05b1fc-bc10-4ba6-9a9f-b73c503dbd77" }{ "errors": [ { "code": "bad_request", "message": "string", "more_info": "string" } ], "exception": "string", "message": "string", "message_code": "string", "more_info": "string", "status_code": 0, "trace": "cd05b1fc-bc10-4ba6-9a9f-b73c503dbd77" }{ "errors": [ { "code": "bad_request", "message": "string", "more_info": "string" } ], "exception": "string", "message": "string", "message_code": "string", "more_info": "string", "status_code": 0, "trace": "cd05b1fc-bc10-4ba6-9a9f-b73c503dbd77" }
Request
Custom Headers
watsonx.data instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
ingestion job id
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-_\.]+$
curl -X GET -H "accept: application/json" -H "AuthInstanceId: {instance_id}" "https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/ingestion_jobs/{job_id}"
Response
Ingestion job
Create new target table (if True); Insert into pre-existing target table (if False)
Ingestion CSV properties
Error messages of failed ingestion job
Possible values: 0 ≤ length ≤ 7500, Value must match regular expression
^.*$Example:
Path does not exist 'demobucket/data/yellow_tripdata_2022-01.parquet'. Detail: [errno 2] No such file or directoryUnix timestamp of ingestion job completing
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
^[0-9]+Example:
1685088775ID of the spark engine to be used for ingestion
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
spark123Name of the spark engine to be used for ingestion
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
sparkdemoIngestion engine configuration
Instance ID of the lakehouse where ingestion job is executed
Possible values: 0 ≤ length ≤ 2048, Value must match regular expression
^.*$Example:
1684432229673971Job ID of the ingestion job
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-_\.]+$Example:
ingestion-1699459946935partition by expression of the target table
Possible values: 0 ≤ length ≤ 4096, Value must match regular expression
^.*$Example:
col1, col2Schema definition of the source table
Possible values: 0 ≤ length ≤ 4096, Value must match regular expression
^.*$Example:
[{"type":"int","field_id":0,"header_name":"c1"},{"type":"string","field_id":1,"header_name":"c2"}]Source data location of the ingestion job
Possible values: 0 ≤ length ≤ 2048, Value must match regular expression
^.*$Example:
s3://demobucket/data/yellow_tripdata_2022-01.parquetSource file types (parquet or csv)
Possible values: [
csv,parquet]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z]+Example:
csvUnix timestamp of ingestion job starting
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
^[0-9]+Example:
1685084455Current state of ingestion job
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Example:
runningTarget table name in format catalog.schema.table
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
^.*$Example:
demodb.test.targettableIngestion job user
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
^.*$Example:
ibmlhadminValidate CSV header if the target table exist.
Status Code
Success
Error
Unauthorized
Not found
Internal Server Error
{ "create_if_not_exist": false, "csv_property": { "encoding": "utf-8", "escape_character": "|", "field_delimiter": ",", "header": true, "line_delimiter": "\n" }, "details": "Path does not exist 'demobucket/data/yellow_tripdata_2022-01.parquet'. Detail: [errno 2] No such file or directory", "end_timestamp": "1685088775", "engine_id": "spark123", "engine_name": "sparkdemo", "execute_config": { "driver_cores": 1, "driver_memory": "2G", "executor_cores": 1, "executor_memory": "2G", "num_executors": 1 }, "instance_id": "1684432229673971", "job_id": "ingestion-1699459946935", "partition_by": "col1, col2", "schema": "[{\"type\":\"int\",\"field_id\":0,\"header_name\":\"c1\"},{\"type\":\"string\",\"field_id\":1,\"header_name\":\"c2\"}]", "source_data_files": "s3://demobucket/data/yellow_tripdata_2022-01.parquet", "source_file_type": "csv", "start_timestamp": "1685084455", "status": "running", "target_table": "demodb.test.targettable", "username": "ibmlhadmin", "valdiate_csv_header": false }{ "errors": [ { "code": "bad_request", "message": "string", "more_info": "string" } ], "exception": "string", "message": "string", "message_code": "string", "more_info": "string", "status_code": 0, "trace": "cd05b1fc-bc10-4ba6-9a9f-b73c503dbd77" }{ "errors": [ { "code": "bad_request", "message": "string", "more_info": "string" } ], "exception": "string", "message": "string", "message_code": "string", "more_info": "string", "status_code": 0, "trace": "cd05b1fc-bc10-4ba6-9a9f-b73c503dbd77" }{ "errors": [ { "code": "bad_request", "message": "string", "more_info": "string" } ], "exception": "string", "message": "string", "message_code": "string", "more_info": "string", "status_code": 0, "trace": "cd05b1fc-bc10-4ba6-9a9f-b73c503dbd77" }{ "errors": [ { "code": "bad_request", "message": "string", "more_info": "string" } ], "exception": "string", "message": "string", "message_code": "string", "more_info": "string", "status_code": 0, "trace": "cd05b1fc-bc10-4ba6-9a9f-b73c503dbd77" }
Request
Custom Headers
watsonx.data instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
ingestion job id
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-_\.]+$
curl -X DELETE -H "accept: application/json" -H "AuthInstanceId: {instance_id}" -H "Content-Type: application/json" "https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/ingestion_jobs"
Response
Status Code
No Content
Error
Unauthorized
Not found
Internal Server Error
{ "errors": [ { "code": "bad_request", "message": "string", "more_info": "string" } ], "exception": "string", "message": "string", "message_code": "string", "more_info": "string", "status_code": 0, "trace": "cd05b1fc-bc10-4ba6-9a9f-b73c503dbd77" }{ "errors": [ { "code": "bad_request", "message": "string", "more_info": "string" } ], "exception": "string", "message": "string", "message_code": "string", "more_info": "string", "status_code": 0, "trace": "cd05b1fc-bc10-4ba6-9a9f-b73c503dbd77" }{ "errors": [ { "code": "bad_request", "message": "string", "more_info": "string" } ], "exception": "string", "message": "string", "message_code": "string", "more_info": "string", "status_code": 0, "trace": "cd05b1fc-bc10-4ba6-9a9f-b73c503dbd77" }{ "errors": [ { "code": "bad_request", "message": "string", "more_info": "string" } ], "exception": "string", "message": "string", "message_code": "string", "more_info": "string", "status_code": 0, "trace": "cd05b1fc-bc10-4ba6-9a9f-b73c503dbd77" }
Generate a preview of source file(s)
Generate a preview of source file(s)
POST /preview_ingestion_file
Request
Custom Headers
watsonx.data instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Request body for previewing ingestion source file(s)
Comma separated source file or directory path
Possible values: 1 ≤ length ≤ 2048, Value must match regular expression
^.*$Example:
s3://demobucket/data/yellow_tripdata_2022-01.parquetCSV properties of source file(s)
File format of source file(s)
Allowable values: [
csv,parquet,json]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z]+Default:
csvExample:
csv
curl -X POST -H "accept: application/json" -H "AuthInstanceId: {instance_id}" -H "Content-Type: application/json" -d '{ "source_data_files": "s3://demobucket/data/yellow_tripdata_2022-01.parquet", "source_file_type": "csv", "csv_property": { "field_delimiter": ",", "line_delimiter": " ", "escape_character": " ", "header": true, "encoding": "utf-8" }, }' "https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/preview_ingestion_file"
Response
Schema of the data in the source file
Array of column names of the table
Possible values: 0 ≤ number of items ≤ 200, 0 ≤ length ≤ 1024, Value must match regular expression
^.*$Examples:[ "col1", "col2", "col3" ]Array of column types of the table
Possible values: 0 ≤ number of items ≤ 1000, 0 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$Examples:[ "int", "string", "float" ]Name of the file being previewed
Possible values: 0 ≤ length ≤ 2048, Value must match regular expression
^.*$Example:
s3://demobucket/data/yellow_tripdata_2022-01.parquetFirst 10 rows of the table
Examples:{ "rows": { "row_eight": [ "8", "Jane Doe", "63.00" ], "row_five": [ "5", "Jane Doe", "57.00" ], "row_four": [ "4", "Jane Doe", "55.00" ], "row_nine": [ "9", "Jane Doe", "65.00" ], "row_one": [ "1", "Jane Doe", "49.00" ], "row_seven": [ "7", "Jane Doe", "61.00" ], "row_six": [ "6", "Jane Doe", "59.00" ], "row_ten": [ "10", "Jane Doe", "67.00" ], "row_three": [ "3", "Jane Doe", "53.00" ], "row_two": [ "2", "Jane Doe", "51.00" ] } }
Status Code
Success
Error
Unauthorized
Not found
Internal Server Error
{ "column_names": [ "col1", "col2", "col3" ], "column_types": [ "int", "string", "float" ], "file_name": "s3://demobucket/data/yellow_tripdata_2022-01.parquet", "rows": { "row_eight": [ "8", "Jane Doe", "63.00" ], "row_five": [ "5", "Jane Doe", "57.00" ], "row_four": [ "4", "Jane Doe", "55.00" ], "row_nine": [ "9", "Jane Doe", "65.00" ], "row_one": [ "1", "Jane Doe", "49.00" ], "row_seven": [ "7", "Jane Doe", "61.00" ], "row_six": [ "6", "Jane Doe", "59.00" ], "row_ten": [ "10", "Jane Doe", "67.00" ], "row_three": [ "3", "Jane Doe", "53.00" ], "row_two": [ "2", "Jane Doe", "51.00" ] } }{ "errors": [ { "code": "bad_request", "message": "string", "more_info": "string" } ], "exception": "string", "message": "string", "message_code": "string", "more_info": "string", "status_code": 0, "trace": "cd05b1fc-bc10-4ba6-9a9f-b73c503dbd77" }{ "errors": [ { "code": "bad_request", "message": "string", "more_info": "string" } ], "exception": "string", "message": "string", "message_code": "string", "more_info": "string", "status_code": 0, "trace": "cd05b1fc-bc10-4ba6-9a9f-b73c503dbd77" }{ "errors": [ { "code": "bad_request", "message": "string", "more_info": "string" } ], "exception": "string", "message": "string", "message_code": "string", "more_info": "string", "status_code": 0, "trace": "cd05b1fc-bc10-4ba6-9a9f-b73c503dbd77" }{ "errors": [ { "code": "bad_request", "message": "string", "more_info": "string" } ], "exception": "string", "message": "string", "message_code": "string", "more_info": "string", "status_code": 0, "trace": "cd05b1fc-bc10-4ba6-9a9f-b73c503dbd77" }
Register delta or hudi table
Register delta or hudi table
POST /catalogs/{catalog_id}/schemas/{schema_id}/registerRequest
Custom Headers
watsonx.data instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
catalog id
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-_]+$URL encoded schema name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\\-]+
Request body
{
"metadata_location": "s3a://bucketname/path/to/table/metadata_location/_delta_log",
"table_name": "mytable"
}{
"metadata_location": "s3a://bucketname/path/to/table/metadata_location/.hoodie",
"table_name": "mytable"
}Metadata location
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^.*$Example:
s3a://bucketname/path/to/table/metadata_location/_delta_logTable name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^.*$Example:
table1
curl -X 'POST' 'https://{region}.cp.fyre.ibm.com/lakehouse/api/v2/catalogs/{catalog_id}/schemas/{schema_id}/register' -H 'accept: application/json' -H 'AuthInstanceId: {instance_id}' -H 'Content-Type: application/merge-patch+json' -d '{ "table_name": "table1", "metadata_location": "s3a://bucketname/path/to/table/metadata_location/_delta_log" }'
Load table metadata
Load table metadata
GET /catalogs/{catalog_id}/schemas/{schema_id}/tables/{table_id}/metadataRequest
Custom Headers
watsonx.data instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
catalog id
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-_]+$URL encoded schema name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\\-]+URL encoded table name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-%]+
curl -X 'GET' 'https://{region}.cp.fyre.ibm.com/lakehouse/api/v2/catalogs/{catalog_id}/schemas/{schema_id}/tables/{table_id}/metadata' -H 'accept: application/json' -H 'AuthInstanceId: {instance_id}'
Response
Metadata location
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^.*$Example:
s3a://bucketname/path/to/table/metadata_location/_delta_logPath to the table
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^.*$Example:
s3a://bucketname/path/to/table
Status Code
Success
Error
Unauthorized
Not found
Internal server error
No Sample Response
Request
Custom Headers
watsonx.data instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Query Parameters
Table name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\\-]+$Catalog name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\\-]+$Schema name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\\-]+$
curl -X 'GET' 'https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/columns?catalog_name={catalog_name}&schema_name={schema_name}&table_name={table_name}' -H 'accept: application/json' -H 'AuthInstanceId: {instance_id}'
Response
Column details
A list of all tables with columns
Possible values: 0 ≤ number of items ≤ 1000000
Response message string
Message code string
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "columns": [ { "bucket": "iceberg-bucket", "catalog": "iceberg_data", "columns": [ { "column": "club_name", "type": "string" }, { "column": "location", "type": "string" }, { "column": "sl_no", "type": "int" }, { "column": "stadium", "type": "string" } ], "owner": "ibmlhadmin", "schema": "s3", "table": "clubs" } ], "message": "1 entries found", "message_code": "success" }
Get all schemas for a given catalog
List Schemas for a catalog with the given catalog_name
GET /schemas
Request
Custom Headers
watsonx.data instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Query Parameters
Catalog name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\\-]+$
curl -X 'GET' 'https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/schemas?catalog_name={catalog_name}' -H 'accept: application/json' -H 'AuthInstanceId: {instance_id}'
Response
Schema response for list all schemas
Response message string
Message code string
A list of all schemas
Possible values: 0 ≤ number of items ≤ 10000
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "message": "1 entries found", "message_code": "success", "schemas": [ { "bucket": "iceberg-bucket", "catalog": "iceberg_data", "owner": "ibmlhadmin", "schema_name": "s3" } ] }
Request
Custom Headers
watsonx.data instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
Schema name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\\-]+$
Query Parameters
Catalog name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\\-]+$
curl -X 'GET' 'https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/schemas/{schema_name}?catalog_name={catalog_name}' -H 'accept: application/json' -H 'AuthInstanceId: {instance_id}'
Response
Summary of the schema response
The bucket linked to the catalog
The catalog that this schema is associated to
Response message string
Message code string
Owner of the bucket
Summary of the schema response
Name of the schema
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "message": "1 entry found", "message_code": "success", "schema": { "bucket": "iceberg-bucket", "catalog": "iceberg_data", "owner": "ibmlhadmin", "schema_name": "s3" } }
Request
Custom Headers
watsonx.data instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Query Parameters
Catalog name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\\-]+$Schema name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\\-]+$
curl -X 'GET' 'https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/tables?catalog_name={catalog_name}&schema_name={schema_name}' -H 'accept: application/json' -H 'AuthInstanceId: {instance_id}'
Response
Table response collection
Response message string
Message code string
A list of all tables
Possible values: 0 ≤ number of items ≤ 1000000
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "message": "1 entries found", "message_code": "success", "tables": [ { "bucket": "iceberg-bucket", "catalog": "iceberg_data", "owner": "ibmlhadmin", "schema": "s3", "table": "clubs" } ] }
Request
Custom Headers
watsonx.data instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
Table name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\\-]+$
Query Parameters
Catalog name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\\-]+$Schema name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\\-]+$
curl -X 'GET' 'https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/tables/{table_name}?catalog_name={catalog_name}&schema_name={schema_name}' -H 'accept: application/json' -H 'AuthInstanceId: {instance_id}'
Response
Table response
Response message string
Message code string
A list of all tables
Possible values: 0 ≤ number of items ≤ 1000000
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "message": "1 entries found", "message_code": "success", "tables": [ { "bucket": "iceberg-bucket", "catalog": "iceberg_data", "columns": [ { "column": "club_name", "type": "string" }, { "column": "sl_no", "type": "int" } ], "owner": "ibmlhadmin", "schema": "s3", "table": "clubs" } ] }
Generate heat or thread dump specific to presto worker or coordinator
Generate heat or thread dump specific to presto worker or coordinator
POST /generate_engine_dump
Request
Custom Headers
watsonx.data instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Request body
Dump file name
Possible values: 4 ≤ length ≤ 256, Value must match regular expression
^[a-zA-Z0-9\-]+Example:
prestodumpDump type
Possible values: 4 ≤ length ≤ 32, Value must match regular expression
^[a-zA-Z0-9\-]+Example:
heatEngine ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+Example:
presto-123specify the pod name like worker-0 or cordinator-0 etc
Possible values: 4 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+Example:
presto
curl -X POST \-H "accept: application/json" \ -H "AuthInstanceId: {token}" \ -H "Content-Type: application/json" "https://{cpd-host}.cp.fyre.ibm.com/lakehouse/api/v2/generate_engine_dump" \ -d '{ "pod_name": "coordinator-blue-0", "engine_id": "presto-01", "dump_type": "heap", "dump_file_name": "hpi_dump_file"}'