Store events
documentedSubmit a batch of events for streaming/processing.
POST /api/event/storeStream APIno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://fleep.io/api/event/store" \
-X POST \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "Cookie: token_id={{FLEEP_TOKEN_ID}}" \
-d '{
"ticket": "{{FLEEP_TICKET}}",
"api_version": 4,
"stream": [
{
"client_req_id": "{{$client_req_id}}",
"mk_event_type": "urn:fleep:client:message:add_plain",
"params": {
"conversation_id": "{{$conversation_id}}",
"message": "{{$message}}"
}
}
]
}'"}