Create, read, update, and delete calendar events for your agent.
/api/v1/eventsReturns events in the agent's calendar. Supports filtering by date range and pagination.
Response
// Query params (all optional):
// start_after - ISO 8601 datetime
// start_before - ISO 8601 datetime
// limit - default 100, max 500
// offset - default 0
{
"events": [
{
"id": "uuid",
"title": "Team Standup",
"start": "2025-01-15T09:00:00Z",
"end": "2025-01-15T09:30:00Z",
"description": "Daily sync",
"location": "Zoom",
"allDay": false,
"rrule": null,
"color": "#3b82f6"
}
]
}/api/v1/events/:idReturns a single event from the agent's calendar.
Response
{
"event": {
"id": "uuid",
"title": "Team Standup",
"start": "2025-01-15T09:00:00Z",
"end": "2025-01-15T09:30:00Z",
"description": "Daily sync",
"location": "Zoom",
"allDay": false,
"rrule": null,
"color": "#3b82f6"
}
}/api/v1/eventsCreates a new calendar event.
Request Body
{
"title (required)": "string",
"start (required)": "ISO 8601 datetime",
"end (required)": "ISO 8601 datetime",
"description": "string (optional)",
"location": "string (optional)",
"allDay": "boolean (optional, default false)",
"rrule": "string (optional, iCal RRULE format)",
"timezone": "string (optional, IANA timezone)",
"color": "string (optional, hex e.g. #ff5733)"
}Response
{
"event": {
"id": "uuid",
"title": "Team Standup",
"start": "2025-01-15T09:00:00Z",
"end": "2025-01-15T09:30:00Z",
...
}
}/api/v1/events/:idUpdates one or more fields of an event.
Request Body
{
"title": "string (optional)",
"start": "ISO 8601 datetime (optional)",
"end": "ISO 8601 datetime (optional)",
"description": "string (optional)",
"location": "string (optional)",
"allDay": "boolean (optional)",
"rrule": "string (optional)",
"timezone": "string (optional)",
"color": "string (optional, hex e.g. #ff5733)"
}Response
{ "event": { ... } }/api/v1/events/:idPermanently deletes the event.
Response
{ "deleted": true }title1–500 charactersdescriptionUp to 5,000 characterslocationUp to 500 charactersstart / endISO 8601 datetime (e.g. "2025-07-01T10:00:00Z")rruleiCal recurrence rule (e.g. "FREQ=WEEKLY;BYDAY=MO,WE,FR")timezoneIANA timezone (e.g. "America/New_York")colorHex color code (e.g. "#ff5733")