Menu
Bigquery.jobs.get
Returns information about a specific job. Job information is available for a six month period after creation. Requires that you're the person who ran the job, or have the Is Owner project role.
GET
/projects/{projectId}/jobs/{jobId}Use it in a workflow
- Add a step and choose the BigQuery connector.
- Pick the Bigquery.jobs.get action (under jobs).
- Fill in the fields below, then reference the result from later steps as
{{bigqueryJobsGet.response.data}}.
Request
Path parameters
Query parameters
Response
Returns 200 with an object. Read it in later steps with {{bigqueryJobsGet.response.data.<field>}}.
{
"configuration": {
"copy": {
"createDisposition": "string",
"destinationEncryptionConfiguration": {
"kmsKeyName": "string"
},
"destinationExpirationTime": null,
"destinationTable": {
"datasetId": "string",
"projectId": "string",
"tableId": "string"
},
"operationType": "string",
"sourceTable": {
"datasetId": "string",
"projectId": "string",
"tableId": "string"
},
"sourceTables": [
{
"datasetId": "string",
"projectId": "string",
"tableId": "string"
}
],
"writeDisposition": "string"
},
"dryRun": false,
"extract": {
"compression": "string",
"destinationFormat": "string",
"destinationUri": "string",
"destinationUris": [
"string"
],
"fieldDelimiter": "string",
"printHeader": true,
"sourceModel": {
"datasetId": "string",
"modelId": "string",
"projectId": "string"
},
"sourceTable": {
"datasetId": "string",
"projectId": "string",
"tableId": "string"
},
"useAvroLogicalTypes": false
},
"jobTimeoutMs": "string",
"jobType": "string",
"labels": {},
"load": {
"allowJaggedRows": false,
"allowQuotedNewlines": false,
"autodetect": false,
"clustering": {
"fields": [
"string"
]
},
"connectionProperties": [
{
"key": "string",
"value": "string"
}
],
"createDisposition": "string",
"createSession": false,
"decimalTargetTypes": [
"string"
],
"destinationEncryptionConfiguration": {
"kmsKeyName": "string"
},
"destinationTable": {
"datasetId": "string",
"projectId": "string",
"tableId": "string"
},
"destinationTableProperties": {
"description": "string",
"expirationTime": "2025-01-01T00:00:00Z",
"friendlyName": "string",
"labels": {}
},
"encoding": "string"
},
"query": {
"allowLargeResults": false,
"clustering": {
"fields": [
"string"
]
},
"connectionProperties": [
{
"key": "string",
"value": "string"
}
],
"continuous": false,
"createDisposition": "string",
"createSession": false,
"defaultDataset": {
"datasetId": "string",
"projectId": "string"
},
"destinationEncryptionConfiguration": {
"kmsKeyName": "string"
},
"destinationTable": {
"datasetId": "string",
"projectId": "string",
"tableId": "string"
},
"flattenResults": true,
"maximumBillingTier": 1,
"maximumBytesBilled": "string"
}
},
"etag": "string",
"id": "string",
"jobReference": {
"jobId": "string",
"location": "string",
"projectId": "string"
},
"kind": "bigquery#job",
"selfLink": "string",
"statistics": {
"completionRatio": 0,
"copy": {
"copied_logical_bytes": "string",
"copied_rows": "string"
},
"creationTime": "string",
"dataMaskingStatistics": {
"dataMaskingApplied": false
},
"endTime": "string",
"extract": {
"destinationUriFileCounts": [
"string"
],
"inputBytes": "string"
},
"load": {
"badRecords": "string",
"inputFileBytes": "string",
"inputFiles": "string",
"outputBytes": "string",
"outputRows": "string"
},
"numChildJobs": "string",
"parentJobId": "string",
"query": {
"biEngineStatistics": {
"accelerationMode": "",
"biEngineMode": "",
"biEngineReasons": [
{
"code": "",
"message": ""
}
]
},
"billingTier": 0,
"cacheHit": false,
"ddlAffectedRowAccessPolicyCount": "string",
"ddlDestinationTable": {
"datasetId": "string",
"projectId": "string",
"tableId": "string"
},
"ddlOperationPerformed": "string",
"ddlTargetDataset": {
"datasetId": "string",
"projectId": "string"
},
"ddlTargetRoutine": {
"datasetId": "string",
"projectId": "string",
"routineId": "string"
},
"ddlTargetRowAccessPolicy": {
"datasetId": "string",
"policyId": "string",
"projectId": "string",
"tableId": "string"
},
"ddlTargetTable": {
"datasetId": "string",
"projectId": "string",
"tableId": "string"
},
"dmlStats": {
"deletedRowCount": "string",
"insertedRowCount": "string",
"updatedRowCount": "string"
},
"estimatedBytesProcessed": "string"
},
"quotaDeferments": [
"string"
],
"reservationUsage": [
{
"name": "string",
"slotMs": "string"
}
]
},
"status": {
"errorResult": {
"debugInfo": "string",
"location": "string",
"message": "string",
"reason": "string"
},
"errors": [
{
"debugInfo": "string",
"location": "string",
"message": "string",
"reason": "string"
}
],
"state": "string"
},
"user_email": "string"
}
Need more? See the BigQuery guide for connection setup and behaviour shared by every action.
Was this page helpful?