REST API Reference
This document describes the official AlphaSOC REST API. The primary purpose of the API is to allow a wide variety of clients for sending network telemetry and receiving alerts. API endpoints are complementary to other data sources and alert escalations in a way that alerts generated for network telemetry submitted outside of the API are available to download via API and vice versa.
Schema
The API can be accessed at https://api.alphasoc.net
over HTTPS. All requests and responses
are encoded in JSON.
Compression
As the amount of data transmitted via API can be high, it's advisable to use the compression both ways.
Usually HTTP clients transparently support compression when fetching data (by providing Accept-Encoding
header),
but the upload needs to be handled manually. AlphaSOC API supports gzip
and deflate
compression algorithms
and it's recommended to compress large chunks of data (telemetry) before sending, along with attaching corresponding
Content-Encoding
header.
Rate limiting
API counts and limits number of requests from a single API key. The limits are not strictly defined and designed
to protect from flooding and accidental errors in client's implementation. In the unlikely case of hitting the limit
API returns 429 Too Many Requests
response and expects the client to retry after some time.