Send JSON events to a dataset
Copy page as Markdown
View page source on GitHub
Ask OpenAI about this page
Ask Claude about this page
Send JSON events directly to an existing dataset.
The destination dataset is taken from the {stream_name} path parameter, so no X-P-Stream header is needed.
Authorization
apiKey X-API-Key<token>
In: header
Path Parameters
stream_name*string
Request Body
application/json
Response Body
application/json
curl -X POST "http://localhost:8000/api/v1/logstream/string" \ -H "Content-Type: application/json" \ -d '[ { "id": "434a5f5e-2f5f-11ed-a261-asdasdafgdfd", "datetime": "24/Jun/2022:14:12:15 +0000", "host": "153.10.110.81", "user-identifier": "Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:64.0) Gecko/20100101 Firefox/64.0", "method": "PUT", "status": 500, "referrer": "http://www.google.com/" } ]'Empty
Was this page helpful?