{"command":{"effect":"read","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Gets the current status of a background job of any type for an R2 bucket. Poll this\nendpoint with the job identifier returned by Create Bucket Job until the status is\n`COMPLETED`, `FAILED`, or `CANCELLED`.\n","properties":{"path":{"type":"object","properties":{"account_id":{"$ref":"#/definitions/r2_account_identifier"},"bucket_name":{"$ref":"#/definitions/r2_bucket_name"},"job_id":{"type":"string","description":"Identifier returned when the background job was submitted."}},"required":["account_id","bucket_name","job_id"],"additionalProperties":false},"headers":{"type":"object","properties":{"cf-r2-jurisdiction":{"type":"string","default":"default","enum":["default","eu","us","fedramp","fedramp-high"],"description":"Jurisdiction where objects in this bucket are guaranteed to be stored."}},"required":[],"additionalProperties":false}},"required":["path"],"additionalProperties":false,"definitions":{"r2_account_identifier":{"description":"Cloudflare account ID that owns the R2 resource.","type":"string","maxLength":32,"examples":["023e105f4ecef8ad9ca31a8372d0c353"]},"r2_bucket_name":{"description":"Name of the bucket.","type":"string","maxLength":64,"minLength":3,"pattern":"^[a-z0-9][a-z0-9-]*[a-z0-9]","examples":["example-bucket"]}}},"name":"Get Bucket Job","id":"cloudflare.r2-get-bucket-job","example":{"path":{"account_id":"023e105f4ecef8ad9ca31a8372d0c353","bucket_name":"example-bucket","job_id":"example"}},"maxRequests":1,"summary":false}}