action stream_io_api_send_user_custom_event { label: "Send user event" description: "Sends a custom event to a user" provider: stream_io_api method: POST path: "/users/{user_id}/event" encoding: json input: { type: "object" properties: { event: { type: "object" required: ["type"] properties: { created_at: { type: "string" format: "date-time" } type: { type: "string" } } } user_id: { type: "string" } } required: ["event", "user_id"] additionalProperties: false } output: { type: "object" required: ["duration"] properties: { duration: { type: "string" description: "Duration of the request in human-readable format" } } } }