OpenAPI Spec
This is the reference for all endpoints of the Surfmeter Export API, rendered from its OpenAPI 3.1 spec. For hand-written explanations and more examples, see the Resources page.
You can also download the spec as a single YAML file at /assets/openapi/export_api-v1.yml and use it with OpenAPI tooling, such as Postman or code generators.
Surfmeter Export API v1
API for exporting data from the Surfmeter platform. Provides access to measurements, client reports, event bundles, client information, user feedback, and network requests. Also supports advanced search capabilities via Elasticsearch Query DSL and ES|QL.
Servers
| Description | URL |
|---|---|
| https://surfmeter-server.{host}/export_api/v1 | https://surfmeter-server.{host}/export_api/v1 |
Endpoints
GET /version
Get the server version
Description
Returns the version of the Surfmeter Server. This is the only endpoint that does not require an API key.
Response 200 OK
- application/json
{
"version": "string"
}
⚠️ This example has been generated automatically from the schema and it is not accurate. Refer to the schema for more information.Schema of the response body
GET /measurements
Get measurements
Input parameters
| Parameter | In | Type | Default | Nullable | Description |
|---|---|---|---|---|---|
ApiKeyAuth |
header | string | N/A | No | API key |
client_uuid |
query | string | No | Specify a client UUID to query data from. Note: overrides any tags specified. | |
end_time |
query | string | No | Define an end time in ISO-8601 format (e.g., 2021-01-02T00:00:00Z) up until which records will be queried. This applies to the created_at attribute of the record. | |
label |
query | string | No | Filter by client's label. | |
measurement_id |
query | integer | No | A single measurement ID to query. Note: overrides all other parameters. | |
page |
query | integer | 1 | No | The page number for pagination. |
per_page |
query | integer | 1000 | No | The number of records per page. Cannot exceed 1000. |
start_time |
query | string | No | Define a start time in ISO-8601 format (e.g., 2021-01-01T00:00:00Z) from which records will be queried. This applies to the created_at attribute of the record. | |
study_id |
query | array | No | The study ID of the measurement. | |
subject |
query | array | No | The subject of the measurement. | |
tags |
query | array | No | Filter by client's tags. If multiple tags are specified, all of them must be assigned to the client. Can be specified multiple times (e.g., tags=foo&tags=bar) or as a comma-separated list (e.g., tags=foo,bar). | |
type |
query | string | No | The type of the measurement. |
Response 200 OK
- application/json
[
null
]
⚠️ This example has been generated automatically from the schema and it is not accurate. Refer to the schema for more information.Schema of the response body
Response headers
<table>
<thead>
<tr>
<th>Name</th>
<th>Description</th>
<th>Schema</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>Per-Page</code></td>
<td>The number of elements shown per page.</td>
<td><span class="integer-type">integer</span></td>
</tr>
<tr>
<td><code>Total</code></td>
<td>The number of total elements available.</td>
<td><span class="integer-type">integer</span></td>
</tr>
<tr>
<td><code>Link</code></td>
<td>Links for pagination (RFC 8288).</td>
<td><span class="string-type">string</span></td>
</tr>
</tbody>
</table>
Response 403 Forbidden
- application/json
{
"message": "string",
"details": "string"
}
⚠️ This example has been generated automatically from the schema and it is not accurate. Refer to the schema for more information.Schema of the response body
HEAD /measurements
Get measurement count
Input parameters
| Parameter | In | Type | Default | Nullable | Description |
|---|---|---|---|---|---|
ApiKeyAuth |
header | string | N/A | No | API key |
client_uuid |
query | string | No | Specify a client UUID to query data from. Note: overrides any tags specified. | |
end_time |
query | string | No | Define an end time in ISO-8601 format (e.g., 2021-01-02T00:00:00Z) up until which records will be queried. This applies to the created_at attribute of the record. | |
label |
query | string | No | Filter by client's label. | |
measurement_id |
query | integer | No | A single measurement ID to query. Note: overrides all other parameters. | |
start_time |
query | string | No | Define a start time in ISO-8601 format (e.g., 2021-01-01T00:00:00Z) from which records will be queried. This applies to the created_at attribute of the record. | |
study_id |
query | array | No | The study ID of the measurement. | |
subject |
query | array | No | The subject of the measurement. | |
tags |
query | array | No | Filter by client's tags. If multiple tags are specified, all of them must be assigned to the client. Can be specified multiple times (e.g., tags=foo&tags=bar) or as a comma-separated list (e.g., tags=foo,bar). | |
type |
query | string | No | The type of the measurement. |
Response 200 OK
Response headers
<table>
<thead>
<tr>
<th>Name</th>
<th>Description</th>
<th>Schema</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>Total</code></td>
<td>The number of total elements available.</td>
<td><span class="integer-type">integer</span></td>
</tr>
</tbody>
</table>
Response 403 Forbidden
GET /client_reports
Get client reports
Input parameters
| Parameter | In | Type | Default | Nullable | Description |
|---|---|---|---|---|---|
ApiKeyAuth |
header | string | N/A | No | API key |
client_uuid |
query | string | No | Specify a client UUID to query data from. Note: overrides any tags specified. | |
end_time |
query | string | No | Define an end time in ISO-8601 format (e.g., 2021-01-02T00:00:00Z) up until which records will be queried. This applies to the created_at attribute of the record. | |
label |
query | string | No | Filter by client's label. | |
measurement_id |
query | integer | No | A single measurement ID to query. Note: overrides all other parameters. | |
page |
query | integer | 1 | No | The page number for pagination. |
per_page |
query | integer | 1000 | No | The number of records per page. Cannot exceed 1000. |
start_time |
query | string | No | Define a start time in ISO-8601 format (e.g., 2021-01-01T00:00:00Z) from which records will be queried. This applies to the created_at attribute of the record. | |
tags |
query | array | No | Filter by client's tags. If multiple tags are specified, all of them must be assigned to the client. Can be specified multiple times (e.g., tags=foo&tags=bar) or as a comma-separated list (e.g., tags=foo,bar). | |
type |
query | string | No | The type of the client report. |
Response 200 OK
- application/json
[
null
]
⚠️ This example has been generated automatically from the schema and it is not accurate. Refer to the schema for more information.Schema of the response body
Response headers
<table>
<thead>
<tr>
<th>Name</th>
<th>Description</th>
<th>Schema</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>Per-Page</code></td>
<td></td>
<td><span class="integer-type">integer</span></td>
</tr>
<tr>
<td><code>Total</code></td>
<td></td>
<td><span class="integer-type">integer</span></td>
</tr>
<tr>
<td><code>Link</code></td>
<td></td>
<td><span class="string-type">string</span></td>
</tr>
</tbody>
</table>
Response 403 Forbidden
- application/json
{
"message": "string",
"details": "string"
}
⚠️ This example has been generated automatically from the schema and it is not accurate. Refer to the schema for more information.Schema of the response body
HEAD /client_reports
Get client report count
Input parameters
| Parameter | In | Type | Default | Nullable | Description |
|---|---|---|---|---|---|
ApiKeyAuth |
header | string | N/A | No | API key |
client_uuid |
query | string | No | Specify a client UUID to query data from. Note: overrides any tags specified. | |
end_time |
query | string | No | Define an end time in ISO-8601 format (e.g., 2021-01-02T00:00:00Z) up until which records will be queried. This applies to the created_at attribute of the record. | |
label |
query | string | No | Filter by client's label. | |
measurement_id |
query | integer | No | A single measurement ID to query. Note: overrides all other parameters. | |
start_time |
query | string | No | Define a start time in ISO-8601 format (e.g., 2021-01-01T00:00:00Z) from which records will be queried. This applies to the created_at attribute of the record. | |
tags |
query | array | No | Filter by client's tags. If multiple tags are specified, all of them must be assigned to the client. Can be specified multiple times (e.g., tags=foo&tags=bar) or as a comma-separated list (e.g., tags=foo,bar). | |
type |
query | string | No | The type of the client report. |
Response 200 OK
Response headers
<table>
<thead>
<tr>
<th>Name</th>
<th>Description</th>
<th>Schema</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>Total</code></td>
<td></td>
<td><span class="integer-type">integer</span></td>
</tr>
</tbody>
</table>
Response 403 Forbidden
GET /network_requests
Get network requests
Input parameters
| Parameter | In | Type | Default | Nullable | Description |
|---|---|---|---|---|---|
ApiKeyAuth |
header | string | N/A | No | API key |
client_uuid |
query | string | No | Specify a client UUID to query data from. Note: overrides any tags specified. | |
end_time |
query | string | No | Define an end time in ISO-8601 format (e.g., 2021-01-02T00:00:00Z) up until which records will be queried. This applies to the created_at attribute of the record. | |
label |
query | string | No | Filter by client's label. | |
measurement_id |
query | integer | No | A single measurement ID to query. Note: overrides all other parameters. | |
page |
query | integer | 1 | No | The page number for pagination. |
per_page |
query | integer | 1000 | No | The number of records per page. Cannot exceed 1000. |
start_time |
query | string | No | Define a start time in ISO-8601 format (e.g., 2021-01-01T00:00:00Z) from which records will be queried. This applies to the created_at attribute of the record. | |
tags |
query | array | No | Filter by client's tags. If multiple tags are specified, all of them must be assigned to the client. Can be specified multiple times (e.g., tags=foo&tags=bar) or as a comma-separated list (e.g., tags=foo,bar). |
Response 200 OK
- application/json
[
null
]
⚠️ This example has been generated automatically from the schema and it is not accurate. Refer to the schema for more information.Schema of the response body
Response headers
<table>
<thead>
<tr>
<th>Name</th>
<th>Description</th>
<th>Schema</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>Per-Page</code></td>
<td></td>
<td><span class="integer-type">integer</span></td>
</tr>
<tr>
<td><code>Total</code></td>
<td></td>
<td><span class="integer-type">integer</span></td>
</tr>
<tr>
<td><code>Link</code></td>
<td></td>
<td><span class="string-type">string</span></td>
</tr>
</tbody>
</table>
Response 403 Forbidden
- application/json
{
"message": "string",
"details": "string"
}
⚠️ This example has been generated automatically from the schema and it is not accurate. Refer to the schema for more information.Schema of the response body
HEAD /network_requests
Get network request count
Input parameters
| Parameter | In | Type | Default | Nullable | Description |
|---|---|---|---|---|---|
ApiKeyAuth |
header | string | N/A | No | API key |
client_uuid |
query | string | No | Specify a client UUID to query data from. Note: overrides any tags specified. | |
end_time |
query | string | No | Define an end time in ISO-8601 format (e.g., 2021-01-02T00:00:00Z) up until which records will be queried. This applies to the created_at attribute of the record. | |
label |
query | string | No | Filter by client's label. | |
measurement_id |
query | integer | No | A single measurement ID to query. Note: overrides all other parameters. | |
start_time |
query | string | No | Define a start time in ISO-8601 format (e.g., 2021-01-01T00:00:00Z) from which records will be queried. This applies to the created_at attribute of the record. | |
tags |
query | array | No | Filter by client's tags. If multiple tags are specified, all of them must be assigned to the client. Can be specified multiple times (e.g., tags=foo&tags=bar) or as a comma-separated list (e.g., tags=foo,bar). |
Response 200 OK
Response headers
<table>
<thead>
<tr>
<th>Name</th>
<th>Description</th>
<th>Schema</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>Total</code></td>
<td></td>
<td><span class="integer-type">integer</span></td>
</tr>
</tbody>
</table>
Response 403 Forbidden
GET /event_bundles
Get event bundles
Input parameters
| Parameter | In | Type | Default | Nullable | Description |
|---|---|---|---|---|---|
ApiKeyAuth |
header | string | N/A | No | API key |
client_uuid |
query | string | No | Specify a client UUID to query data from. Note: overrides any tags specified. | |
end_time |
query | string | No | Define an end time in ISO-8601 format (e.g., 2021-01-02T00:00:00Z) up until which records will be queried. This applies to the created_at attribute of the record. | |
label |
query | string | No | Filter by client's label. | |
measurement_id |
query | integer | No | A single measurement ID to query. Note: overrides all other parameters. | |
page |
query | integer | 1 | No | The page number for pagination. |
per_page |
query | integer | 1000 | No | The number of records per page. Cannot exceed 1000. |
start_time |
query | string | No | Define a start time in ISO-8601 format (e.g., 2021-01-01T00:00:00Z) from which records will be queried. This applies to the created_at attribute of the record. | |
tags |
query | array | No | Filter by client's tags. If multiple tags are specified, all of them must be assigned to the client. Can be specified multiple times (e.g., tags=foo&tags=bar) or as a comma-separated list (e.g., tags=foo,bar). | |
type |
query | string | No | The type of the event bundle. |
Response 200 OK
- application/json
[
null
]
⚠️ This example has been generated automatically from the schema and it is not accurate. Refer to the schema for more information.Schema of the response body
Response headers
<table>
<thead>
<tr>
<th>Name</th>
<th>Description</th>
<th>Schema</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>Per-Page</code></td>
<td></td>
<td><span class="integer-type">integer</span></td>
</tr>
<tr>
<td><code>Total</code></td>
<td></td>
<td><span class="integer-type">integer</span></td>
</tr>
<tr>
<td><code>Link</code></td>
<td></td>
<td><span class="string-type">string</span></td>
</tr>
</tbody>
</table>
Response 403 Forbidden
- application/json
{
"message": "string",
"details": "string"
}
⚠️ This example has been generated automatically from the schema and it is not accurate. Refer to the schema for more information.Schema of the response body
HEAD /event_bundles
Get event bundle count
Input parameters
| Parameter | In | Type | Default | Nullable | Description |
|---|---|---|---|---|---|
ApiKeyAuth |
header | string | N/A | No | API key |
client_uuid |
query | string | No | Specify a client UUID to query data from. Note: overrides any tags specified. | |
end_time |
query | string | No | Define an end time in ISO-8601 format (e.g., 2021-01-02T00:00:00Z) up until which records will be queried. This applies to the created_at attribute of the record. | |
label |
query | string | No | Filter by client's label. | |
measurement_id |
query | integer | No | A single measurement ID to query. Note: overrides all other parameters. | |
start_time |
query | string | No | Define a start time in ISO-8601 format (e.g., 2021-01-01T00:00:00Z) from which records will be queried. This applies to the created_at attribute of the record. | |
tags |
query | array | No | Filter by client's tags. If multiple tags are specified, all of them must be assigned to the client. Can be specified multiple times (e.g., tags=foo&tags=bar) or as a comma-separated list (e.g., tags=foo,bar). | |
type |
query | string | VideoEventBundle | No | The type of the event bundle. |
Response 200 OK
Response headers
<table>
<thead>
<tr>
<th>Name</th>
<th>Description</th>
<th>Schema</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>Total</code></td>
<td></td>
<td><span class="integer-type">integer</span></td>
</tr>
</tbody>
</table>
Response 403 Forbidden
GET /clients
Get clients
Input parameters
| Parameter | In | Type | Default | Nullable | Description |
|---|---|---|---|---|---|
ApiKeyAuth |
header | string | N/A | No | API key |
client_uuid |
query | string | No | Specify a client UUID to query data from. Note: overrides any tags specified. | |
end_time |
query | string | No | Define an end time in ISO-8601 format (e.g., 2021-01-02T00:00:00Z) up until which records will be queried. This applies to the created_at attribute of the record. | |
label |
query | string | No | Filter by client's label. | |
page |
query | integer | 1 | No | The page number for pagination. |
per_page |
query | integer | 1000 | No | The number of records per page. Cannot exceed 1000. |
start_time |
query | string | No | Define a start time in ISO-8601 format (e.g., 2021-01-01T00:00:00Z) from which records will be queried. This applies to the created_at attribute of the record. | |
tags |
query | array | No | Filter by client's tags. If multiple tags are specified, all of them must be assigned to the client. Can be specified multiple times (e.g., tags=foo&tags=bar) or as a comma-separated list (e.g., tags=foo,bar). |
Response 200 OK
- application/json
[
null
]
⚠️ This example has been generated automatically from the schema and it is not accurate. Refer to the schema for more information.Schema of the response body
Response headers
<table>
<thead>
<tr>
<th>Name</th>
<th>Description</th>
<th>Schema</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>Per-Page</code></td>
<td></td>
<td><span class="integer-type">integer</span></td>
</tr>
<tr>
<td><code>Total</code></td>
<td></td>
<td><span class="integer-type">integer</span></td>
</tr>
<tr>
<td><code>Link</code></td>
<td></td>
<td><span class="string-type">string</span></td>
</tr>
</tbody>
</table>
Response 403 Forbidden
- application/json
{
"message": "string",
"details": "string"
}
⚠️ This example has been generated automatically from the schema and it is not accurate. Refer to the schema for more information.Schema of the response body
HEAD /clients
Get client count
Input parameters
| Parameter | In | Type | Default | Nullable | Description |
|---|---|---|---|---|---|
ApiKeyAuth |
header | string | N/A | No | API key |
client_uuid |
query | string | No | Specify a client UUID to query data from. Note: overrides any tags specified. | |
end_time |
query | string | No | Define an end time in ISO-8601 format (e.g., 2021-01-02T00:00:00Z) up until which records will be queried. This applies to the created_at attribute of the record. | |
label |
query | string | No | Filter by client's label. | |
start_time |
query | string | No | Define a start time in ISO-8601 format (e.g., 2021-01-01T00:00:00Z) from which records will be queried. This applies to the created_at attribute of the record. | |
tags |
query | array | No | Filter by client's tags. If multiple tags are specified, all of them must be assigned to the client. Can be specified multiple times (e.g., tags=foo&tags=bar) or as a comma-separated list (e.g., tags=foo,bar). |
Response 200 OK
Response headers
<table>
<thead>
<tr>
<th>Name</th>
<th>Description</th>
<th>Schema</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>Total</code></td>
<td></td>
<td><span class="integer-type">integer</span></td>
</tr>
</tbody>
</table>
Response 403 Forbidden
GET /user_feedbacks
Get user feedbacks
Input parameters
| Parameter | In | Type | Default | Nullable | Description |
|---|---|---|---|---|---|
ApiKeyAuth |
header | string | N/A | No | API key |
client_uuid |
query | string | No | Specify a client UUID to query data from. Note: overrides any tags specified. | |
end_time |
query | string | No | Define an end time in ISO-8601 format (e.g., 2021-01-02T00:00:00Z) up until which records will be queried. This applies to the created_at attribute of the record. | |
label |
query | string | No | Filter by client's label. | |
page |
query | integer | 1 | No | The page number for pagination. |
per_page |
query | integer | 1000 | No | The number of records per page. Cannot exceed 1000. |
start_time |
query | string | No | Define a start time in ISO-8601 format (e.g., 2021-01-01T00:00:00Z) from which records will be queried. This applies to the created_at attribute of the record. | |
tags |
query | array | No | Filter by client's tags. If multiple tags are specified, all of them must be assigned to the client. Can be specified multiple times (e.g., tags=foo&tags=bar) or as a comma-separated list (e.g., tags=foo,bar). | |
type |
query | string | No | The type of the user feedback. Available types depend on your specific application. |
Response 200 OK
- application/json
[
null
]
⚠️ This example has been generated automatically from the schema and it is not accurate. Refer to the schema for more information.Schema of the response body
Response headers
<table>
<thead>
<tr>
<th>Name</th>
<th>Description</th>
<th>Schema</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>Per-Page</code></td>
<td></td>
<td><span class="integer-type">integer</span></td>
</tr>
<tr>
<td><code>Total</code></td>
<td></td>
<td><span class="integer-type">integer</span></td>
</tr>
<tr>
<td><code>Link</code></td>
<td></td>
<td><span class="string-type">string</span></td>
</tr>
</tbody>
</table>
Response 403 Forbidden
- application/json
{
"message": "string",
"details": "string"
}
⚠️ This example has been generated automatically from the schema and it is not accurate. Refer to the schema for more information.Schema of the response body
HEAD /user_feedbacks
Get user feedback count
Input parameters
| Parameter | In | Type | Default | Nullable | Description |
|---|---|---|---|---|---|
ApiKeyAuth |
header | string | N/A | No | API key |
client_uuid |
query | string | No | Specify a client UUID to query data from. Note: overrides any tags specified. | |
end_time |
query | string | No | Define an end time in ISO-8601 format (e.g., 2021-01-02T00:00:00Z) up until which records will be queried. This applies to the created_at attribute of the record. | |
label |
query | string | No | Filter by client's label. | |
start_time |
query | string | No | Define a start time in ISO-8601 format (e.g., 2021-01-01T00:00:00Z) from which records will be queried. This applies to the created_at attribute of the record. | |
tags |
query | array | No | Filter by client's tags. If multiple tags are specified, all of them must be assigned to the client. Can be specified multiple times (e.g., tags=foo&tags=bar) or as a comma-separated list (e.g., tags=foo,bar). | |
type |
query | string | No | The type of the user feedback. |
Response 200 OK
Response headers
<table>
<thead>
<tr>
<th>Name</th>
<th>Description</th>
<th>Schema</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>Total</code></td>
<td></td>
<td><span class="integer-type">integer</span></td>
</tr>
</tbody>
</table>
Response 403 Forbidden
GET /connection_detail_traces
Get connection detail traces
Description
Returns the connection detail traces of the measurements matching the given filters. Measurements without a connection detail trace are skipped.
Input parameters
| Parameter | In | Type | Default | Nullable | Description |
|---|---|---|---|---|---|
ApiKeyAuth |
header | string | N/A | No | API key |
client_uuid |
query | string | No | Specify a client UUID to query data from. Note: overrides any tags specified. | |
end_time |
query | string | No | Define an end time in ISO-8601 format (e.g., 2021-01-02T00:00:00Z) up until which records will be queried. This applies to the created_at attribute of the record. | |
label |
query | string | No | Filter by client's label. | |
measurement_id |
query | integer | No | A single measurement ID to query. Note: overrides all other parameters. | |
page |
query | integer | 1 | No | The page number for pagination. |
per_page |
query | integer | 1000 | No | The number of records per page. Cannot exceed 1000. |
start_time |
query | string | No | Define a start time in ISO-8601 format (e.g., 2021-01-01T00:00:00Z) from which records will be queried. This applies to the created_at attribute of the record. | |
tags |
query | array | No | Filter by client's tags. If multiple tags are specified, all of them must be assigned to the client. Can be specified multiple times (e.g., tags=foo&tags=bar) or as a comma-separated list (e.g., tags=foo,bar). |
Response 200 OK
- application/json
[
null
]
⚠️ This example has been generated automatically from the schema and it is not accurate. Refer to the schema for more information.Schema of the response body
Response headers
<table>
<thead>
<tr>
<th>Name</th>
<th>Description</th>
<th>Schema</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>Per-Page</code></td>
<td></td>
<td><span class="integer-type">integer</span></td>
</tr>
<tr>
<td><code>Total</code></td>
<td></td>
<td><span class="integer-type">integer</span></td>
</tr>
<tr>
<td><code>Link</code></td>
<td></td>
<td><span class="string-type">string</span></td>
</tr>
</tbody>
</table>
Response 403 Forbidden
- application/json
{
"message": "string",
"details": "string"
}
⚠️ This example has been generated automatically from the schema and it is not accurate. Refer to the schema for more information.Schema of the response body
HEAD /connection_detail_traces
Get connection detail trace count
Input parameters
| Parameter | In | Type | Default | Nullable | Description |
|---|---|---|---|---|---|
ApiKeyAuth |
header | string | N/A | No | API key |
client_uuid |
query | string | No | Specify a client UUID to query data from. Note: overrides any tags specified. | |
end_time |
query | string | No | Define an end time in ISO-8601 format (e.g., 2021-01-02T00:00:00Z) up until which records will be queried. This applies to the created_at attribute of the record. | |
label |
query | string | No | Filter by client's label. | |
measurement_id |
query | integer | No | A single measurement ID to query. Note: overrides all other parameters. | |
start_time |
query | string | No | Define a start time in ISO-8601 format (e.g., 2021-01-01T00:00:00Z) from which records will be queried. This applies to the created_at attribute of the record. | |
tags |
query | array | No | Filter by client's tags. If multiple tags are specified, all of them must be assigned to the client. Can be specified multiple times (e.g., tags=foo&tags=bar) or as a comma-separated list (e.g., tags=foo,bar). |
Response 200 OK
Response headers
<table>
<thead>
<tr>
<th>Name</th>
<th>Description</th>
<th>Schema</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>Total</code></td>
<td></td>
<td><span class="integer-type">integer</span></td>
</tr>
</tbody>
</table>
Response 403 Forbidden
GET /system_status_records
Get aggregated system status records
Input parameters
| Parameter | In | Type | Default | Nullable | Description |
|---|---|---|---|---|---|
ApiKeyAuth |
header | string | N/A | No | API key |
client_uuid |
query | string | No | Specify a client UUID to query data from. Note: overrides any tags specified. | |
end_time |
query | string | No | Define an end time in ISO-8601 format (e.g., 2021-01-02T00:00:00Z) up until which records will be queried. This applies to the created_at attribute of the record. | |
label |
query | string | No | Filter by client's label. | |
measurement_id |
query | integer | No | A single measurement ID to query. Note: overrides all other parameters. | |
page |
query | integer | 1 | No | The page number for pagination. |
per_page |
query | integer | 1000 | No | The number of records per page. Cannot exceed 1000. |
run_id |
query | string | No | ||
start_time |
query | string | No | Define a start time in ISO-8601 format (e.g., 2021-01-01T00:00:00Z) from which records will be queried. This applies to the created_at attribute of the record. | |
study_id |
query | string | No | ||
tags |
query | array | No | Filter by client's tags. If multiple tags are specified, all of them must be assigned to the client. Can be specified multiple times (e.g., tags=foo&tags=bar) or as a comma-separated list (e.g., tags=foo,bar). |
Response 200 OK
- application/json
[
{
"id": 0,
"client_uuid": "string",
"run_id": "string",
"started_at": "2022-04-13T15:42:05.901Z",
"finished_at": "2022-04-13T15:42:05.901Z",
"created_at": "2022-04-13T15:42:05.901Z",
"platform": "linux",
"runtime_scope": "string",
"sample_interval_seconds": 0,
"measurement_ids": [
0
],
"study_ids": [
"string"
],
"connection_detail_trace_id": 0,
"connection_details": [
{
"id": 0,
"type": "string",
"client_time": "2022-04-13T15:42:05.901Z",
"client_time_skewed": "2022-04-13T15:42:05.901Z",
"mobile_network_type": "string",
"mobile_network_type_general": "string",
"ip_address": "string",
"ssid": "string",
"rssi": 10.12,
"signal_strength": 10.12
}
],
"cpu_valid_sample_count": 0,
"cpu_average_percent": 10.12,
"cpu_max_percent": 10.12,
"cpu_final_percent": 10.12,
"memory_valid_sample_count": 0,
"memory_effective_total_bytes": 197,
"memory_average_percent": 10.12,
"memory_max_percent": 10.12,
"memory_final_percent": 10.12,
"collection_errors": [
"string"
],
"filesystems": [
{
"device": "string",
"mount": "string",
"type": "string",
"writable": true,
"total_bytes": 215,
"valid_sample_count": 0,
"average_percent": 10.12,
"maximum_percent": 10.12,
"final_percent": 10.12,
"minimum_available_bytes": 20,
"final_available_bytes": 132
}
]
}
]
⚠️ This example has been generated automatically from the schema and it is not accurate. Refer to the schema for more information.Schema of the response body
Response 403 Forbidden
HEAD /system_status_records
Get system status record count
Input parameters
| Parameter | In | Type | Default | Nullable | Description |
|---|---|---|---|---|---|
ApiKeyAuth |
header | string | N/A | No | API key |
client_uuid |
query | string | No | Specify a client UUID to query data from. Note: overrides any tags specified. | |
end_time |
query | string | No | Define an end time in ISO-8601 format (e.g., 2021-01-02T00:00:00Z) up until which records will be queried. This applies to the created_at attribute of the record. | |
label |
query | string | No | Filter by client's label. | |
measurement_id |
query | integer | No | A single measurement ID to query. Note: overrides all other parameters. | |
run_id |
query | string | No | ||
start_time |
query | string | No | Define a start time in ISO-8601 format (e.g., 2021-01-01T00:00:00Z) from which records will be queried. This applies to the created_at attribute of the record. | |
study_id |
query | string | No | ||
tags |
query | array | No | Filter by client's tags. If multiple tags are specified, all of them must be assigned to the client. Can be specified multiple times (e.g., tags=foo&tags=bar) or as a comma-separated list (e.g., tags=foo,bar). |
Response 200 OK
Response headers
<table>
<thead>
<tr>
<th>Name</th>
<th>Description</th>
<th>Schema</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>Total</code></td>
<td></td>
<td><span class="integer-type">integer</span></td>
</tr>
</tbody>
</table>
Response 403 Forbidden
GET /geolocation_traces
Get geolocation traces
Description
Returns the geolocation traces of the measurements matching the given filters. Measurements without a geolocation trace are skipped.
Input parameters
| Parameter | In | Type | Default | Nullable | Description |
|---|---|---|---|---|---|
ApiKeyAuth |
header | string | N/A | No | API key |
client_uuid |
query | string | No | Specify a client UUID to query data from. Note: overrides any tags specified. | |
end_time |
query | string | No | Define an end time in ISO-8601 format (e.g., 2021-01-02T00:00:00Z) up until which records will be queried. This applies to the created_at attribute of the record. | |
label |
query | string | No | Filter by client's label. | |
measurement_id |
query | integer | No | A single measurement ID to query. Note: overrides all other parameters. | |
page |
query | integer | 1 | No | The page number for pagination. |
per_page |
query | integer | 1000 | No | The number of records per page. Cannot exceed 1000. |
start_time |
query | string | No | Define a start time in ISO-8601 format (e.g., 2021-01-01T00:00:00Z) from which records will be queried. This applies to the created_at attribute of the record. | |
tags |
query | array | No | Filter by client's tags. If multiple tags are specified, all of them must be assigned to the client. Can be specified multiple times (e.g., tags=foo&tags=bar) or as a comma-separated list (e.g., tags=foo,bar). |
Response 200 OK
- application/json
[
null
]
⚠️ This example has been generated automatically from the schema and it is not accurate. Refer to the schema for more information.Schema of the response body
Response headers
<table>
<thead>
<tr>
<th>Name</th>
<th>Description</th>
<th>Schema</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>Per-Page</code></td>
<td></td>
<td><span class="integer-type">integer</span></td>
</tr>
<tr>
<td><code>Total</code></td>
<td></td>
<td><span class="integer-type">integer</span></td>
</tr>
<tr>
<td><code>Link</code></td>
<td></td>
<td><span class="string-type">string</span></td>
</tr>
</tbody>
</table>
Response 403 Forbidden
- application/json
{
"message": "string",
"details": "string"
}
⚠️ This example has been generated automatically from the schema and it is not accurate. Refer to the schema for more information.Schema of the response body
HEAD /geolocation_traces
Get geolocation trace count
Input parameters
| Parameter | In | Type | Default | Nullable | Description |
|---|---|---|---|---|---|
ApiKeyAuth |
header | string | N/A | No | API key |
client_uuid |
query | string | No | Specify a client UUID to query data from. Note: overrides any tags specified. | |
end_time |
query | string | No | Define an end time in ISO-8601 format (e.g., 2021-01-02T00:00:00Z) up until which records will be queried. This applies to the created_at attribute of the record. | |
label |
query | string | No | Filter by client's label. | |
measurement_id |
query | integer | No | A single measurement ID to query. Note: overrides all other parameters. | |
start_time |
query | string | No | Define a start time in ISO-8601 format (e.g., 2021-01-01T00:00:00Z) from which records will be queried. This applies to the created_at attribute of the record. | |
tags |
query | array | No | Filter by client's tags. If multiple tags are specified, all of them must be assigned to the client. Can be specified multiple times (e.g., tags=foo&tags=bar) or as a comma-separated list (e.g., tags=foo,bar). |
Response 200 OK
Response headers
<table>
<thead>
<tr>
<th>Name</th>
<th>Description</th>
<th>Schema</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>Total</code></td>
<td></td>
<td><span class="integer-type">integer</span></td>
</tr>
</tbody>
</table>
Response 403 Forbidden
POST /search
Search analytics data using Elasticsearch Query DSL
Input parameters
| Parameter | In | Type | Default | Nullable | Description |
|---|---|---|---|---|---|
ApiKeyAuth |
header | string | N/A | No | API key |
q |
query | string | No | A Lucene query string (e.g., 'id:123'). Can be used for simple queries. | |
scroll |
query | string | No | Enable scrolling search with specified scroll timeout (e.g. "1m"). Returns results as streaming NDJSON. | |
source_only |
query | boolean | No | If true, returns only the source documents without Elasticsearch metadata. |
Request body
- application/json
{
"body": {},
"scroll": "string",
"source_only": true
}
⚠️ This example has been generated automatically from the schema and it is not accurate. Refer to the schema for more information.Schema of the request body
Response 200 OK
- application/json
- application/x-ndjson
Schema of the response body
{
"oneOf": [
{
"$ref": "#/components/schemas/ElasticsearchResponse"
},
{
"$ref": "#/components/schemas/SourceDocumentsArray"
}
]
}
"TG9yZW0gaXBzdW0gZG9sb3Igc2l0IGFtZXQ="
⚠️ This example has been generated automatically from the schema and it is not accurate. Refer to the schema for more information.Schema of the response body
Response 400 Bad Request
- application/json
{
"message": "string",
"details": "string"
}
⚠️ This example has been generated automatically from the schema and it is not accurate. Refer to the schema for more information.Schema of the response body
Response 403 Forbidden
- application/json
{
"message": "string",
"details": "string"
}
⚠️ This example has been generated automatically from the schema and it is not accurate. Refer to the schema for more information.Schema of the response body
GET /search
Search analytics data using Elasticsearch Query DSL
Description
Identical to the POST variant, except that the query is passed via the query string. Prefer POST for anything but the simplest queries.
Input parameters
| Parameter | In | Type | Default | Nullable | Description |
|---|---|---|---|---|---|
ApiKeyAuth |
header | string | N/A | No | API key |
body |
query | string | No | The Elasticsearch query body, as a JSON-encoded string. See the Elasticsearch Query DSL documentation for details. | |
q |
query | string | No | A Lucene query string (e.g., 'id:123'). Can be used for simple queries. | |
scroll |
query | string | No | Enable scrolling search with specified scroll timeout (e.g. "1m"). Returns results as streaming NDJSON. | |
source_only |
query | boolean | No | If true, returns only the source documents without Elasticsearch metadata. |
Response 200 OK
- application/json
- application/x-ndjson
Schema of the response body
{
"oneOf": [
{
"$ref": "#/components/schemas/ElasticsearchResponse"
},
{
"$ref": "#/components/schemas/SourceDocumentsArray"
}
]
}
"TG9yZW0gaXBzdW0gZG9sb3Igc2l0IGFtZXQ="
⚠️ This example has been generated automatically from the schema and it is not accurate. Refer to the schema for more information.Schema of the response body
Response 400 Bad Request
- application/json
{
"message": "string",
"details": "string"
}
⚠️ This example has been generated automatically from the schema and it is not accurate. Refer to the schema for more information.Schema of the response body
Response 403 Forbidden
- application/json
{
"message": "string",
"details": "string"
}
⚠️ This example has been generated automatically from the schema and it is not accurate. Refer to the schema for more information.Schema of the response body
POST /esql
Query analytics data using ES|QL
Input parameters
| Parameter | In | Type | Default | Nullable | Description |
|---|---|---|---|---|---|
ApiKeyAuth |
header | string | N/A | No | API key |
Request body
- application/json
{
"query": "string"
}
⚠️ This example has been generated automatically from the schema and it is not accurate. Refer to the schema for more information.Schema of the request body
Response 200 OK
- application/json
[
{}
]
⚠️ This example has been generated automatically from the schema and it is not accurate. Refer to the schema for more information.Schema of the response body
Response 400 Bad Request
- application/json
{
"message": "string",
"details": "string"
}
⚠️ This example has been generated automatically from the schema and it is not accurate. Refer to the schema for more information.Schema of the response body
Response 403 Forbidden
- application/json
{
"message": "string",
"details": "string"
}
⚠️ This example has been generated automatically from the schema and it is not accurate. Refer to the schema for more information.Schema of the response body
GET /esql
Query analytics data using ES|QL
Description
Identical to the POST variant, except that the query is passed via the query string.
Input parameters
| Parameter | In | Type | Default | Nullable | Description |
|---|---|---|---|---|---|
ApiKeyAuth |
header | string | N/A | No | API key |
query |
query | string | No | The ES|QL query string. The FROM clause must reference your own indices. |
Response 200 OK
- application/json
[
{}
]
⚠️ This example has been generated automatically from the schema and it is not accurate. Refer to the schema for more information.Schema of the response body
Response 400 Bad Request
- application/json
{
"message": "string",
"details": "string"
}
⚠️ This example has been generated automatically from the schema and it is not accurate. Refer to the schema for more information.Schema of the response body
Response 403 Forbidden
- application/json
{
"message": "string",
"details": "string"
}
⚠️ This example has been generated automatically from the schema and it is not accurate. Refer to the schema for more information.Schema of the response body
Schemas
ClientRecord
Type:
ClientReportRecord
Type:
ConnectionDetailRecord
| Name | Type |
|---|---|
client_time |
string(date-time) |
client_time_skewed |
string(date-time) |
id |
integer |
ip_address |
string| null |
mobile_network_type |
string| null |
mobile_network_type_general |
string| null |
rssi |
number| null |
signal_strength |
number| null |
ssid |
string| null |
type |
string |
ConnectionDetailTraceRecord
Type:
ElasticsearchResponse
ErrorResponse
| Name | Type |
|---|---|
details |
string |
message |
string |
EsqlRequestBody
| Name | Type |
|---|---|
query |
string |
EsqlResponse
Type: Array<>
EventBundleRecord
Type:
GeneralRecord
GeolocationRecord
| Name | Type |
|---|---|
accuracy |
number(float)| null |
client_time |
string(date-time) |
client_time_skewed |
string(date-time) |
id |
integer |
latitude |
number(float) |
longitude |
number(float) |
speed |
number(float)| null |
type |
string |
GeolocationTraceRecord
Type:
MeasurementRecord
Type:
NetworkRequestRecord
Type:
SearchRequestBody
| Name | Type |
|---|---|
body |
|
scroll |
string| null |
source_only |
boolean| null |
SourceDocumentsArray
Type: Array<>
SystemStatusRecord
| Name | Type |
|---|---|
client_uuid |
string |
collection_errors |
Array<string> |
connection_detail_trace_id |
integer| null |
connection_details |
Array<ConnectionDetailRecord> |
cpu_average_percent |
number| null |
cpu_final_percent |
number| null |
cpu_max_percent |
number| null |
cpu_valid_sample_count |
integer |
created_at |
string(date-time) |
filesystems |
Array<Properties: device, mount, type, writable, total_bytes, valid_sample_count, average_percent, maximum_percent, final_percent, minimum_available_bytes, final_available_bytes> |
finished_at |
string(date-time)| null |
id |
integer |
measurement_ids |
Array<integer> |
memory_average_percent |
number| null |
memory_effective_total_bytes |
integer(int64)| null |
memory_final_percent |
number| null |
memory_max_percent |
number| null |
memory_valid_sample_count |
integer |
platform |
string| null |
run_id |
string |
runtime_scope |
string| null |
sample_interval_seconds |
integer |
started_at |
string(date-time)| null |
study_ids |
Array<string> |
UserFeedbackRecord
Type:
VersionResponse
| Name | Type |
|---|---|
version |
string |
Common parameters
This section describes common parameters that are reused across operations.
StartTime
| Name | In | Type | Default | Nullable | Description |
|---|---|---|---|---|---|
start_time |
query | string | No |
EndTime
| Name | In | Type | Default | Nullable | Description |
|---|---|---|---|---|---|
end_time |
query | string | No |
ClientUuid
| Name | In | Type | Default | Nullable | Description |
|---|---|---|---|---|---|
client_uuid |
query | string | No |
Tags
| Name | In | Type | Default | Nullable | Description |
|---|---|---|---|---|---|
tags |
query | array | No |
Label
| Name | In | Type | Default | Nullable | Description |
|---|---|---|---|---|---|
label |
query | string | No |
MeasurementId
| Name | In | Type | Default | Nullable | Description |
|---|---|---|---|---|---|
measurement_id |
query | integer | No |
Page
| Name | In | Type | Default | Nullable | Description |
|---|---|---|---|---|---|
page |
query | integer | 1 | No |
PerPage
| Name | In | Type | Default | Nullable | Description |
|---|---|---|---|---|---|
per_page |
query | integer | 1000 | No |
Security schemes
<tr>
<td>ApiKeyAuth</td>
<td>apiKey</td>
<td></td>
<td></td>
</tr>
</tbody>
| Name | Type | Scheme | Description |
|---|