Ingest JSON events with headers
Ingest JSON events and route them with request headers.
Use X-P-Stream to specify the destination dataset.
Authorization
apiKey X-API-Key<token>
In: header
Header Parameters
X-P-Stream*string
Request Body
application/json
Response Body
application/json
curl -X POST "http://localhost:8000/api/v1/ingest" \ -H "X-P-Stream: string" \ -H "Content-Type: application/json" \ -d '{ "level": "info", "message": "User logged in", "timestamp": "2023-01-01T12:00:00Z", "user_id": "user123" }'Empty
Was this page helpful?