Ingest source data
POST
Submits metric payloads to your environment's ingestion source for processing.
Before you call this endpoint
- Use the
sourceIdassigned to your environment - Use the matching push token provided for that source
Authentication
- Send the customer push token as
Authorization: Bearer <token>
Request body
Example request body
{
"metrics": [
{
"fields": {
"value": 94.01,
"timestamp": 1740047760
},
"name": "central_O2_sensor",
"tags": {
"nodeName": "O2_16",
"nodeType": "O2_sensor",
"aggregation": "avg",
"tank": "tank_16"
}
}
]
}
Response
202 Accepted: request stored and accepted for processing200 OK: duplicate request detected and skipped
Errors
400: source not found401: missing or invalid bearer token403: invalid token or token does not have push role
Notes
- Flexible mapping is supported, but custom mapping is prepared together with Eyer support