Google BigQuery Bigquery Analyticshub Projects API

The Bigquery Analyticshub Projects API from Google BigQuery — 24 operation(s) for bigquery analyticshub projects.

GitHub OpenAPI

Operations 34

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /v1/projects/{projectsId}/locations/{locationsId}/dataExchanges/{dataExchangesId} Get a data exchange · Get dataExchanges #
Ask an LLM
“What details are stored on a data exchange I publish?”
“Can I look up one data exchange by its ID?”
Tell an agent
Get data exchange {dataExchangesId} in project {projectsId}, location {locationsId}.
Show the details of data exchange {dataExchangesId}.
PATCH /v1/projects/{projectsId}/locations/{locationsId}/dataExchanges/{dataExchangesId} Update a data exchange · Patch dataExchanges #
Ask an LLM
“Can I rename a data exchange I publish?”
“How do I change the primary contact on a data exchange?”
Tell an agent
Rename data exchange {dataExchangesId} in project {projectsId}, location {locationsId} to {displayName}.
Set the primary contact on data exchange {dataExchangesId} to {primaryContact}.
DELETE /v1/projects/{projectsId}/locations/{locationsId}/dataExchanges/{dataExchangesId} Delete a data exchange · Delete dataExchanges #
Ask an LLM
“How do I remove a data exchange I no longer publish?”
“Can I delete a data exchange by its ID?”
Tell an agent destructive · confirm first
Delete data exchange {dataExchangesId} in project {projectsId}, location {locationsId}.
Remove the data exchange {dataExchangesId}.
POST /v1/projects/{projectsId}/locations/{locationsId}/dataExchanges Create a data exchange · Create dataExchanges #
Ask an LLM
“How do I publish a new data exchange?”
“Can I set a discovery type when creating a data exchange?”
Tell an agent
Create data exchange {displayName} in project {projectsId}, location {locationsId}.
Create data exchange {displayName} in {locationsId} with discovery type {discoveryType}.
GET /v1/projects/{projectsId}/locations/{locationsId}/dataExchanges List data exchanges in a location · List dataExchanges #
Ask an LLM
“Which data exchanges do I publish in a given region?”
“Can I page through all data exchanges in a location?”
Tell an agent
List data exchanges in project {projectsId}, location {locationsId}.
Show the first {pageSize} data exchanges in {locationsId}.
POST /v1/projects/{projectsId}/locations/{locationsId}/dataExchanges/{dataExchangesId}:setIamPolicy Set IAM policy on a data exchange · Set iam policy dataExchanges #
Ask an LLM
“How do I grant a user access to a data exchange?”
“Can I replace the IAM policy on a data exchange?”
Tell an agent
Set the IAM policy on data exchange {dataExchangesId} in project {projectsId}, location {locationsId}.
Replace the IAM policy of data exchange {dataExchangesId} with {policy}.
GET /v1/projects/{projectsId}/locations/{locationsId}/dataExchanges/{dataExchangesId}:listSubscriptions List subscriptions to a data exchange · List subscriptions dataExchanges #
Ask an LLM
“Who has subscribed to my data exchange?”
“Can I include deleted subscriptions when listing them?”
Tell an agent
List subscriptions to data exchange {dataExchangesId} in project {projectsId}, location {locationsId}.
Show {pageSize} subscriptions on data exchange {dataExchangesId}.
POST /v1/projects/{projectsId}/locations/{locationsId}/dataExchanges/{dataExchangesId}:getIamPolicy Get IAM policy on a data exchange · Get iam policy dataExchanges #
Ask an LLM
“What permissions does a user have on my data exchange?”
“Can I read the IAM policy of a data exchange?”
Tell an agent
Get the IAM policy of data exchange {dataExchangesId} in project {projectsId}, location {locationsId}.
Show the IAM policy on data exchange {dataExchangesId}.
POST /v1/projects/{projectsId}/locations/{locationsId}/dataExchanges/{dataExchangesId}:testIamPermissions Test IAM permissions on a data exchange · Test iam permissions dataExchanges #
Ask an LLM
“Does a user have the permission to delete my data exchange?”
“Can I check a user's permissions on a data exchange?”
Tell an agent
Test permissions {permissions} on data exchange {dataExchangesId} in project {projectsId}, location {locationsId}.
Check whether I can delete data exchange {dataExchangesId}.
POST /v1/projects/{projectsId}/locations/{locationsId}/dataExchanges/{dataExchangesId}:subscribe Subscribe to a data exchange · Subscribe dataExchanges #
Ask an LLM
“How do I subscribe to a data exchange and get its datasets?”
“Can I choose the destination dataset when subscribing to a data exchange?”
Tell an agent
Subscribe to data exchange {dataExchangesId} in project {projectsId}, location {locationsId}.
Subscribe to data exchange {dataExchangesId} and put the linked dataset in {destinationDataset}.
GET /v1/projects/{projectsId}/locations/{locationsId}/dataExchanges/{dataExchangesId}/listings/{listingsId} Get a Data Exchange listing · Get listings #
Ask an LLM
“How do I see the details of a listing on a Data Exchange?”
“What contact and documentation does a listing describe?”
Tell an agent
Get listing {listing} on data exchange {exchange} in {location}, project {project}.
Show the description and categories of listing {listing}.
PATCH /v1/projects/{projectsId}/locations/{locationsId}/dataExchanges/{dataExchangesId}/listings/{listingsId} Update an existing Data Exchange listing · Patch listings #
Ask an LLM
“Can I change the description or primary contact of a listing I already published?”
“How do I mark an existing listing as metadata-only sharing?”
Tell an agent
Update listing {listingsId} on exchange {dataExchangesId} in {locationsId}, project {projectsId}, setting description {description} and contact {primaryContact}.
Patch listing {listingsId} on exchange {dataExchangesId} in {locationsId}, project {projectsId}, to metadata-only sharing {allowOnlyMetadataSharing}, limited to {updateMask}.
DELETE /v1/projects/{projectsId}/locations/{locationsId}/dataExchanges/{dataExchangesId}/listings/{listingsId} Delete a listing · Delete listings #
Ask an LLM
“How do I remove a listing from my data exchange?”
“Can I delete a commercial listing?”
Tell an agent destructive · confirm first
Delete listing {listingsId} from data exchange {dataExchangesId}, project {projectsId}, location {locationsId}.
Remove listing {listingsId} from data exchange {dataExchangesId}.
POST /v1/projects/{projectsId}/locations/{locationsId}/dataExchanges/{dataExchangesId}/listings/{listingsId}:subscribe Subscribe to a Data Exchange listing · Subscribe listings #
Ask an LLM
“How do I get a BigQuery dataset shared through a listing?”
“Can I deliver a subscribed listing's dataset to my own Pub/Sub topic?”
Tell an agent
Subscribe to listing {listing} on exchange {exchange} in {location}, project {project}.
Subscribe listing {listing} to destination dataset {dataset}.
POST /v1/projects/{projectsId}/locations/{locationsId}/dataExchanges/{dataExchangesId}/listings/{listingsId}:getIamPolicy Get the IAM policy on a listing · Get iam policy listings #
Ask an LLM
“Who has permissions on a Data Exchange listing?”
“Can I see the access policy for a listing?”
Tell an agent
Get the IAM policy for listing {listing} on exchange {exchange} in {location}, project {project}.
Show the access policy of listing {listing}.
POST /v1/projects/{projectsId}/locations/{locationsId}/dataExchanges/{dataExchangesId}/listings Create a Data Exchange listing · Create listings #
Ask an LLM
“How do I publish a BigQuery dataset as a listing?”
“Can I set categories and contact details when creating a listing?”
Tell an agent
Create listing {name} on exchange {exchange} in {location}, project {project}.
Create listing {name} describing dataset {dataset} with categories {categories}.
GET /v1/projects/{projectsId}/locations/{locationsId}/dataExchanges/{dataExchangesId}/listings List listings in a data exchange · List listings #
Ask an LLM
“Which listings are in my data exchange?”
“Can I page through all listings in a data exchange?”
Tell an agent
List listings in data exchange {dataExchangesId}, project {projectsId}, location {locationsId}.
Show the first {pageSize} listings in data exchange {dataExchangesId}.
GET /v1/projects/{projectsId}/locations/{locationsId}/dataExchanges/{dataExchangesId}/listings/{listingsId}:listSubscriptions List subscriptions on a listing · List subscriptions listings #
Ask an LLM
“Which projects have subscribed to a listing?”
“Can I include deleted subscriptions in the listing subscription list?”
Tell an agent
List subscriptions on listing {listing} of exchange {exchange} in {location}, project {project}.
Show subscriptions to listing {listing}, including deleted ones: {deleted}.
POST /v1/projects/{projectsId}/locations/{locationsId}/dataExchanges/{dataExchangesId}/listings/{listingsId}:testIamPermissions Test permissions on a listing · Test iam permissions listings #
Ask an LLM
“What permissions does a user have on a Data Exchange listing?”
“Can I check whether a listing allows a certain permission?”
Tell an agent
Test permissions {permissions} on listing {listing} of exchange {exchange} in {location}, project {project}.
Check which of {permissions} can be granted on listing {listing}.
POST /v1/projects/{projectsId}/locations/{locationsId}/dataExchanges/{dataExchangesId}/listings/{listingsId}:setIamPolicy Set the IAM policy on a listing · Set iam policy listings #
Ask an LLM
“Can I grant and revoke permissions on a listing?”
“How do I replace the access policy of a Data Exchange listing?”
Tell an agent
Set listing {listing} on exchange {exchange} in {location}, project {project}, to policy {policy}.
Replace the access policy of listing {listing} with {policy}, changing {mask}.
POST /v1/projects/{projectsId}/locations/{locationsId}/dataExchanges/{dataExchangesId}/queryTemplates/{queryTemplatesId}:approve Approve a query template · Approve queryTemplates #
Ask an LLM
“How do I approve a query template a publisher submitted?”
“Can I approve a query template in Analytics Hub?”
Tell an agent
Approve query template {queryTemplatesId} in {projectsId}/{locationsId}/dataExchanges/{dataExchangesId}.
Approve the submitted query template {queryTemplatesId}.
POST /v1/projects/{projectsId}/locations/{locationsId}/dataExchanges/{dataExchangesId}/queryTemplates Create a query template · Create queryTemplates #
Ask an LLM
“How do I create a reusable query template for a data exchange?”
“Can I attach a BigQuery routine to a query template?”
Tell an agent
Create query template {queryTemplateId} in {projectsId}/{locationsId}/dataExchanges/{dataExchangesId}.
Create a query template {queryTemplateId} with routine {routine} in {projectsId}/{locationsId}/dataExchanges/{dataExchangesId}.
GET /v1/projects/{projectsId}/locations/{locationsId}/dataExchanges/{dataExchangesId}/queryTemplates List query templates in a data exchange · List queryTemplates #
Ask an LLM
“Which query templates are available in a data exchange?”
“Can I page through a data exchange's query templates?”
Tell an agent
List query templates in {projectsId}/{locationsId}/dataExchanges/{dataExchangesId}.
Show {pageSize} query templates per page in {projectsId}/{locationsId}/dataExchanges/{dataExchangesId}.
DELETE /v1/projects/{projectsId}/locations/{locationsId}/dataExchanges/{dataExchangesId}/queryTemplates/{queryTemplatesId} Delete a query template · Delete queryTemplates #
Ask an LLM
“How do I delete a query template from a data exchange?”
“Can I remove a query template I no longer use?”
Tell an agent destructive · confirm first
Delete query template {queryTemplatesId} in {projectsId}/{locationsId}/dataExchanges/{dataExchangesId}.
Remove query template {queryTemplatesId}.
PATCH /v1/projects/{projectsId}/locations/{locationsId}/dataExchanges/{dataExchangesId}/queryTemplates/{queryTemplatesId} Update a query template · Patch queryTemplates #
Ask an LLM
“How do I change the routine in an existing query template?”
“Can I rename a query template after creating it?”
Tell an agent
Update the routine of query template {queryTemplatesId} in {projectsId}/{locationsId}/dataExchanges/{dataExchangesId} to {routine}.
Rename query template {queryTemplatesId} to {displayName}.
GET /v1/projects/{projectsId}/locations/{locationsId}/dataExchanges/{dataExchangesId}/queryTemplates/{queryTemplatesId} Get a query template · Get queryTemplates #
Ask an LLM
“What routine and documentation does a query template contain?”
“Can I look up one query template by ID?”
Tell an agent
Get query template {queryTemplatesId} in {projectsId}/{locationsId}/dataExchanges/{dataExchangesId}.
Show the routine and documentation of query template {queryTemplatesId}.
POST /v1/projects/{projectsId}/locations/{locationsId}/dataExchanges/{dataExchangesId}/queryTemplates/{queryTemplatesId}:submit Submit a query template for approval · Submit queryTemplates #
Ask an LLM
“How do I submit a query template so a publisher can approve it?”
“Can I send a new query template to a publisher for review?”
Tell an agent
Submit query template {queryTemplatesId} in {projectsId}/{locationsId}/dataExchanges/{dataExchangesId} for approval.
Send query template {queryTemplatesId} to the publisher for review.
POST /v1/projects/{projectsId}/locations/{locationsId}/subscriptions/{subscriptionsId}:revoke Revoke a subscription · Revoke subscriptions #
Ask an LLM
“How do I revoke a subscription to a data exchange?”
“Can I revoke a commercial subscription by setting a flag?”
Tell an agent destructive · confirm first
Revoke subscription {subscriptionsId} in {projectsId}/{locationsId}.
Revoke commercial subscription {subscriptionsId} with revokeCommercial {revokeCommercial}.
DELETE /v1/projects/{projectsId}/locations/{locationsId}/subscriptions/{subscriptionsId} Delete a subscription · Delete subscriptions #
Ask an LLM
“How do I delete a subscription to a data exchange?”
“Can I remove a subscription I no longer need?”
Tell an agent destructive · confirm first
Delete subscription {subscriptionsId} in {projectsId}/{locationsId}.
Remove subscription {subscriptionsId}.
GET /v1/projects/{projectsId}/locations/{locationsId}/subscriptions/{subscriptionsId} Get a subscription · Get subscriptions #
Ask an LLM
“What state and details does a subscription have?”
“Can I look up one subscription by ID?”
Tell an agent
Get subscription {subscriptionsId} in {projectsId}/{locationsId}.
Show the state of subscription {subscriptionsId}.
POST /v1/projects/{projectsId}/locations/{locationsId}/subscriptions/{subscriptionsId}:setIamPolicy Set IAM policy on a subscription · Set iam policy subscriptions #
Ask an LLM
“How do I change who can access a subscription?”
“Can I set an IAM policy on a subscription?”
Tell an agent
Set IAM policy {policy} on subscription {subscriptionsId} in {projectsId}/{locationsId}.
Update the access policy of subscription {subscriptionsId} using {updateMask}.
GET /v1/projects/{projectsId}/locations/{locationsId}/subscriptions List subscriptions in a location · List subscriptions #
Ask an LLM
“Which subscriptions exist in a project and location?”
“Can I filter subscriptions by listing or data exchange?”
Tell an agent
List subscriptions in {projectsId}/{locationsId}.
List subscriptions in {projectsId}/{locationsId} matching {filter}.
POST /v1/projects/{projectsId}/locations/{locationsId}/subscriptions/{subscriptionsId}:getIamPolicy Get IAM policy on a subscription · Get iam policy subscriptions #
Ask an LLM
“What access policy is attached to a subscription?”
“Can I read the IAM policy on a subscription?”
Tell an agent
Get the IAM policy on subscription {subscriptionsId} in {projectsId}/{locationsId}.
Show who has access to subscription {subscriptionsId}.
POST /v1/projects/{projectsId}/locations/{locationsId}/subscriptions/{subscriptionsId}:refresh Refresh a subscription · Refresh subscriptions #
Ask an LLM
“How do I refresh a subscription after the publisher adds new data?”
“Why would refreshing a subscription create many linked datasets?”
Tell an agent
Refresh subscription {subscriptionsId} in {projectsId}/{locationsId}.
Refresh the data in subscription {subscriptionsId}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/google-bigquery:google-bigquery-analyticshub-projects-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

google-bigquery-analyticshub-projects-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Analytics Hub API Projects API
  version: v1
  description: Generated from Google's published Discovery document for Analytics Hub API (analyticshub v1, revision 20261106).
    34 operation(s).
  contact:
    name: Google
    url: https://developers.google.com/
  termsOfService: https://developers.google.com/terms
externalDocs:
  url: https://cloud.google.com/bigquery/docs/analytics-hub-introduction
servers:


# --- truncated at 32 KB (148 KB total) ---
# Full source: https://artifacts.apis.io/google-bigquery/openapi/google-bigquery-analyticshub-projects-api-openapi.yml