Cloud Studio IoT Alarms API
Alarms recorded by the platform, open and closed.
Alarms recorded by the platform, open and closed.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/cloudstudioiot:cloudstudioiot-alarms-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Cloudstudioiot Alarms API
version: '2'
contact:
name: Cloud Studio IoT
url: https://cloudstudioiot.com/contact
email: info@cloud.studio
termsOfService: https://cloudstudioiot.com/terms
description: 'Operations tagged Alarms across 2 of this provider''s published API definitions: cloudstudioiot-openapi.yaml, cloudstudioiot-openapi.yaml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://{host}
description: A Cloud Studio IoT instance. Dedicated and on-premise instances use their own host.
variables:
host:
default: gear.cloud.studio
- url: https://gear.cloud.studio
description: The shared Cloud Studio IoT cloud instance.
security:
- bearerToken: []
- accessTokenQuery: []
tags:
- name: Alarms
description: Alarms recorded by the platform, open and closed.
externalDocs:
url: https://cloudstudioiot.com/docs/apis-de-extraccion-de-datos/alarmas
paths:
/api/v2/alarms:
get:
operationId: listAlarms
tags:
- Alarms
summary: List alarms
description: Send one, and only one, of `clientID`, `facilityID`, `deviceID` or `endpointID`.
parameters:
- $ref: '#/components/parameters/clientID'
- $ref: '#/components/parameters/facilityID'
- $ref: '#/components/parameters/deviceID'
- $ref: '#/components/parameters/endpointID'
- $ref: '#/components/parameters/dateFrom'
- $ref: '#/components/parameters/dateTo'
- name: state
in: query
description: Alarm state to return.
schema:
type: string
enum:
- open
- closed
- all
- $ref: '#/components/parameters/maxCount500'
responses:
'200':
description: Matching alarms.
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/Alarm'
'500':
$ref: '#/components/responses/ServiceException'
servers:
- url: https://{host}
description: A Cloud Studio IoT instance. Dedicated and on-premise instances use their own host.
variables:
host:
default: gear.cloud.studio
/api/v2/alarms/incremental/{sequenceNumber}:
get:
operationId: listAlarmsIncremental
tags:
- Alarms
summary: List alarms changed since a sequence number
description: 'Returns alarms whose `SequenceNumber` is higher than the one sent. An
alarm gets a new sequence number when it changes, including when it is
closed. Send one, and only one, of `clientID`, `facilityID`, `deviceID`
or `endpointID`, and keep the same filter between calls.'
parameters:
- $ref: '#/components/parameters/sequenceNumber'
- $ref: '#/components/parameters/clientID'
- $ref: '#/components/parameters/facilityID'
- $ref: '#/components/parameters/deviceID'
- $ref: '#/components/parameters/endpointID'
- $ref: '#/components/parameters/maxCount500'
responses:
'200':
description: Alarms changed since `sequenceNumber`. An empty list means there is nothing new.
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/Alarm'
'500':
$ref: '#/components/responses/ServiceException'
servers:
- url: https://{host}
description: A Cloud Studio IoT instance. Dedicated and on-premise instances use their own host.
variables:
host:
default: gear.cloud.studio
/api/v2/alarms/{alarmID}:
get:
operationId: getAlarm
tags:
- Alarms
summary: Get an alarm by ID
parameters:
- name: alarmID
in: path
required: true
description: Unique identifier of the alarm.
schema:
type: integer
responses:
'200':
description: The alarm.
content:
application/json:
schema:
$ref: '#/components/schemas/Alarm'
'500':
$ref: '#/components/responses/ServiceException'
servers:
- url: https://{host}
description: A Cloud Studio IoT instance. Dedicated and on-premise instances use their own host.
variables:
host:
default: gear.cloud.studio
components:
parameters:
clientID:
name: clientID
in: query
description: Only items of this client.
schema:
type: integer
dateFrom:
name: dateFrom
in: query
description: Date from which items are returned.
schema:
type: string
endpointID:
name: endpointID
in: query
description: Only items of this endpoint.
schema:
type: integer
deviceID:
name: deviceID
in: query
description: Only items of this device.
schema:
type: integer
maxCount500:
name: maxCount
in: query
description: Maximum number of records in the result. Values above 500 are limited to 500.
schema:
type: integer
maximum: 500
facilityID:
name: facilityID
in: query
description: Only items of this facility.
schema:
type: integer
dateTo:
name: dateTo
in: query
description: Date until which items are returned.
schema:
type: string
sequenceNumber:
name: sequenceNumber
in: path
required: true
description: '`SequenceNumber` of the last item received. Use 0 to start from the beginning.'
schema:
type: integer
format: int64
minimum: 0
schemas:
Alarm:
type: object
properties:
AlarmID:
type: integer
DeviceID:
type: integer
EndpointID:
type: integer
AlarmTypeID:
type: integer
AlarmTypeDescription:
type: string
AlarmSeverityID:
type: integer
enum:
- 0
- 1
- 2
- 3
description: 0 information, 1 low, 2 medium, 3 high.
AlarmSeverityDescription:
type: string
Details:
type: string
DateTimeCreated_UTC:
type: string
DateTimeClosed_UTC:
type: string
SequenceNumber:
type: integer
format: int64
ErrorResponse:
type: object
required:
- Exception
properties:
Exception:
type: object
required:
- FaultCode
properties:
ClassName:
type: string
description: Type of the exception on the server.
FaultCode:
type: string
description: Numeric error code sent as text. Stable between versions; use it to decide how to react.
examples:
- '8001'
- '100004'
FaultData:
type: string
description: Additional data about the error. Usually empty.
Message:
type: string
description: Human-readable description, translated to the user's language. Not stable; do not parse it.
responses:
ServiceException:
description: The request failed. A missing, invalid or expired access token is also reported this way.
content:
application/json:
schema:
type: object
properties:
Exception:
type: object
properties:
ClassName:
type: string
FaultCode:
type: string
FaultData:
type: string
Message:
type: string
example:
Exception:
ClassName: ServiceException
FaultCode: '8001'
FaultData: ''
Message: The access token is invalid or it doesn't have sufficient permissions to execute the requested operation
ServiceException_2:
description: 'The request failed. Every error, including a missing or invalid access
token and a wrong or missing parameter, is returned as HTTP 500 with
this body; the API does not answer 400 or 401. Decide what to do from
`FaultCode`, which is stable; `Message` is translated and can change.
Common `FaultCode` values:
| FaultCode | Meaning |
| --- | --- |
| 8000 | The access token has no permission for this API. |
| 8001 | The access token is missing, does not exist or has expired. |
| 8002 | The account is disabled. |
| 8004 | No permission on the requested resource. |
| 100000 | A required value is missing. |
| 100004 | A value is not valid or exceeds a limit. |
| 100001 | Unexpected error. |
Retrying the same call does not fix 8000, 8001, 8002, 8004, 100000 or
100004: correct the request or the token first.
'
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
example:
Exception:
ClassName: ServiceException
FaultCode: '8001'
FaultData: ''
Message: The access token is invalid or it doesn't have sufficient permissions to execute the requested operation
securitySchemes:
bearerToken:
type: http
scheme: bearer
description: 'Persistent access token sent as `Authorization: Bearer {accessToken}`.'
accessTokenQuery:
type: apiKey
in: query
name: accessToken
description: The same access token in the query string, for clients that cannot set headers.
externalDocs:
description: Data Extraction APIs documentation
url: https://cloudstudioiot.com/docs/apis-de-extraccion-de-datos
x-refined-from:
- cloudstudioiot-openapi.yaml
- cloudstudioiot-openapi.yaml