Google BigQuery Bigquery Bigquery Routines API

The Bigquery Bigquery Routines API from Google BigQuery — 5 operation(s) for bigquery bigquery routines.

GitHub OpenAPI

Operations 8

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

POST /bigquery/v2/projects/{projectsId}/datasets/{datasetsId}/routines/{routinesId}:getIamPolicy Get a routine's IAM policy · Get iam policy routines #
Ask an LLM
“Who has access to a routine and what permissions do they hold?”
“Can I read the IAM policy on a routine?”
Tell an agent
Get the IAM policy for routine {routine} in dataset {dataset}, project {project}.
Show the access control policy on routine {routine}.
GET /bigquery/v2/projects/{projectsId}/datasets/{datasetsId}/routines/{routinesId} Get a routine · Get routines #
Ask an LLM
“What type and arguments does a routine have?”
“Can I fetch a single routine by its ID?”
Tell an agent
Get routine {routine} in dataset {dataset}, project {project}.
Show the definition and type of routine {routine}.
PUT /bigquery/v2/projects/{projectsId}/datasets/{datasetsId}/routines/{routinesId} Update a routine · Update routines #
Ask an LLM
“How do I change the body of an existing routine?”
“Can I switch an existing routine to a different language?”
Tell an agent
Update routine {routine} in dataset {dataset}, project {project} with body {body} and type {type}.
Replace the language of routine {routine} with {language}.
DELETE /bigquery/v2/projects/{projectsId}/datasets/{datasetsId}/routines/{routinesId} Delete a routine · Delete routines #
Ask an LLM
“How do I remove a routine I no longer need?”
“Can I delete a routine from a dataset?”
Tell an agent destructive · confirm first
Delete routine {routine} from dataset {dataset}, project {project}.
Remove routine {routine}.
POST /bigquery/v2/projects/{projectsId}/datasets/{datasetsId}/routines/{routinesId}:setIamPolicy Set the IAM access policy on a routine · Set iam policy routines #
Ask an LLM
“How do I grant a service account permission on a BigQuery routine?”
“Can I replace a routine's access policy rather than merge permissions?”
Tell an agent
Set the IAM policy on routine {routine} in dataset {dataset}, project {project}, to {policy}.
Replace the access policy for routine {routine} with {policy}, updating only fields {mask}.
GET /bigquery/v2/projects/{projectsId}/datasets/{datasetsId}/routines List routines in a dataset · List routines #
Ask an LLM
“Which routines exist in my dataset?”
“Can I list only functions or only procedures in a dataset?”
Tell an agent
List routines in dataset {dataset}, project {project}.
Show routines matching {filter} in dataset {dataset}.
POST /bigquery/v2/projects/{projectsId}/datasets/{datasetsId}/routines Create a routine · Insert routines #
Ask an LLM
“How do I add a new function to a dataset?”
“Can I create a routine that runs in a remote runtime?”
Tell an agent
Create a {type} routine {routine} in dataset {dataset}, project {project} with body {body}.
Add a {type} routine {routine} to dataset {dataset} using language {language}.
POST /bigquery/v2/projects/{projectsId}/datasets/{datasetsId}/routines/{routinesId}:testIamPermissions Test permissions on a routine · Test iam permissions routines #
Ask an LLM
“Does the current user have permission to read a routine?”
“Can I check a routine's permissions without seeing its policy?”
Tell an agent
Test permissions {permissions} on routine {routine} in dataset {dataset}, project {project}.
Check whether I can read routine {routine}.

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-bigquery-routines-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-bigquery-routines-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: BigQuery API Routines API
  version: v2
  description: Generated from Google's published Discovery document for BigQuery API (bigquery v2, revision 20261009). 8 operation(s).
  contact:
    name: Google
    url: https://developers.google.com/
  termsOfService: https://developers.google.com/terms
externalDocs:
  url: https://cloud.google.com/bigquery/
servers:


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