Skip to main content

Overview

Day Copilot’s data model revolves around three primary entities: Tasks, Events, and Contexts. Understanding how these work together is essential for building effective integrations.

Tasks

Tasks represent actionable items that need to be completed.

Core Properties

Versioning Properties

Tasks support draft/publish workflows:

Status Lifecycle

Assignees

Tasks can have multiple assignees:

Example Task Object

Events

Events represent calendar appointments and scheduled activities.

Core Properties

Attendees

Events can have multiple attendees with RSVP status:
RSVP Status Values:
  • pending - Invitation sent, no response
  • accepted - Confirmed attendance
  • declined - Will not attend
  • tentative - Maybe attending

Example Event Object

Contexts

Contexts organize related tasks and events into logical groups (projects, goals, categories).

Core Properties

Sharing & Collaboration

Contexts can be shared with other users:
Permission Levels:
  • read - View tasks and events
  • write - Create and modify items
  • admin - Full control including sharing

Example Context Object

Relationships

Context Hierarchy

Contexts can be nested to create organizational structures:

Tasks & Events in Contexts

Tasks and events can belong to a context:

Querying by Context

Fetch all items in a context:

Comments

Both tasks and events support threaded comments.

Comment Structure

Key Detail: Comments use ISO 8601 timestamps as unique identifiers. This ensures chronological ordering and uniqueness.

Adding Comments

Email-Generated Content

Tasks and events can be automatically created from forwarded emails.

Email Metadata

Items created from emails include metadata:

Querying Email-Generated Items

Best Practices

Group related tasks and events into contexts for better organization and team collaboration.
Use priority to indicate urgency and status to track progress. This enables filtering and smart notifications.
Always set due dates on tasks to enable timeline views and deadline reminders.
Add comments instead of modifying descriptions to preserve history and enable discussion.
Avoid deep nesting (max 2-3 levels) to keep organization simple and performant.

Next Steps

Draft/Publish Workflow

Learn about versioning and collaborative editing

Access Control

Understand data access controls and permissions

API Reference

Explore endpoints for tasks, events, and contexts

Managing Tasks Guide

Practical guide to task management