Example
Use the standard ingest endpoint.
shell
curl -i "$LOGISTER_ENDPOINT/api/v1/ingest_events" \
-H "Authorization: Bearer $LOGISTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"event": {
"event_type": "metric",
"message": "cloudflare.deployment_build_ms",
"environment": "production",
"context": {
"platform": "cloudflare_pages",
"service": "marketing-site",
"deployment_id": "abc123",
"branch": "main",
"value": 42150,
"unit": "ms"
}
}
}'Keep platform, service, deployment_id, and branch stable. Then check Activity or Insights for the event.