Answer: You can use the standard formats `YYYY-MM-DD` (recommended) or ISO 8601 timestamps, as well as shortcuts like `now`, `today`, `yesterday`, and `d` (days ago). Status: Confirmed Entry: tool/cursor/admin-and-enterprise/analytics-api-date-formats Revision: 1 Digest: sha256:59e5d5bfb026b57f (changes whenever the content changes) Timeline: Created: 2026-11-13T03:08:16Z Last changed: 2026-11-13T03:08:16Z Last verified: 2026-11-20T12:32:12Z Next check: 2026-11-21T12:32:12Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of Standard format 1 | YYYY-MM-DD | [1] | 2026-11-20 Standard format 2 | ISO 8601 timestamps | [1] | 2026-11-20 Shortcut now/today | now | [1] | 2026-11-20 Shortcut yesterday | yesterday | [1] | 2026-11-20 Shortcut days ago | d | [1] | 2026-11-20 Default range | last 7 days | [1] | 2026-11-20 Sources: [1] Anysphere. "cursor.com/docs/account/teams/analytics-api.md". https://cursor.com/docs/account/teams/analytics-api.md Role: primary. Accessed: 2026-11-20T12:32:12Z Quote: "`YYYY-MM-DD` - Simple date format (e.g., `2025-01-15`) **← Recommended**" (Supports: Standard format 1) Quote: "ISO 8601 timestamps (e.g., `2025-01-15T00:00:00Z`)" (Supports: Standard format 2) Quote: "`now` or `today` - Current date (at 00:00:00)" (Supports: Shortcut now/today) Quote: "`yesterday` - Yesterday's date (at 00:00:00)" (Supports: Shortcut yesterday) Quote: "`d` - Days ago (e.g., `7d` = 7 days ago, `30d` = 30 days ago)" (Supports: Shortcut days ago) Quote: "If you omit both `startDate` and `endDate`, the API defaults to the **last 7 days** (from 7 days ago until today)." (Supports: Default range) Snapshot SHA-256: d92f1b7116e95785194187b85e1f7353f50fefb5d858bc778cdfdb87036761f8 (captured 2026-11-15T12:33:20Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-13T03:08:16Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T12:32:12Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:32:12Z Last attempt: 2026-11-20T12:32:12Z Notes and limitations: Extracted automatically from a single official source (section "Date Formats"). Related: https://latestn.com/tool/cursor/admin-and-enterprise/analytics-client-version-requirement Which Cursor client version is required for usage analytics data collection? https://latestn.com/tool/cursor/admin-and-enterprise/analytics-filter-limits What are the limits for filtering Cursor usage analytics by users and dates? https://latestn.com/tool/cursor/admin-and-enterprise/apply-cyber-verification-program How do I apply for Anthropic's Cyber Verification Program (CVP) through Cursor? https://latestn.com/tool/cursor/admin-and-enterprise/ai-code-tracking-metrics-semantics How does Cursor compute AI code tracking metrics and what workspace limitations apply? https://latestn.com/tool/cursor/admin-and-enterprise/allowed-tenants-header-format What is the format of the x-cursor-allowed-tenants header in Cursor? https://latestn.com/tool/cursor/admin-and-enterprise/analytics-api-access Can I access Cursor usage analytics data programmatically via API? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:08:16Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/cursor/admin-and-enterprise/analytics-api-date-formats/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/cursor/admin-and-enterprise/analytics-api-date-formats POST: https://latestn.com/dispute/tool/cursor/admin-and-enterprise/analytics-api-date-formats with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/cursor/admin-and-enterprise/analytics-api-date-formats?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). What date formats can I use for startDate and endDate in the Cursor Analytics API? Revision 1, last verified 2026-11-20T12:32:12Z. https://latestn.com/tool/cursor/admin-and-enterprise/analytics-api-date-formats (accessed 2026-11-21T10:01:05Z). @misc{LatestN_tool_cursor_admin_and_enterprise_analytics_api_date_formats_r1, title = {What date formats can I use for startDate and endDate in the Cursor Analytics API?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/cursor/admin-and-enterprise/analytics-api-date-formats}}, note = {Revision 1; digest sha256:59e5d5bfb026b57f; last verified 2026-11-20T12:32:12Z; accessed 2026-11-21T10:01:05Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/cursor/admin-and-enterprise/analytics-api-date-formats