v1

latestOpenAPI 3.0.12026-07-26152262362.2 KB
DataHub

Ingest JSON

Sends a batch of events to DataHub.

post/datahub/v1/events

Request body

Example request

{
  "events": [
    {
      "provider": "Datadog",
      "id": "beb21d99-a8c9-4dc0-8a69-5d684cc41e6c",
      "dimensions": [
        {
          "key": "project_id"
        }
      ],
      "time": "2024-03-10T23:00:00Z",
      "metrics": [
        {
          "value": 10.5,
          "type": "cost"
        }
      ]
    }
  ]
}

Response

OK - Ingestion succeeded.

messagestring

Example response

{
  "message": "Ingestion success"
}