TypeScript
const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: JSON.stringify({event: '<string>', payload: {}}) }; fetch('https://api.prudra.dev/vaults/{id}/emit', options) .then(res => res.json()) .then(res => console.log(res)) .catch(err => console.error(err));
Records an event on the vault for streaming and history.
Documentation IndexFetch the complete documentation index at: https://docs.prudra.dev/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.prudra.dev/llms.txt
Use this file to discover all available pages before exploring further.
Your Prudra API key. Get one at dashboard.prudra.com/settings/api-keys
Event created