# Dench Docs ## Docs - [Aggregate memory](https://dench.com/docs/api-reference/agent-config/aggregate-memory.md): Read aggregate memory. - [Bootstrap](https://dench.com/docs/api-reference/agent-config/bootstrap.md): Read bootstrap state. - [Bootstrap template](https://dench.com/docs/api-reference/agent-config/bootstrap-template.md): Update bootstrap template. - [Complete bootstrap](https://dench.com/docs/api-reference/agent-config/complete-bootstrap.md): Complete bootstrap. - [Daily log](https://dench.com/docs/api-reference/agent-config/daily-log.md): Read a daily activity path. - [Default model](https://dench.com/docs/api-reference/agent-config/default-model.md): Set the default chat model. - [Identity](https://dench.com/docs/api-reference/agent-config/identity.md): Read IDENTITY.md. - [Organisation](https://dench.com/docs/api-reference/agent-config/organisation.md): Read ORGANISATION.md. - [Thread model](https://dench.com/docs/api-reference/agent-config/thread-model.md): Set a thread model override. - [Today's log](https://dench.com/docs/api-reference/agent-config/todays-log.md): Read today's daily activity path. - [Tool notes](https://dench.com/docs/api-reference/agent-config/tool-notes.md): Read tool notes. - [Update identity](https://dench.com/docs/api-reference/agent-config/update-identity.md): Update IDENTITY.md. - [Update memory](https://dench.com/docs/api-reference/agent-config/update-memory.md): Update aggregate memory. - [Update organisation](https://dench.com/docs/api-reference/agent-config/update-organisation.md): Update ORGANISATION.md. - [Update tool notes](https://dench.com/docs/api-reference/agent-config/update-tool-notes.md): Update tool notes. - [Update user](https://dench.com/docs/api-reference/agent-config/update-user.md): Update USER.md. - [User profile](https://dench.com/docs/api-reference/agent-config/user-profile.md): Read USER.md. - [Decide approval](https://dench.com/docs/api-reference/approvals/decide-approval.md): Record an approval decision. - [List approvals](https://dench.com/docs/api-reference/approvals/list-approvals.md): List approval requests visible in the workspace status payload. - [Request approval](https://dench.com/docs/api-reference/approvals/request-approval.md): Request human approval. - [Create sign-in request](https://dench.com/docs/api-reference/auth/create-sign-in-request.md): Create an agent sign-in request. - [Finalize OTP session](https://dench.com/docs/api-reference/auth/finalize-otp-session.md): Finalize an email OTP sign-in session. - [Poll sign-in request](https://dench.com/docs/api-reference/auth/poll-sign-in-request.md): Poll an agent sign-in request until approval. - [Start email OTP](https://dench.com/docs/api-reference/auth/start-email-otp.md): Start the email OTP sign-in flow. - [Verify email OTP](https://dench.com/docs/api-reference/auth/verify-email-otp.md): Verify an email OTP sign-in code. - [Billing status](https://dench.com/docs/api-reference/billing/billing-status.md): Get billing and AI credit status. - [Top up credits](https://dench.com/docs/api-reference/billing/top-up-credits.md): Create an AI credit top-up checkout link. - [Upgrade workspace](https://dench.com/docs/api-reference/billing/upgrade-workspace.md): Create a workspace upgrade checkout link. - [Delete threads](https://dench.com/docs/api-reference/chat/delete-threads.md): Delete one or more chat threads. - [Follow stream](https://dench.com/docs/api-reference/chat/follow-stream.md): Follow a live chat response stream. - [List threads](https://dench.com/docs/api-reference/chat/list-threads.md): List past chat threads. - [New chat](https://dench.com/docs/api-reference/chat/new-chat.md): Start a new chat-turn workflow. - [Read thread](https://dench.com/docs/api-reference/chat/read-thread.md): Read a past chat thread. - [Rename threads](https://dench.com/docs/api-reference/chat/rename-threads.md): Rename one or more chat threads. - [Search chats](https://dench.com/docs/api-reference/chat/search-chats.md): Search past chat messages. - [Send message](https://dench.com/docs/api-reference/chat/send-message.md): Send a message to an existing chat thread. - [Thread tree](https://dench.com/docs/api-reference/chat/thread-tree.md): Read the parent-child chat thread hierarchy. - [Abort transaction](https://dench.com/docs/api-reference/crm/abort-transaction.md): Abort a CRM transaction. - [Add enum value](https://dench.com/docs/api-reference/crm/add-enum-value.md): Add an enum value. - [Add operation](https://dench.com/docs/api-reference/crm/add-operation.md): Add an operation to a CRM transaction. - [Aggregate](https://dench.com/docs/api-reference/crm/aggregate.md): Aggregate CRM entries. - [Append cell](https://dench.com/docs/api-reference/crm/append-cell.md): Append to a CRM cell. - [Batch operations](https://dench.com/docs/api-reference/crm/batch-operations.md): Apply a CRM batch. - [Begin transaction](https://dench.com/docs/api-reference/crm/begin-transaction.md): Begin a CRM transaction. - [Bulk delete entries](https://dench.com/docs/api-reference/crm/bulk-delete-entries.md): Bulk delete CRM entries. - [Commit transaction](https://dench.com/docs/api-reference/crm/commit-transaction.md): Commit a CRM transaction. - [Create document](https://dench.com/docs/api-reference/crm/create-document.md): Create a CRM document. - [Create entry](https://dench.com/docs/api-reference/crm/create-entry.md): Create a CRM entry. - [Create field](https://dench.com/docs/api-reference/crm/create-field.md): Create a CRM field. - [Create many entries](https://dench.com/docs/api-reference/crm/create-many-entries.md): Create many CRM entries. - [Create object](https://dench.com/docs/api-reference/crm/create-object.md): Create a CRM object. - [Delete entry](https://dench.com/docs/api-reference/crm/delete-entry.md): Delete a CRM entry. - [Delete field](https://dench.com/docs/api-reference/crm/delete-field.md): Delete a CRM field. - [Delete object](https://dench.com/docs/api-reference/crm/delete-object.md): Delete a CRM object. - [Enrich cell](https://dench.com/docs/api-reference/crm/enrich-cell.md): Request enrichment for one CRM cell. - [Enrich object](https://dench.com/docs/api-reference/crm/enrich-object.md): Request enrichment for a CRM object. - [Generate report](https://dench.com/docs/api-reference/crm/generate-report.md): Generate a CRM report. - [Get cell](https://dench.com/docs/api-reference/crm/get-cell.md): Get a CRM cell value. - [Get entry](https://dench.com/docs/api-reference/crm/get-entry.md): Get a CRM entry. - [Get object](https://dench.com/docs/api-reference/crm/get-object.md): Get a CRM object. - [Inspect transaction](https://dench.com/docs/api-reference/crm/inspect-transaction.md): Inspect a CRM transaction. - [Install CRM template](https://dench.com/docs/api-reference/crm/install-crm-template.md): Install a CRM template. Idempotent: re-installs top up missing pieces and never duplicate objects, automations, or sample rows. - [Link document](https://dench.com/docs/api-reference/crm/link-document.md): Link a CRM document. - [List actions](https://dench.com/docs/api-reference/crm/list-actions.md): List CRM actions. - [List CRM automations](https://dench.com/docs/api-reference/crm/list-crm-automations.md): List deterministic CRM automations (rules that fire inside entry writes, e.g. qualified prospect → opportunity). - [List CRM templates](https://dench.com/docs/api-reference/crm/list-crm-templates.md): List one-click CRM templates (objects + automations + sample rows) with per-workspace installed flags. - [List documents](https://dench.com/docs/api-reference/crm/list-documents.md): List CRM documents. - [List entries](https://dench.com/docs/api-reference/crm/list-entries.md): List CRM entries. - [List fields](https://dench.com/docs/api-reference/crm/list-fields.md): List fields for a CRM object. - [List members](https://dench.com/docs/api-reference/crm/list-members.md): List workspace members for CRM user fields. - [List objects](https://dench.com/docs/api-reference/crm/list-objects.md): List CRM objects. - [List statuses](https://dench.com/docs/api-reference/crm/list-statuses.md): List CRM statuses. - [Query entries](https://dench.com/docs/api-reference/crm/query-entries.md): Query CRM entries. - [Remove enum value](https://dench.com/docs/api-reference/crm/remove-enum-value.md): Remove an enum value. - [Remove template sample data](https://dench.com/docs/api-reference/crm/remove-template-sample-data.md): Delete a CRM template's sample rows (tagged "Sample"); schema, views, and automations stay. - [Rename enum value](https://dench.com/docs/api-reference/crm/rename-enum-value.md): Rename an enum value. - [Rename object](https://dench.com/docs/api-reference/crm/rename-object.md): Rename a CRM object. - [Reorder enum values](https://dench.com/docs/api-reference/crm/reorder-enum-values.md): Reorder enum values. - [Reorder fields](https://dench.com/docs/api-reference/crm/reorder-fields.md): Reorder CRM fields. - [Run action](https://dench.com/docs/api-reference/crm/run-action.md): Start a CRM action run. - [Search companies](https://dench.com/docs/api-reference/crm/search-companies.md): Search for companies through the enrichment gateway. - [Search entries](https://dench.com/docs/api-reference/crm/search-entries.md): Search CRM entries. - [Search people](https://dench.com/docs/api-reference/crm/search-people.md): Search for people through the enrichment gateway. - [Set cell](https://dench.com/docs/api-reference/crm/set-cell.md): Set a CRM cell value. - [Set enum color](https://dench.com/docs/api-reference/crm/set-enum-color.md): Set an enum color. - [Set many cells](https://dench.com/docs/api-reference/crm/set-many-cells.md): Set many CRM cell values. - [Set statuses](https://dench.com/docs/api-reference/crm/set-statuses.md): Set CRM statuses. - [SQL query](https://dench.com/docs/api-reference/crm/sql-query.md): Run CRM SQL-compatible query. - [Toggle CRM automation](https://dench.com/docs/api-reference/crm/toggle-crm-automation.md): Enable or disable a CRM automation. - [Update entry](https://dench.com/docs/api-reference/crm/update-entry.md): Update a CRM entry. - [Update field](https://dench.com/docs/api-reference/crm/update-field.md): Update a CRM field. - [Update many entries](https://dench.com/docs/api-reference/crm/update-many-entries.md): Update many CRM entries. - [Update object](https://dench.com/docs/api-reference/crm/update-object.md): Update a CRM object. - [Activate a sequence so its enrollments begin sending](https://dench.com/docs/api-reference/email/activate-a-sequence-so-its-enrollments-begin-sending.md): Activate a sequence so its enrollments begin sending. - [Add a step (subject, body, and wait delay) to a sequence](https://dench.com/docs/api-reference/email/add-a-step-subject-body-and-wait-delay-to-a-sequence.md): Add a step (subject, body, and wait delay) to a sequence. - [Add campaign recipients from a CRM object: pick the object, the email field, and the entry ids](https://dench.com/docs/api-reference/email/add-campaign-recipients-from-a-crm-object:-pick-the-object-the-email-field-and-the-entry-ids.md): Add campaign recipients from a CRM object: pick the object, the email field, and the entry ids. - [Add recipients](https://dench.com/docs/api-reference/email/add-recipients.md): Add recipients to a managed email campaign. - [Archive a sequence (stops all sending)](https://dench.com/docs/api-reference/email/archive-a-sequence-stops-all-sending.md): Archive a sequence (stops all sending). - [Begin verification](https://dench.com/docs/api-reference/email/begin-verification.md): Begin the full Dench sender verification flow for a sending identity. - [Campaign status](https://dench.com/docs/api-reference/email/campaign-status.md): Read campaign status and counters. - [Cancel campaign](https://dench.com/docs/api-reference/email/cancel-campaign.md): Cancel an email campaign. - [Create a follow-up sequence; choose a verified sender and reply/stop behavior](https://dench.com/docs/api-reference/email/create-a-follow-up-sequence;-choose-a-verified-sender-and-replystop-behavior.md): Create a follow-up sequence; choose a verified sender and reply/stop behavior. - [Create campaign](https://dench.com/docs/api-reference/email/create-campaign.md): Create a managed email campaign draft. - [Create sending identity](https://dench.com/docs/api-reference/email/create-sending-identity.md): Create a durable Dench email sending identity record. - [Create template](https://dench.com/docs/api-reference/email/create-template.md): Create a managed email campaign template. - [Deactivate a sequence (pause sending, revert to draft)](https://dench.com/docs/api-reference/email/deactivate-a-sequence-pause-sending-revert-to-draft.md): Deactivate a sequence (pause sending, revert to draft). - [Disable sender](https://dench.com/docs/api-reference/email/disable-sender.md): Soft-disable a sender (or every sender on a domain) for the workspace; sends are blocked until restored. - [Enroll explicit recipients into a sequence](https://dench.com/docs/api-reference/email/enroll-explicit-recipients-into-a-sequence.md): Enroll explicit recipients into a sequence. - [Enroll people from a CRM object: pick the object, the email field, and the entry ids](https://dench.com/docs/api-reference/email/enroll-people-from-a-crm-object:-pick-the-object-the-email-field-and-the-entry-ids.md): Enroll people from a CRM object: pick the object, the email field, and the entry ids. - [Identity DNS records](https://dench.com/docs/api-reference/email/identity-dns-records.md): Fetch DNS records (DKIM/SPF/DMARC) for a pending domain sender verification. - [List a campaign's recipients (paginated, optional status filter)](https://dench.com/docs/api-reference/email/list-a-campaigns-recipients-paginated-optional-status-filter.md): List a campaign's recipients (paginated, optional status filter). - [List a sequence's enrollments (paginated, optional status filter)](https://dench.com/docs/api-reference/email/list-a-sequences-enrollments-paginated-optional-status-filter.md): List a sequence's enrollments (paginated, optional status filter). - [List identities](https://dench.com/docs/api-reference/email/list-identities.md): List the workspace's email sending identities. - [List managed email campaigns (paginated, optional status filter)](https://dench.com/docs/api-reference/email/list-managed-email-campaigns-paginated-optional-status-filter.md): List managed email campaigns (paginated, optional status filter). - [List messages](https://dench.com/docs/api-reference/email/list-messages.md): List recent raw email messages for the workspace. - [List the workspace's follow-up sequences](https://dench.com/docs/api-reference/email/list-the-workspaces-follow-up-sequences.md): List the workspace's follow-up sequences. - [Message status](https://dench.com/docs/api-reference/email/message-status.md): Read a raw email message's status and open/click counters. - [Pause campaign](https://dench.com/docs/api-reference/email/pause-campaign.md): Pause a sending email campaign. - [Pause one enrollment](https://dench.com/docs/api-reference/email/pause-one-enrollment.md): Pause one enrollment. - [Preview campaign](https://dench.com/docs/api-reference/email/preview-campaign.md): Preview rendered messages for a campaign sample. - [Preview template](https://dench.com/docs/api-reference/email/preview-template.md): Preview a managed email campaign template. - [Read a sequence with its ordered steps](https://dench.com/docs/api-reference/email/read-a-sequence-with-its-ordered-steps.md): Read a sequence with its ordered steps. - [Refresh identity status](https://dench.com/docs/api-reference/email/refresh-identity-status.md): Refresh a Dench Emailing Service sender verification status. - [Remove a step from a sequence](https://dench.com/docs/api-reference/email/remove-a-step-from-a-sequence.md): Remove a step from a sequence. - [Reorder a sequence's steps](https://dench.com/docs/api-reference/email/reorder-a-sequences-steps.md): Reorder a sequence's steps. - [Restore sender](https://dench.com/docs/api-reference/email/restore-sender.md): Restore a previously disabled sender for the workspace. - [Resume campaign](https://dench.com/docs/api-reference/email/resume-campaign.md): Resume a paused email campaign. - [Resume one paused enrollment](https://dench.com/docs/api-reference/email/resume-one-paused-enrollment.md): Resume one paused enrollment. - [Send email](https://dench.com/docs/api-reference/email/send-email.md): Send one raw email (no campaign): to/cc/bcc, custom from-name and reply-to, optional reply threading via replyToMessageId. - [Sender status](https://dench.com/docs/api-reference/email/sender-status.md): Read Dench Emailing Service sender verification status. - [Stop one enrollment (no further steps send)](https://dench.com/docs/api-reference/email/stop-one-enrollment-no-further-steps-send.md): Stop one enrollment (no further steps send). - [Submit campaign](https://dench.com/docs/api-reference/email/submit-campaign.md): Submit a campaign for approval or sending. - [Update a sequence step's subject, body, or delay](https://dench.com/docs/api-reference/email/update-a-sequence-steps-subject-body-or-delay.md): Update a sequence step's subject, body, or delay. - [Update a sequence's name, sender, or reply/stop settings](https://dench.com/docs/api-reference/email/update-a-sequences-name-sender-or-replystop-settings.md): Update a sequence's name, sender, or reply/stop settings. - [Verify sender](https://dench.com/docs/api-reference/email/verify-sender.md): Start Dench Emailing Service sender verification. - [Delete file](https://dench.com/docs/api-reference/files/delete-file.md): Remove a workspace file or directory. - [Download URL](https://dench.com/docs/api-reference/files/download-url.md): Get a signed file download URL. - [List files](https://dench.com/docs/api-reference/files/list-files.md): List workspace files. - [Move file](https://dench.com/docs/api-reference/files/move-file.md): Move a workspace file or directory. - [Stage files](https://dench.com/docs/api-reference/files/stage-files.md): Stage uploaded content into the workspace. - [Answer question](https://dench.com/docs/api-reference/gateway/answer-question.md): Answer a question with web search. - [Connect tool](https://dench.com/docs/api-reference/gateway/connect-tool.md): Create a tool OAuth connection link. - [Disconnect tool](https://dench.com/docs/api-reference/gateway/disconnect-tool.md): Disconnect an external tool account. - [Edit image](https://dench.com/docs/api-reference/gateway/edit-image.md): Edit an image through the Dench gateway. - [Generate image](https://dench.com/docs/api-reference/gateway/generate-image.md): Generate an image through the Dench gateway. - [List apps](https://dench.com/docs/api-reference/gateway/list-apps.md): List connected apps. - [Page contents](https://dench.com/docs/api-reference/gateway/page-contents.md): Fetch page contents through the Dench gateway. - [Run tool](https://dench.com/docs/api-reference/gateway/run-tool.md): Run an external tool action. - [Search tools](https://dench.com/docs/api-reference/gateway/search-tools.md): Search for external tool actions. - [Tool status](https://dench.com/docs/api-reference/gateway/tool-status.md): List connected tool accounts. - [Web search](https://dench.com/docs/api-reference/gateway/web-search.md): Search the web through the Dench gateway. - [Configure CLI backend](https://dench.com/docs/api-reference/local/configure-cli-backend.md): Configure the CLI backend target. - [Export CSV](https://dench.com/docs/api-reference/local/export-csv.md): Export a CRM object to a local CSV. - [File sync daemon](https://dench.com/docs/api-reference/local/file-sync-daemon.md): Run the local file sync daemon. - [Import CSV](https://dench.com/docs/api-reference/local/import-csv.md): Import a local CSV into a CRM object. - [List local sessions](https://dench.com/docs/api-reference/local/list-local-sessions.md): List local CLI sessions. - [Remove local sessions](https://dench.com/docs/api-reference/local/remove-local-sessions.md): Remove local CLI sessions. - [Use local session](https://dench.com/docs/api-reference/local/use-local-session.md): Select a local CLI session. - [Save memory](https://dench.com/docs/api-reference/memory/save-memory.md): Save a durable workspace memory fact. - [Search memory](https://dench.com/docs/api-reference/memory/search-memory.md): Search durable workspace memory. - [List operations](https://dench.com/docs/api-reference/meta/list-operations.md): List all CLI/API operations and parity classifications. - [Create routine](https://dench.com/docs/api-reference/routines/create-routine.md): Create a routine. - [Delete routine](https://dench.com/docs/api-reference/routines/delete-routine.md): Delete a routine. - [Disable routine](https://dench.com/docs/api-reference/routines/disable-routine.md): Disable a routine. - [Enable routine](https://dench.com/docs/api-reference/routines/enable-routine.md): Enable a routine. - [Get routine](https://dench.com/docs/api-reference/routines/get-routine.md): Get a routine. - [List routines](https://dench.com/docs/api-reference/routines/list-routines.md): List routines. - [List runs](https://dench.com/docs/api-reference/routines/list-runs.md): List runs for a routine. - [Run history](https://dench.com/docs/api-reference/routines/run-history.md): List routine run history. - [Run routine](https://dench.com/docs/api-reference/routines/run-routine.md): Run a routine now. - [Update routine](https://dench.com/docs/api-reference/routines/update-routine.md): Update a routine. - [List agents](https://dench.com/docs/api-reference/workspace/list-agents.md): List agents visible in the workspace status payload. - [List artifacts](https://dench.com/docs/api-reference/workspace/list-artifacts.md): List artifacts for the authenticated workspace. - [Suggested work](https://dench.com/docs/api-reference/workspace/suggested-work.md): List draft suggested-work artifacts. - [Workspace context](https://dench.com/docs/api-reference/workspace/workspace-context.md): Return the current Dench workspace context for the bearer. - [Workspace status](https://dench.com/docs/api-reference/workspace/workspace-status.md): Return workspace and agent status. - [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. - [Dench HTTP API overview](https://dench.com/docs/api/overview.md): Use the Dench v1 HTTP API for CRM, chat, memory, approvals, billing, integrations, and agent endpoints when the CLI is not an option. - [Human approvals for agent actions](https://dench.com/docs/approvals.md): Require human approval before risky agent actions: request approval, capture an explicit yes or no in chat, and record evidence in Dench. - [Billing, AI credits, and plan tiers](https://dench.com/docs/billing.md): Check AI credit balance, top up credits through Stripe Checkout, and upgrade a Dench workspace between the Free, Pro, and Max plan tiers. - [Dench CLI command reference](https://dench.com/docs/cli/commands.md): Full reference for dench CLI commands covering sign in, context, CRM, integrations, approvals, memory, billing, files, routines, and chat. - [Dench CLI overview](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 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. - [Dench: the AI workspace for AI agents](https://dench.com/docs/index.md): Dench is the shared workspace for AI agents: one CRM, memory, approvals desk, integrations, and routines, with an API and CLI your agents drive. - [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, logs, and approvals. - [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. - [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, request approvals, save memory, and run brokered tools. ## OpenAPI Specs - [openapi](https://dench.com/docs/api-reference/openapi.json)