# Znift > API documentation for Znift — the keyboard-first task tracker for builders. REST API, MCP server, and OpenAPI spec for AI agents. ## Docs - [Use Znift with ChatGPT](https://docs.znift.com/ai-agents/chatgpt.md): Create a Custom GPT that manages your Znift tasks using the OpenAPI spec. - [Claude Code Skill](https://docs.znift.com/ai-agents/claude-skill.md): Install a Claude Code skill to manage Znift tasks via curl — no MCP server needed. - [MCP Server Setup](https://docs.znift.com/ai-agents/mcp-setup.md): Connect Znift to Claude Desktop, Claude Code, Cursor, OpenClaw, and other MCP-compatible AI tools. - [Use Znift with AI Agents](https://docs.znift.com/ai-agents/overview.md): Manage your Znift tasks from Claude, Cursor, OpenClaw, ChatGPT, and other AI tools. - [Archive a task](https://docs.znift.com/api-reference/archive-a-task.md): Moves a task to the archive. Archived tasks are hidden from date views but can be restored or permanently deleted. - [Create a new task](https://docs.znift.com/api-reference/create-a-new-task.md): Creates a task on the specified date. Returns the new task ID. The task is appended to the end of the date's task list. To log or record an already-completed activity, set isCompleted to true. - [Full-text search across tasks](https://docs.znift.com/api-reference/full-text-search-across-tasks.md): Searches task text using full-text search. Returns matching tasks with ID, text, date, completion status, and priority. - [Get a single task by ID](https://docs.znift.com/api-reference/get-a-single-task-by-id.md): Returns a single task if it belongs to the authenticated user. - [Get dashboard view for a date](https://docs.znift.com/api-reference/get-dashboard-view-for-a-date.md): Returns overdue tasks, today's pending/completed tasks, and stats (pending count, completed today, streak). Ideal for AI agent daily briefings. - [Get task analytics for a date range](https://docs.znift.com/api-reference/get-task-analytics-for-a-date-range.md): Returns completion stats, priority breakdown, daily stats, and current streak for the given date range. Max 366 days. - [List all archived tasks](https://docs.znift.com/api-reference/list-all-archived-tasks.md): Returns archived tasks sorted by archive date (newest first). Limited to the 200 most recently archived tasks. - [List tasks for a specific date](https://docs.znift.com/api-reference/list-tasks-for-a-specific-date.md): Returns all active (non-archived) tasks for the given date, sorted by order then creation time. - [Move a task to a different date](https://docs.znift.com/api-reference/move-a-task-to-a-different-date.md): Moves a task to a new date. The original date is tracked in previousDates. The task is appended to the end of the target date's list. - [API Reference](https://docs.znift.com/api-reference/overview.md): Complete reference for the Znift Tasks API. - [Permanently delete an archived task](https://docs.znift.com/api-reference/permanently-delete-an-archived-task.md): Permanently deletes a task. The task must be archived first (POST /{taskId}/archive). This cannot be undone. - [Restore an archived task](https://docs.znift.com/api-reference/restore-an-archived-task.md): Restores an archived task back to its original date. - [Toggle task completion](https://docs.znift.com/api-reference/toggle-task-completion.md): Toggles the isCompleted status of an existing task. If pending, marks as completed; if completed, marks as pending. Use for existing tasks only — to log new completed work, create a task with isCompleted set to true instead. - [Update a task](https://docs.znift.com/api-reference/update-a-task.md): Updates specified fields on a task. Send null to clear optional fields (dueTime, priority, timeSpent, details). - [Authentication](https://docs.znift.com/authentication.md): Authenticate with the Znift API using API keys. - [Natural time input](https://docs.znift.com/features/natural-time.md): Type "2h 30m" or "3pm" in the duration or due-time field. Znift parses both without pickers. - [Quick log](https://docs.znift.com/features/quick-log.md): Press Cmd+L from anywhere in Znift to log a task without breaking flow. - [Reminders](https://docs.znift.com/features/reminders.md): Get push and email reminders when a due-time task is about to fire. - [Search](https://docs.znift.com/features/search.md): Full-text search across your task history. Find anything you've ever logged. - [Streaks](https://docs.znift.com/features/streaks.md): Complete at least one task a day. Watch your streak grow. Stay consistent. - [Summary and standups](https://docs.znift.com/features/summary-and-standups.md): Roll up any day or date range into a scannable summary. Export to markdown for standups. - [Google Calendar](https://docs.znift.com/integrations/google-calendar.md): Sync tasks with due times to your Google Calendar automatically. - [Introduction](https://docs.znift.com/introduction.md): Znift is the keyboard-first task tracker for builders. Log what you did and get back to building. - [Pricing](https://docs.znift.com/pricing.md): Znift is free during early access. See what's on Free and what's on Pro. - [API Quickstart](https://docs.znift.com/quickstart.md): Make your first Znift API call in under 2 minutes. ## OpenAPI Specs - [openapi](https://docs.znift.com/api-reference/openapi.json)