Google BigQuery · Capability

Google BigQuery API — Jobs

Google BigQuery API — Jobs. 7 operations. Lead operation: Google BigQuery List jobs. Self-contained Naftiko capability covering one Google Bigquery business surface.

Run with Naftiko Google BigqueryJobs

What You Can Do

GET
Listjobs — Google BigQuery List jobs
/v1/projects/{projectid}/jobs
POST
Insertjob — Google BigQuery Submit a job
/v1/projects/{projectid}/jobs
GET
Getjob — Google BigQuery Get job
/v1/projects/{projectid}/jobs/{jobid}
DELETE
Deletejob — Google BigQuery Delete job
/v1/projects/{projectid}/jobs/{jobid}
POST
Canceljob — Google BigQuery Cancel job
/v1/projects/{projectid}/jobs/{jobid}/cancel
POST
Queryjobs — Google BigQuery Execute query
/v1/projects/{projectid}/queries
GET
Getqueryresults — Google BigQuery Get query results
/v1/projects/{projectid}/queries/{jobid}

MCP Tools

google-bigquery-list-jobs

Google BigQuery List jobs

read-only idempotent
google-bigquery-submit-job

Google BigQuery Submit a job

read-only
google-bigquery-get-job

Google BigQuery Get job

read-only idempotent
google-bigquery-delete-job

Google BigQuery Delete job

idempotent
google-bigquery-cancel-job

Google BigQuery Cancel job

read-only
google-bigquery-execute-query

Google BigQuery Execute query

read-only
google-bigquery-get-query-results

Google BigQuery Get query results

read-only idempotent

Capability Spec

bigquery-jobs.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Google BigQuery API — Jobs
  description: 'Google BigQuery API — Jobs. 7 operations. Lead operation: Google BigQuery List jobs. Self-contained Naftiko
    capability covering one Google Bigquery business surface.'
  tags:
  - Google Bigquery
  - Jobs
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    GOOGLE_BIGQUERY_API_KEY: GOOGLE_BIGQUERY_API_KEY
capability:
  consumes:
  - type: http
    namespace: bigquery-jobs
    baseUri: https://bigquery.googleapis.com/bigquery/v2
    description: Google BigQuery API — Jobs business capability. Self-contained, no shared references.
    resources:
    - name: projects-projectId-jobs
      path: /projects/{projectId}/jobs
      operations:
      - name: listjobs
        method: GET
        description: Google BigQuery List jobs
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: projection
          in: query
          type: string
          description: Restricts information returned to a set of selected fields
        - name: stateFilter
          in: query
          type: array
          description: Filter for job state
      - name: insertjob
        method: POST
        description: Google BigQuery Submit a job
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: projects-projectId-jobs-jobId
      path: /projects/{projectId}/jobs/{jobId}
      operations:
      - name: getjob
        method: GET
        description: Google BigQuery Get job
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: deletejob
        method: DELETE
        description: Google BigQuery Delete job
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: projects-projectId-jobs-jobId-cancel
      path: /projects/{projectId}/jobs/{jobId}/cancel
      operations:
      - name: canceljob
        method: POST
        description: Google BigQuery Cancel job
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: projects-projectId-queries
      path: /projects/{projectId}/queries
      operations:
      - name: queryjobs
        method: POST
        description: Google BigQuery Execute query
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: projects-projectId-queries-jobId
      path: /projects/{projectId}/queries/{jobId}
      operations:
      - name: getqueryresults
        method: GET
        description: Google BigQuery Get query results
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: startIndex
          in: query
          type: integer
          description: Zero-based index of the starting row
    authentication:
      type: bearer
      token: '{{env.GOOGLE_BIGQUERY_API_KEY}}'
  exposes:
  - type: rest
    namespace: bigquery-jobs-rest
    port: 8080
    description: REST adapter for Google BigQuery API — Jobs. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/projects/{projectid}/jobs
      name: projects-projectid-jobs
      description: REST surface for projects-projectId-jobs.
      operations:
      - method: GET
        name: listjobs
        description: Google BigQuery List jobs
        call: bigquery-jobs.listjobs
        with:
          projection: rest.projection
          stateFilter: rest.stateFilter
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: insertjob
        description: Google BigQuery Submit a job
        call: bigquery-jobs.insertjob
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/projects/{projectid}/jobs/{jobid}
      name: projects-projectid-jobs-jobid
      description: REST surface for projects-projectId-jobs-jobId.
      operations:
      - method: GET
        name: getjob
        description: Google BigQuery Get job
        call: bigquery-jobs.getjob
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deletejob
        description: Google BigQuery Delete job
        call: bigquery-jobs.deletejob
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/projects/{projectid}/jobs/{jobid}/cancel
      name: projects-projectid-jobs-jobid-cancel
      description: REST surface for projects-projectId-jobs-jobId-cancel.
      operations:
      - method: POST
        name: canceljob
        description: Google BigQuery Cancel job
        call: bigquery-jobs.canceljob
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/projects/{projectid}/queries
      name: projects-projectid-queries
      description: REST surface for projects-projectId-queries.
      operations:
      - method: POST
        name: queryjobs
        description: Google BigQuery Execute query
        call: bigquery-jobs.queryjobs
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/projects/{projectid}/queries/{jobid}
      name: projects-projectid-queries-jobid
      description: REST surface for projects-projectId-queries-jobId.
      operations:
      - method: GET
        name: getqueryresults
        description: Google BigQuery Get query results
        call: bigquery-jobs.getqueryresults
        with:
          startIndex: rest.startIndex
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: bigquery-jobs-mcp
    port: 9090
    transport: http
    description: MCP adapter for Google BigQuery API — Jobs. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: google-bigquery-list-jobs
      description: Google BigQuery List jobs
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: bigquery-jobs.listjobs
      with:
        projection: tools.projection
        stateFilter: tools.stateFilter
      outputParameters:
      - type: object
        mapping: $.
    - name: google-bigquery-submit-job
      description: Google BigQuery Submit a job
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: bigquery-jobs.insertjob
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: google-bigquery-get-job
      description: Google BigQuery Get job
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: bigquery-jobs.getjob
      outputParameters:
      - type: object
        mapping: $.
    - name: google-bigquery-delete-job
      description: Google BigQuery Delete job
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: bigquery-jobs.deletejob
      outputParameters:
      - type: object
        mapping: $.
    - name: google-bigquery-cancel-job
      description: Google BigQuery Cancel job
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: bigquery-jobs.canceljob
      outputParameters:
      - type: object
        mapping: $.
    - name: google-bigquery-execute-query
      description: Google BigQuery Execute query
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: bigquery-jobs.queryjobs
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: google-bigquery-get-query-results
      description: Google BigQuery Get query results
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: bigquery-jobs.getqueryresults
      with:
        startIndex: tools.startIndex
      outputParameters:
      - type: object
        mapping: $.