Sign up and get started with Confidence today! Create your account
Sign up and get started with Confidence today! Create your account
Create a new data warehouse. This endpoint is used to configure access to your data warehouse, were all assignment, exposure and metric data will be stored and computed. The endpoint will verify that access to relevant resources are set up correctly.
curl --request POST \
--url https://metrics.eu.confidence.dev/v1/dataWarehouses \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"config": {
"bigQueryConfig": {
"gcpProjectId": "<string>",
"bigQueryLocation": "<string>",
"dataset": "<string>",
"serviceAccount": "<string>",
"processingProjectId": "<string>",
"interactiveProjectId": "<string>",
"exportJobsServiceAccount": "<string>"
},
"dataBricksConfig": {
"host": "<string>",
"warehouseId": "<string>",
"clientId": "<string>",
"clientSecret": "<string>",
"exposureSchema": "<string>",
"resultsSchema": "<string>"
}
},
"name": "<string>",
"limits": {
"maxConcurrentQueries": 123,
"maxConcurrentInteractiveQueries": 123
},
"labels": [
{}
],
"owner": "<string>"
}
'{
"config": {
"bigQueryConfig": {
"gcpProjectId": "<string>",
"bigQueryLocation": "<string>",
"dataset": "<string>",
"serviceAccount": "<string>",
"processingProjectId": "<string>",
"interactiveProjectId": "<string>",
"exportJobsServiceAccount": "<string>"
},
"dataBricksConfig": {
"host": "<string>",
"warehouseId": "<string>",
"clientId": "<string>",
"clientSecret": "<string>",
"exposureSchema": "<string>",
"resultsSchema": "<string>"
},
"redshiftConfig": {
"region": "AWS_REGION_UNSPECIFIED",
"roleArn": "<string>",
"cluster": "<string>",
"database": "<string>",
"exposureSchema": "<string>",
"dataApiEndpoint": "<string>",
"credentialsSettings": {
"accessKeyId": "<string>",
"secretAccessKey": "<string>"
},
"webIdentitySettings": {}
},
"snowflakeConfig": {
"account": "<string>",
"user": "<string>",
"authenticationKey": "<string>",
"role": "<string>",
"warehouse": "<string>",
"exposureDatabase": "<string>",
"exposureSchema": "<string>"
}
},
"createTime": {},
"updateTime": {},
"creator": "<string>",
"updater": "<string>",
"name": "<string>",
"limits": {
"maxConcurrentQueries": 123,
"maxConcurrentInteractiveQueries": 123
},
"labels": [
{}
],
"owner": "<string>"
}Documentation Index
Fetch the complete documentation index at: https://confidence.spotify.com/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The id to the give the created data warehouse. If a not set a random one will be generated.
The configuration for the data warehouse.
Show child attributes
The name of the data warehouse.
User-defined restrictions for how to access the data warehouse.
Show child attributes
General labels for this resource.
Show child attributes
The owner of the resource. If not set will default to the creator.
OK
Named configuration for a data warehouse. Sets up how to query and write data to the data warehouse.
The configuration for the data warehouse.
Show child attributes
Time when the data warehouse was first created.
Time when the data warehouse was last updated.
Reference to the identity that created this entity.
Reference to the identity that last updated this entity.
The name of the data warehouse.
User-defined restrictions for how to access the data warehouse.
Show child attributes
General labels for this resource.
Show child attributes
The owner of the resource. If not set will default to the creator.
Was this page helpful?
curl --request POST \
--url https://metrics.eu.confidence.dev/v1/dataWarehouses \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"config": {
"bigQueryConfig": {
"gcpProjectId": "<string>",
"bigQueryLocation": "<string>",
"dataset": "<string>",
"serviceAccount": "<string>",
"processingProjectId": "<string>",
"interactiveProjectId": "<string>",
"exportJobsServiceAccount": "<string>"
},
"dataBricksConfig": {
"host": "<string>",
"warehouseId": "<string>",
"clientId": "<string>",
"clientSecret": "<string>",
"exposureSchema": "<string>",
"resultsSchema": "<string>"
}
},
"name": "<string>",
"limits": {
"maxConcurrentQueries": 123,
"maxConcurrentInteractiveQueries": 123
},
"labels": [
{}
],
"owner": "<string>"
}
'{
"config": {
"bigQueryConfig": {
"gcpProjectId": "<string>",
"bigQueryLocation": "<string>",
"dataset": "<string>",
"serviceAccount": "<string>",
"processingProjectId": "<string>",
"interactiveProjectId": "<string>",
"exportJobsServiceAccount": "<string>"
},
"dataBricksConfig": {
"host": "<string>",
"warehouseId": "<string>",
"clientId": "<string>",
"clientSecret": "<string>",
"exposureSchema": "<string>",
"resultsSchema": "<string>"
},
"redshiftConfig": {
"region": "AWS_REGION_UNSPECIFIED",
"roleArn": "<string>",
"cluster": "<string>",
"database": "<string>",
"exposureSchema": "<string>",
"dataApiEndpoint": "<string>",
"credentialsSettings": {
"accessKeyId": "<string>",
"secretAccessKey": "<string>"
},
"webIdentitySettings": {}
},
"snowflakeConfig": {
"account": "<string>",
"user": "<string>",
"authenticationKey": "<string>",
"role": "<string>",
"warehouse": "<string>",
"exposureDatabase": "<string>",
"exposureSchema": "<string>"
}
},
"createTime": {},
"updateTime": {},
"creator": "<string>",
"updater": "<string>",
"name": "<string>",
"limits": {
"maxConcurrentQueries": 123,
"maxConcurrentInteractiveQueries": 123
},
"labels": [
{}
],
"owner": "<string>"
}