Skip to main content
GET
/
integration
/
{id}
cURL
curl --request GET \
  --url http://sandbox.batuenergy.com/api/v1/integration/{id} \
  --header 'Authorization: Bearer <token>'
{
  "status": "success",
  "data": {
    "execution": "exe_<uuid>",
    "integration": {
      "id": "<uuid>",
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z",
      "name": "<string>",
      "protocol": "HTTP",
      "type": "pull",
      "specs": [
        {
          "granularity": "5m",
          "range": "1mo",
          "schedule": "* * * * *",
          "shift": true
        }
      ],
      "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 integration to return

Response

metric response

status
string
required

Indicates the request was successful

Example:

"success"

data
object
required

The data associated with the response