Learn how to send and load data into Axiom using the API.
Authorization: Bearer
which is your to token to authenticate the request. For more information, see Tokens.
npm install
:
eval $(axiom config export -f)
to configure your environment variables.
Otherwise, create an API token and export it as AXIOM_TOKEN
.
You can also configure the client using options passed to the constructor of the Client:
JSON
payload should have the scheme of [ { "labels": { "key1": "value1", "key2": "value12" } }, ]
, in which the array comprises of one or more JSON objects describing Events.
200
response code JSON with details:
200
response code JSON with details:
200
response code JSON with details:
200
response code JSON with details:
CSV
payload uses a comma to separate values 'value1, value2, value3'
.