# 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. - [Heartbeat](https://dench.com/docs/api-reference/agent-config/heartbeat.md): Read heartbeat config. - [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 heartbeat](https://dench.com/docs/api-reference/agent-config/update-heartbeat.md): Update heartbeat config. - [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. - [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 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. - [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. - [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. - [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 the CLI backend target](https://dench.com/docs/api-reference/local/configure-the-cli-backend-target.md): Configure the CLI backend target. - [Export a CRM object to a local CSV](https://dench.com/docs/api-reference/local/export-a-crm-object-to-a-local-csv.md): Export a CRM object to a local CSV. - [Import a local CSV into a CRM object](https://dench.com/docs/api-reference/local/import-a-local-csv-into-a-crm-object.md): Import a local CSV into a CRM object. - [List local CLI sessions](https://dench.com/docs/api-reference/local/list-local-cli-sessions.md): List local CLI sessions. - [Remove local CLI sessions](https://dench.com/docs/api-reference/local/remove-local-cli-sessions.md): Remove local CLI sessions. - [Run the local file sync daemon](https://dench.com/docs/api-reference/local/run-the-local-file-sync-daemon.md): Run the local file sync daemon. - [Select a local CLI session](https://dench.com/docs/api-reference/local/select-a-local-cli-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)