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:pending- Invitation sent, no responseaccepted- Confirmed attendancedeclined- Will not attendtentative- 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:read- View tasks and eventswrite- Create and modify itemsadmin- 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
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
Use Contexts for Organization
Use Contexts for Organization
Group related tasks and events into contexts for better organization and team collaboration.
Leverage Priority & Status
Leverage Priority & Status
Use priority to indicate urgency and status to track progress. This enables filtering and smart notifications.
Set Due Dates
Set Due Dates
Always set due dates on tasks to enable timeline views and deadline reminders.
Use Comments for Collaboration
Use Comments for Collaboration
Add comments instead of modifying descriptions to preserve history and enable discussion.
Nest Contexts Carefully
Nest Contexts Carefully
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