List All Events received from all edge servers
/api/v1/events
API to retrieve a list of events from all edge servers. The result is paginated based on the provided query parameters. Refer to the Event Object for more details.
Access Token
is required via Bearer token authentication. Refer to the Authentication section for more details.
{
"page": 1,
"size": 10,
"total_cnt": 100,
"max_page": 10,
"results": [
{
"id": "string",
"label": {
"id": "string",
"name": {
"ko": "string",
"en": "string"
}
},
"confidence": 0,
"mic": {
"id": "string",
"name": "string",
"location": {
"latitude": -90,
"longitude": -180
}
},
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z"
}
]
}
const response = await fetch('https://openapi.deeplyinc.com/api/v1/events?page=1&size=10', {
method: 'GET',
headers: {
"Authorization": "Bearer YOUR_ACCESS_TOKEN"
}
});
const data = await response.json();
const response = await fetch('https://openapi.deeplyinc.com/api/v1/events?page=1&size=10&start=2024-01-01T00:00:00Z&end=2024-01-31T23:59:59Z', {
method: 'GET',
headers: {
"Authorization": "Bearer YOUR_ACCESS_TOKEN"
}
});
const data = await response.json();
const response = await fetch('https://openapi.deeplyinc.com/api/v1/events?page=1&size=10&mic_id=example_mic_id&label_id=normal_speech_female', {
method: 'GET',
headers: {
"Authorization": "Bearer YOUR_ACCESS_TOKEN"
}
});
const data = await response.json();
const response = await fetch('https://openapi.deeplyinc.com/api/v1/events?page=1&size=10&mic_id=example_mic_id1&mic_id=example_mic_id2', {
method: 'GET',
headers: {
"Authorization": "Bearer YOUR_ACCESS_TOKEN"
}
});
const data = await response.json();
1
10
null
null
null
null
Page number for pagination (must be > 0)
Number of items per page (must be > 0 and < 101)
Start datetime for filtering events (ISO 8601 format)
End datetime for filtering events (ISO 8601 format)
Filter events by mic ID. Combine with multiple query parameters to filter multiple mic IDs
Filter events by label ID. Combine with multiple query parameter to filter multiple label IDs