Skip to content

Cognitive Systems App Core API

The Core APIs facilitate the creation, configuration, and management of WiFi Motion networks via RESTful APIs. It offers interfaces for accessing topologies, events, motion data, and more.

Download OpenAPI description
Languages
Servers
Mock server
https://docs.cognitivesystems.com/_mock/assets/specs/api/core/

Network Settings

Operations

Motion History

Operations

Live Motion

Operations

Events

Operations

Insights v2

Operations

Universal Alerting

Operations

Network Status

Operations

Network Meta

Operations

Location Data

Operations

Find

Operations

Application Settings

Operations

Sensor Integration

Operations

List Sensors

Request

Provides a list of sensor devices (such as hubs, vibration, humidity and temperature sensors) that have been added to the network.

Security
ApiKey
Path
network_idintegerrequired

Motion Network ID (returned as 'id' by Find API calls)

curl -i -X GET \
  'https://docs.cognitivesystems.com/_mock/assets/specs/api/core/sensors/network/{network_id}/list' \
  -H 'Authorization: YOUR_API_KEY_HERE'

Responses

200 OK

Bodyapplication/json
network_idinteger

The network ID of the WiFi Motion network.

devicesArray of objects

The list of sensors that are associated with the WiFi Motion network. This includes hubs, vibration, humidity, and temperature sensors.

Response
application/json
{ "network_id": 123, "devices": [ { … }, { … }, { … }, { … } ] }

Obtain Sensor Data

Request

Provides sensor data for the specified timeframe, if available.

Security
ApiKey
Path
network_idintegerrequired

Motion Network ID (returned as 'id' by Find API calls)

sensorstringrequired

The ID of the Sensor. Also accepts the string all, which will return all sensors data for the corresponding network.

Query
fromnumber

The starting time for the query in epoch format. Defaults current time minus 1 hour (current epoch time minus 3600).

tonumber

The ending time for the query in epoch format. Defaults to the current time.

curl -i -X GET \
  'https://docs.cognitivesystems.com/_mock/assets/specs/api/core/sensors/network/{network_id}/history/{sensor}?from=0&to=0' \
  -H 'Authorization: YOUR_API_KEY_HERE'

Responses

200 OK

Bodyapplication/json
network_idinteger

The network ID of the WiFi Motion network.

fromstring

The starting time of the query.

tostring

The ending time of the query.

dataArray of objects

The list of sensors that are associated with the WiFi Motion network. This includes hubs, vibration, humidity, and temperature sensors.

Response
application/json
{ "network_id": 123, "from": "December 8, 2025 at 1:31:53 PM UTC", "to": "December 8, 2025 at 1:34:53 PM UTC", "data": [ { … }, { … }, { … }, { … } ] }

Config

Operations

Node

Operations

Management

Operations