Skip to main content
GET
/
job
/
{id}
cURL
curl --request GET \
  --url http://sandbox.batuenergy.com/api/v1/job/{id} \
  --header 'Authorization: Bearer <token>'
{
  "status": "success",
  "data": {
    "execution": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "job": {
      "id": "<uuid>",
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z",
      "process": "prc_<uuid>",
      "description": "<string>",
      "startTs": 123,
      "endTs": 123,
      "granularity": "5m",
      "shift": "1m",
      "status": "IN QUEUE",
      "metadata": "<string>"
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string<uuid>
required

ID of the job to retrieve

Response

Job response

status
string
required

Indicates the request was successful

Example:

"success"

data
object
required

The data associated with the response