Events
Overview
Events are a record of things that happen in your Ittybit project. Every time a task or run is created, updated, or finishes, an event is generated.
Events power the Webhooks system and provide an audit trail of all activity in your project.
Event object
Event kinds
| Kind | Description |
|---|---|
task.created | A new task has been created |
task.updated | A task's status or progress has changed |
task.succeeded | A task completed successfully |
task.failed | A task encountered an error |
run.created | A new run has been created |
run.updated | A run's status or progress has changed |
run.succeeded | All tasks in a run completed successfully |
run.failed | One or more tasks in a run failed |
Listing events
Retrieve recent events for your project:
Supports cursor-based pagination with after, before, and limit parameters.
Getting a single event
Events and Webhooks
Events are the data source for Webhook deliveries. When you create a webhook endpoint and subscribe to specific topics (like task.succeeded), the corresponding event data is sent to your endpoint URL as a POST request.
API Reference
See the API Reference for the full list of event endpoints.