Embedded
Create BigQuery Session
Initializes an embedded session for BigQuery native warehouse. Two modes: (1) If bqRole is sent, it must match a role configured in org settings warehouse.bigqueryConfig.roles — the studio frontend will impersonate the matching service account. (2) If bqRole is omitted, userId must be a member of the org (validated via WorkOS). The URL with nonce is only valid for 2 minutes. <b><a target='_blank' href='https://evidence.dev/pricing'>Enterprise Only</a></b>
post/v1/embedded/bigquery
Request
- Base URL: https://management.evidence.studio
- URL: https://management.evidence.studio/v1/embedded/bigquery
- Auth: one of:
- API key in header Authorization
- API key in cookie wos-session
Request body
Example request
{
"userId": "ud_123456",
"pageId": "5f732e9b-2d6a-49c5-b726-3870125d6abc",
"path": "org_12345/my-project/home",
"attributes": [
{
"key": "employee_id",
"value": 1102
},
{
"key": "region",
"value": "Canada"
},
{
"key": "departements",
"value": [
"Sales",
"Marketing"
]
},
{
"key": "zone_id",
"value": [
193,
992,
19183
]
},
{
"key": "isAdmin",
"value": false
}
],
"cookieless": true,
"testMode": true,
"language": "fr",
"colorScheme": "dark",
"bqRole": "sales_team_japan"
}Response
Data returning...
unknown required
Changes
No recorded changes to this operation across all 1 revision of this API.