Control
Retrieve a control action
Retrieves a control actions.
GET
/
v1
/
controls
/
{control_id}
curl --request GET \
--url https://api.amberflow.io/v1/controls/{control_id} \
--header 'X-API-Key: <api-key>'
{
"id": "ctrl_test8j9ahjsdf",
"created_at": "2025-05-13T11:52:00+00:00",
"time_from": "2025-05-13T11:52:00+00:00",
"time_to": "2025-05-13T12:52:00+00:00",
"type": "MAX_PRODUCTION",
"results": [
{
"time_from": "2025-05-13T11:52:00+00:00",
"time_to": "2025-05-13T12:52:00+00:00",
"isp": 1,
"before": 100,
"after": 10,
"delta": -90
}
]
}
Authorizations
Path Parameters
Response
200
application/json
Successful Response
The response is of type object
.
curl --request GET \
--url https://api.amberflow.io/v1/controls/{control_id} \
--header 'X-API-Key: <api-key>'
{
"id": "ctrl_test8j9ahjsdf",
"created_at": "2025-05-13T11:52:00+00:00",
"time_from": "2025-05-13T11:52:00+00:00",
"time_to": "2025-05-13T12:52:00+00:00",
"type": "MAX_PRODUCTION",
"results": [
{
"time_from": "2025-05-13T11:52:00+00:00",
"time_to": "2025-05-13T12:52:00+00:00",
"isp": 1,
"before": 100,
"after": 10,
"delta": -90
}
]
}
Assistant
Responses are generated using AI and may contain mistakes.