# Dench Docs ## Guides ### Start - [Dench: the AI Revenue Engine](https://dench.com/docs/index.md): Dench is the AI Revenue Engine and CRM for teams and agents: lead discovery, outreach, CRM, memory, integrations, and routines, driven via web, MCP, CLI, or API. - [Quickstart: connect an agent to Dench](https://dench.com/docs/quickstart.md): Connect Cursor, Claude Code, Codex, or a custom AI agent to a Dench workspace in under five minutes using the dench CLI sign in flow. - [Dench agent skill instructions](https://dench.com/docs/skill.md): Operating instructions for AI agents using Dench: connect, prefer CRM over files, confirm risky actions, save memory, and run brokered tools. ### Core - [Dench CRM: objects, fields, and queries](https://dench.com/docs/crm.md): Model people, companies, tasks, and custom objects in the Dench CRM with typed fields, relations, statuses, batch writes, queries, and aggregates. - [CRM analytics dashboards, KPIs, and charts](https://dench.com/docs/analytics.md): Build KPI stats, bar and line charts, funnels, forecasts, and world maps over any Dench CRM object from the app, chat, CLI, and API. - [Threaded CRM comments and activity feed](https://dench.com/docs/comments.md): Add threaded comments on any Dench CRM record, mention teammates or Dench, react, follow records, and read the merged change-history activity feed. - [Notifications, mentions, and email digests](https://dench.com/docs/notifications.md): Read Dench notifications for mentions, replies, reactions, followed records, and reminders from the workspace bell, email digests, CLI, and API. - [Workspace members, profiles, and presence](https://dench.com/docs/members.md): Open a Dench teammate's profile for presence, local time, tagline, open tasks, and their CRM activity feed, from the app, CLI, or API. - [Connect external tools and integrations](https://dench.com/docs/integrations.md): Connect GitHub, Gmail, Stripe, Linear, Slack, Notion, and Calendar to Dench, then run brokered tool calls with policy and logs. - [Agent memory for durable knowledge](https://dench.com/docs/memory.md): Save and search durable workspace facts, decisions, preferences, and conventions so Dench agents reuse stable knowledge across sessions. - [Billing, AI credits, and plan tiers](https://dench.com/docs/billing.md): Dench plans and prices, AI credits, and how to check usage, top up credits, and upgrade a workspace. ### MCP - [MCP connector for Claude, Cursor, and AI apps](https://dench.com/docs/mcp-server.md): Connect Claude, Cursor, or any MCP client to your Dench workspace: sign in with OAuth, pick a workspace and permissions, and use CRM, task, inbox, and campaign tools. ### CLI - [Dench CLI: drive your workspace from the terminal](https://dench.com/docs/cli/overview.md): Drive Dench from the terminal: sign in once, then run CRM, chat, integrations, memory, file, and routine commands through the dench CLI. - [Dench CLI command reference](https://dench.com/docs/cli/commands.md): Full reference for dench CLI commands covering sign in, context, CRM, outreach campaigns, integrations, memory, billing, files, routines, and chat. - [Control a cloud browser from the Dench CLI](https://dench.com/docs/cli/browser.md): Drive a cloud browser with dench browser: run interactive open, click, type, and screenshot steps, or open durable Playwright sessions over CDP. ### API - [Dench HTTP API: endpoints, auth, and usage](https://dench.com/docs/api/overview.md): Use the Dench v1 HTTP API for CRM, chat, memory, billing, integrations, and agent endpoints when the CLI is not an option. - [Authenticate to the Dench API](https://dench.com/docs/api/authentication.md): Send a bearer token on every Dench API request using a workspace API key for services or an agent session token from dench signin. - [API Reference (447 pages)](https://dench.com/docs/_llms/api-reference.txt): environments, secrets, campaigns, meta, auth, local, workspace, lists, memory, billing, chat, crm, members, meetings, email, routines, files, gateway, apps, browser, agent-config, notifications, settings. ## OpenAPI Specs - [openapi](/docs/api-reference/openapi.json) > The links below point to documentation indexes. Follow each `/_llms/` index recursively until you reach documentation pages. ## Indexes - [API Reference (447 pages)](https://dench.com/docs/_llms/api-reference.txt): environments, secrets, campaigns, meta, auth, local, workspace, lists, memory, billing, chat, crm, members, meetings, email, routines, files, gateway, apps, browser, agent-config, notifications, settings. - [API Reference / crm (153 pages)](https://dench.com/docs/_llms/api-reference/crm.txt): List objects, Create object, List names, display labels, visibility and workspace counts without internal state, Get object, Delete object, Update object, Rename object, Hide a CRM object's workspace sidebar row for the whole workspace. Not a delete — the table keeps working. Admin-only, Restore a CRM object's workspace sidebar row. Admin-only, List the saved views on a CRM object (plus the active view), Create a saved view (named filters/sort/columns combo) on a CRM object, Get one saved view's definition by name, Delete a saved view by name (idempotent), Replace a saved view's definition (upsert by name), Materialize a saved view's rows (applies its filters/sort/pins), paginated, Rename view, Move a pinned view's sidebar row into the Archived flyout. Admin-only, Restore a view's sidebar row (re-asserts its pin). Admin-only, Describe the workspace sidebar: Library rows in tree order (with their groups), the home-level Pinned strip, what is hidden and why, and whether the caller is an admin, Reposition one Library row (or group) among the Library's top-level slots. Does not add a home-level Pinned tab. Workspace-shared; admin-only, Create a named sidebar group (e.g. "Hiring") in the workspace-shared Library. Open to any member, Rename a sidebar group. Open to any member, Dissolve a sidebar group; its rows return to the top level in its slot. Open to any member, Move a sidebar row into a group (groupId set) or back to the top level (groupId null). Open to any member, Pin (pinned true) or unpin a Library row — or a whole group — on the home-level Pinned shortcut strip (the "tab on the left"). Does not move the row inside Library. Workspace-shared; open to any member, List fields, Create field, List field names, types and effective constraints without indexing or enrichment internals, Delete field, Update field, Reorder fields, Reorder enum values, Add enum value, Remove enum value, Rename enum value, Set enum color, List entries, Create entry, Get entry, Delete entry, Update entry, Has Dench read this record's email history? One row per address per mailbox, Queue a full, paged pull of the record's email history from every connected mailbox; the ledger fills as pages land, Status of the account's research dossier — the delimited `dench:dossier` section Dench keeps in the record's Notes: status, when it was written, how many dated updates followed, the last error, Research the account again and append a fresh dossier section to its Notes (needs a Website / Domain on the record), Whether the caller hides their own emails / messages with this record from the workspace (directly, or through its account), and whether they own a connection the toggle applies to, Hide (`hidden: true`) or show the caller's own emails / messages with this record to the workspace. An account covers every contact and opportunity linked to it; existing ledger rows are restamped and the shared Brief regenerates, Find ranked warm-intro paths from your own email, meetings and LinkedIn connections into a company, domain, person or CRM record id, List account-detection verdicts — why a domain (or personal address) did or did not become an account: verdict, counterparty type, probabilities, evidence threads, the rows created. `kind` picks the creator: `detections` (email + sweep), `linkedin` (the LinkedIn resolver's rows) or `all` (default). Newest first, Undo what the ingestion jobs created since a timestamp (admin): `kind` = `detections` (accounts + contacts from the email detector and the sweep), `linkedin` (the LinkedIn resolver's contacts + accounts; their conversations are unlinked and parked), `email-tasks` (auto-created tasks and cases) or `all` (default). Deletes only rows no human has touched and marks the verdicts / decisions rolled_back so they are never re-created. `dryRun` lists what would go; per-kind counts in `kinds`, List a CRM entry's audit history, List a CRM entry's activity ledger (comments, notes, field changes, emails, meetings, Slack, LinkedIn) in one timeline, newest first by default, The record's generated Brief: health, who owes the next move, open threads, commitments, risks, next step. Read this before the ledger, Read-only source diagnostics: accessible evidence, association reasons, last Brief source manifest, generation queue, and your mailbox delivery health. Bounded, cursor-paged snapshot; does not certify complete history, Rebuild a record's Brief from the current timeline, Bounded per-source counts of a CRM entry's activity ledger, List a CRM entry's notes (titled, document-style comments), newest first, Add a titled note to a CRM entry's activity timeline (markdown body). Research goes here, never into the Notes document, List comments on a CRM entry (roots newest first, with preview replies), Comment on a CRM entry (markdown). Mention members with [@Name](/?member=); mention Dench with [@Dench](/?member=dench) or mentionDench, List every reply under a root comment, oldest first, Get one comment with its entry label, Delete a comment (kept as a tombstone when it has replies), Edit a comment you wrote, Toggle an emoji reaction on a comment, Whether you follow a CRM entry's activity, Follow or unfollow a CRM entry's activity, Page assigned tasks in priority order (or completed tasks by recency), Page all tasks linked to a record, including subtasks, Start or resume preparation of exact task ordering and progress, Your open tasks (plus ones completed today), Tasks linked to a CRM entry, Create a task linked to a CRM entry, Mark a task done, Reopen a completed task, Set or clear a task's priority, A task's subtasks, Create a subtask under a task (inherits the parent's record relations), Nest a task under a parent, or promote it (parentEntryId: null), Delete a task and its subtasks, or keep them as tasks, How a task repeats (rule, RRULE, trigger, ends, next due), Make a task repeat, or change how it repeats (JSON rule or RRULE). An undated task gets its due date anchored on the first matching day from today, Stop a task repeating (past occurrences are kept), Skip the current occurrence: the next one is created now, Pause a repeating task, Resume a paused repeating task, Every repeating-task series in the workspace, Every occurrence (task) of one series, Create many entries, Update many entries, Bulk delete entries, Get cell, Set cell, Set many cells, Append cell, Query entries, Scan CRM entries with a resumable cursor. Empty filtered pages can have more results, SQL query, Aggregate, Search entries, Search bounded pages of readable CRM entries, optionally projecting cells. Always follow continueCursor until isDone, List statuses, Set statuses, Batch operations, Begin transaction, Add operation, Commit transaction, Abort transaction, Inspect transaction, List documents, Create document, Link document, Delete document, List actions, Create or upsert an action button on a named action column (fieldName is the column header; a column can hold multiple buttons — reuse fieldName to add more), Delete an action button from a CRM field, Update an action button on a CRM field, Run action, List members, Generate report, Read an object's analytics dashboard: panels, field roles, the strip's collapsed flag, the named view's own dashboard (if any), and the fields panels may bucket on (synthetic $createdAt / $location last), Compute chart-ready results (buckets / series / values) for the stored dashboard, a subset of its panels, or ad-hoc panel definitions — optionally scoped to a saved view, a period preset (with the previous interval as previousValue) and extra filters. Same query the strip renders from, Create or update one panel (upsert by id). With viewName the write lands on that saved view's own dashboard, forking a copy if it was still inheriting the object's, Delete one panel (idempotent). Template panels are tombstoned so a re-install never resurrects them, Edit part of one stored panel: only the keys in `patch` change (title, type, metric, metricField, groupBy, dateField, dateBucket, filters, derived, span, hidden, sortOrder); null clears an optional key. What the card's ⋮ menu writes, Take a chart off the strip above the table (hidden: true). It stays in the full analytics view, counted by the strip's “+N more”, Bring a hidden chart back onto the strip (hidden: false), Set a card's width on the 6-track dashboard grid: span 2 (third), 3 (half), 4 (two thirds), 6 (full), or null for the chart kind's default, Persist the full panel order. panelIds must name every stored panel of the targeted dashboard, Set the object's analytics setup — the field roles shared by every chart and view (amount, stage, won/lost/converted values, stageProbabilities, closeDate, recurrence, owner, location). Replaces the mapping; with merge: true only the keys given change and null clears one, Collapse the analytics strip above the object's table (team-shared, like saved views), Expand the analytics strip above the object's table, Give a saved view its own dashboard (mode "own": starts as a copy of the object's panels) or hand it back to the object's shared one (mode "shared"), Enrich cell, Enrich object, Search people, Search companies, Search jobs, Person profile, Company profile, Person contact, Contact lookup result, Look up up to 100 people or company profiles without buying emails or phones. Pass kind (people|companies) and lookups; results preserve inputIndex. People require linkedinUrl or email; companies require domain or linkedinUrl, Read company employees, founders, funding, investors, acquisitions, or investments. Pass domain or linkedinUrl, kind, limit (1–100), and optional pageToken. Does not import CRM records or buy contacts, Preview search, List Lead Finder filter vocabularies: exact enum values (seniorities, functions, industries, headcount, company types, languages) and curated suggestions (titles, locations, company HQ, universities, skills, keywords), List CRM templates, Install CRM template, Remove template sample data, List CRM automations, Toggle CRM automation, Start a server-side CSV export of a CRM object into the workspace files (/exports). Returns at once; one export runs per workspace, and a second start returns the running one, Read a CRM CSV export's progress, and its file path and download link once done. This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.