Authentication¶
The Edge Analytics API supports the following authentication methods:
- API keys (or API tokens).
API keys¶
An API key is a string of text that identifies a user within the API. It must be provided when making API calls.
Info
You can manage your API keys through the Edge Services Platform. More details on how to get API keys on the Edge Intelligence's Credentials section.
Requests¶
Requests must follow the standard HTTP Bearer authentication scheme to make authenticated calls to the API.
With this scheme you must include the API key on the Authorization
HTTP header:
Authorization: Bearer <api_key>
So you just need to replace the <api_key>
placeholder with your credentials. Example request:
Sample request
curl -H 'Authorization: Bearer my-valid-api-key' -X 'POST' 'https://api.system73.com/analytics/v1/metrics/buffer_health'
This section was last updated 2024-11-18