Duvo MCP
io.github.duvoai/duvo
Serveur MCP OK 387 outils
Governed retail, FMCG, and CPG operational tools: runs, cases, approvals, audit-ready execution.
Fiche technique
- Auteur
- duvoai (espace de noms du registre)
- Dépôt
- github.com/duvoai/duvo-website-2026
- Site
- www.duvo.ai
- Version
- 2026-05-24
- Transport
- Streamable HTTP
- Authentification
- Aucune (constatée par notre test)
- Adresse du serveur
- https://api.duvo.ai/v1/mcp Streamable HTTP en-tête requis :
Authorization - Outils
- 387
- Catégories
- Sécurité
- Dernière mise à jour
- 24 mai 2026
- Publication
- 24 mai 2026
Badge pour votre README
Gratuit, pour toute fiche. Il renvoie vers cette fiche et affiche « testé OK » tant que notre dernier test est réussi.
[](https://latlas.dev/mcp/io.github.duvoai/duvo)<a href="https://latlas.dev/mcp/io.github.duvoai/duvo"><img src="https://latlas.dev/badge/fiche/io.github.duvoai/duvo.svg" alt="Référencé sur L’Atlas" height="20"></a>Nos tests
Chaque semaine : initialize puis tools/list, sans identifiant, sans jamais appeler d’outil. Méthode
- Adresse
- https://api.duvo.ai/v1/mcp
- Dernier résultat
- OK 28 nov. 2026, 10:47
- Temps de réponse
- 753 ms (initialize + tools/list)
- Version du protocole
- 2025-11-25
- Nom annoncé
- duvo-public-api 1.0.0
- Outils
- 387
Historique
| Date | Résultat | Réponse | Outils |
|---|---|---|---|
| 28 nov. 2026, 10:47 | OK | 753 ms | 387 |
Outils exposés (387, réponse à tools/list, 28 nov. 2026)
listAgentMemoryFiles
List Agent Memory Files
List the memory files stored for an agent.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| agent_id | string | oui | The agent's unique identifier |
getAgentMemoryFile
Get Agent Memory File
Get the contents of a single memory file for an agent.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| agent_id | string | oui | The agent's unique identifier |
| path | string | oui | Relative path to the memory file, e.g. notes.md or context/customer.md |
listPluginCatalog
List Plugin Catalog
List plugins that can be referenced by name in a build's plugins array. Builds may also reference any public GitHub repository URL (https://github.com/owner/repo) as a plugin; those are not enumerated here.
Aucun paramètre.
createSchedule
Create Schedule
Create a schedule for an agent. The schedule fires against the agent's live build. The authenticated user owns the schedule. On a team with revisions, a repeating schedule for an Agent in an automation joins that automation's revisions: one matching a schedule the automation already runs fires at once, and a new one is saved to the automation's draft and fires once the draft is made active (see `pending_change`).
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| agent_id | string | oui | The agent's unique identifier |
| enabled | boolean | oui | |
| frequency | enum: "every_5_minutes" | "every_15_minutes" | "hourly" | "daily" | "workday" | "weekly" | "monthly" | "custom" | oui | |
| time | string | null | non | |
| timezone | string | oui | |
| day | enum: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday" | null | non | |
| day_of_month | integer | null | non | |
| cron | string | null | non | |
| recurring | boolean | null | non |
updateSchedule
Update Schedule
Update fields on an existing schedule. Only supplied fields are changed; omitted fields retain their current values. Owners may update their own schedules; team superadmins may update any schedule on agents in the current team. A schedule that belongs to an automation with revisions keeps firing as its automation's active revision says: a change to its timing is saved to the automation's draft and takes effect when the draft is made active (see `pending_change`), while `enabled` applies at once.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| agent_id | string | oui | The agent's unique identifier |
| schedule_id | string | oui | The schedule's unique identifier |
| enabled | boolean | non | |
| frequency | enum: "every_5_minutes" | "every_15_minutes" | "hourly" | "daily" | "workday" | "weekly" | "monthly" | "custom" | non | |
| time | string | null | non | |
| timezone | string | non | |
| day | enum: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday" | null | non | |
| day_of_month | integer | null | non | |
| cron | string | null | non | |
| recurring | boolean | null | non |
deleteSchedule
Delete Schedule
Delete a schedule. Owners may delete their own schedules; team superadmins may delete any schedule on agents in the current team. Deleting a schedule that belongs to an automation with revisions stops it for its owner at once; the automation's revisions keep the schedule for anyone else subscribed to it.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| agent_id | string | oui | The agent's unique identifier |
| schedule_id | string | oui | The schedule's unique identifier |
getTeam
Get Team
Get a team by ID. The caller must be scoped to the requested team.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| team_id | string | non | Duvo team UUID to operate on. API keys are pinned to a single team — omit this (it falls back to the key's team) or pass that same team; a different team is rejected. OAuth callers, who can span multiple teams, should pass the target team here. |
startNativeOAuth
Start Native OAuth
Start an OAuth-based connection with a native provider (Gmail, Google Sheets, Outlook, etc.). The provider path parameter is the native OAuth provider key from listIntegrations, not the integration type. Returns an authorization URL that must be opened in a browser by a human end-user; once they grant consent, Duvo creates the matching connection and redirects the browser to the optional `return_url` (or the Duvo dashboard if none is provided). Poll `/v2/teams/:team_id/connections` to detect the new connection. Slack is not connected here: connect it from Connections → Slack in Duvo; this endpoint answers 400 `slack_use_connect_flow` for `slack`.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| provider | string | oui | Native OAuth provider key, not the integration type. Use oauth_provider_key from listIntegrations (for example, google_gmail for integration type gmail, google_sheets for googlesheets, or microsoft_outlook for outlook); passing an integration type returns 404 "Unknown OAuth provider". |
| team_id | string | non | Duvo team UUID to operate on. API keys are pinned to a single team — omit this (it falls back to the key's team) or pass that same team; a different team is rejected. OAuth callers, who can span multiple teams, should pass the target team here. |
| return_url | string | non | Where to send the user's browser after OAuth completes. |
| reconnect_instance_id | string | non | When set, the OAuth flow will update the existing connection in place rather than creating a new one. |
authorizeMcpOAuth
Authorize Mcp OAuth
Start an OAuth-based connection with a remote MCP server. Returns an authorization URL the user must open in a browser; once they grant consent, Duvo creates the matching connection and redirects the browser to the optional `return_url`. A new connection to a custom MCP server needs `custom_integration_id` (register the server first with `POST /v2/teams/:team_id/integrations/custom`) and is refused with 400 without it; a catalog integration such as NetSuite or Asana takes `integration_type` instead.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| team_id | string | non | Duvo team UUID to operate on. API keys are pinned to a single team — omit this (it falls back to the key's team) or pass that same team; a different team is rejected. OAuth callers, who can span multiple teams, should pass the target team here. |
| mcp_server_url | string | oui | URL of the MCP server requiring OAuth. |
| name | string | oui | Human-readable name to display for the connection. |
| custom_integration_id | string | non | ID of the custom integration this connection is for. Required for a new connection to a custom MCP server; omit it for a catalog integration such as NetSuite. On reconnect, pass the connection's own custom integration ID, or omit it only for a connection that has none. |
| return_url | string | non | Where to send the user's browser after consent completes. Accepts an absolute URL on a domain Duvo allows, or a path relative to the Duvo frontend (e.g. `/integrations/slack`). |
| integration_type | string | non | Optional catalog integration type (e.g. `netsuite`, `asana`). When it names a known MCP OAuth catalog integration and `mcp_server_url` matches that integration's registered server, the connection is treated as a catalog connection; otherwise it requires the custom MCP servers capability. |
| reconnect_instance_id | string | non | When set, the OAuth flow will update the existing connection in place rather than creating a new one. |
| oauth_client_id | string | non | OAuth client ID of a client the user registered on the authorization server themselves (e.g. a NetSuite Integration record). Takes precedence over preregistered credentials and Dynamic Client Registration. Cannot be combined with custom_integration_id: for a custom MCP server, put the client creden… |
| oauth_client_secret | string | non | Client secret for `oauth_client_id`. Omit for public clients (PKCE-only). |
checkMcpOAuth
Check Mcp OAuth
Probe an MCP server URL to discover whether it supports OAuth Dynamic Client Registration. Returns the authorization endpoint and required scopes when supported. Useful as a precursor to `/v2/teams/:team_id/connections/oauth/mcp/start` or `/v2/teams/:team_id/connections`. Performs no writes.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| mcp_server_url | string | oui | URL of the MCP server to probe for OAuth support. |
listPulseDashboards
List Pulse Dashboards
List your Duvo Pulse dashboards (live, agent-generated visualizations of your Duvo data). Ordered most recently updated first, except scope=automation, which is ordered by creation time (then id) so the whole scope can be read with the after_id cursor without a concurrent change shifting a page boundary.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| limit | integer | non | Number of results per page (1-100, default 20) |
| offset | integer | non | Number of results to skip |
| scope | enum: "created" | "shared" | "team" | "automation" | non | Which dashboards to return: 'created' (yours, the default), 'team' (published to your whole team by a teammate), 'shared' (shared with you individually by a teammate), or 'automation' (owned by one of your team's automations, each carrying its automation's name). |
| after_id | string | non | Keyset cursor for reading the whole 'automation' scope: the id of the last dashboard you received; returns the page after it in (created_at, id) order. Use this instead of 'offset' when reading every page, so a dashboard created, updated or deleted between requests cannot shift a page boundary you… |
createPulseDashboard
Create Pulse Dashboard
Create a new Duvo Pulse dashboard from a natural-language prompt (e.g. 'open cases by queue this week') and dispatch the first generation turn. Generation is asynchronous — poll GET /artifacts/{artifactId} until status is completed. The dashboard is private to you unless you set visibility to 'team', which shares it with your whole team straight away — with permission 'view' (teammates see the dashboard) or 'edit' (teammates can also iterate on it).
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| message | string | oui | |
| connection_ids | array<string> | non | |
| visibility | enum: "private" | "team" | non | |
| permission | enum: "view" | "edit" | non |
getPulseDashboard
Get Pulse Dashboard
Get a Duvo Pulse dashboard's metadata and generation status. When status is completed and html_code_present is true, fetch the rendered HTML from GET /artifacts/{artifactId}/render; the conversation is served by GET /artifacts/{artifactId}/messages.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| artifactId | string | oui |
getPulseDashboardHtml
Get Pulse Dashboard Html
Serve a Duvo Pulse dashboard's rendered HTML document (text/html, not JSON). 404 until the first generation turn has produced HTML.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| artifactId | string | oui |
getPulseDashboardPdf
Get Pulse Dashboard Pdf
Render a Duvo Pulse dashboard to a PDF document (application/pdf, not JSON). 404 until the first generation turn has produced HTML; 409 for an openui dashboard, whose substrate this exporter cannot render.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| artifactId | string | oui | |
| theme | enum: "light" | "dark" | non |
exportPulseDashboardHtml
Export Pulse Dashboard Html
Render a Duvo Pulse dashboard to a self-contained static HTML snapshot (text/html, data baked in). 404 until the first generation turn has produced HTML; 409 for an openui dashboard, whose substrate this exporter cannot render.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| artifactId | string | oui | |
| theme | enum: "light" | "dark" | non |
updatePulseDashboard
Update Pulse Dashboard
Update a Duvo Pulse dashboard's settings — rename it. Only the creator can update it.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| artifactId | string | oui | |
| title | string | oui |
publishPulseDashboard
Publish Pulse Dashboard
Publish (share) a Duvo Pulse dashboard to your whole team or your whole organization, or revert it to private (creator only). When publishing, set permission to 'view' (teammates see the dashboard) or 'edit' (teammates can also iterate on it); organization-wide viewers outside the team always get view-only access.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| artifactId | string | oui | |
| visibility | enum: "private" | "team" | "organization" | oui | |
| permission | enum: "view" | "edit" | non |
deletePulseDashboard
Delete Pulse Dashboard
Delete a Duvo Pulse dashboard. Only the creator can delete it.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| artifactId | string | oui |
duplicatePulseDashboard
Duplicate Pulse Dashboard
Duplicate a Duvo Pulse dashboard, producing an idle clone of the current rendered dashboard. The conversation history, shares, and connections are not copied.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| artifactId | string | oui |
sendPulseDashboardMessage
Send Pulse Dashboard Message
Send an instruction to iterate on a Duvo Pulse dashboard (e.g. 'make it a bar chart', 'filter to last 14 days'). The creator can always iterate; teammates can too when the Pulse is published to the team with edit access. The agent regenerates asynchronously — poll GET /artifacts/{artifactId} for status.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| artifactId | string | oui | |
| message | string | oui | |
| from_revision_id | string | non | |
| selected_element | object | non | |
| attachments | array<object> | non | Attachments to hand the agent, uploaded beforehand via the upload-urls endpoint (max 5) |
createPulseDashboardAttachmentUploadUrl
Create Pulse Dashboard Attachment Upload Url
Issue a presigned upload URL for a file to attach to a Duvo Pulse dashboard message (e.g. an HTML dashboard to copy, or a screenshot to match). POST the file bytes to the returned upload_url as multipart form data under the field name 'file', then pass the returned attachment_id in the attachments array of POST /artifacts/{artifactId}/messages. The agent reads the file directly from its sandbox. Files live as long as the dashboard's sandbox (about 12 hours), so upload shortly before sending.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| artifactId | string | oui | |
| filename | string | oui | Name of the file being attached, without any path segments |
| mime_type | string | oui | MIME type of the file, e.g. text/html or image/png |
| size_bytes | integer | oui | Size of the file in bytes (max 25MB) |
getPulseDashboardAttachmentDownloadUrl
Get Pulse Dashboard Attachment Download Url
Mint a short-lived presigned URL to download or preview a file attached to a Duvo Pulse dashboard message. Returns 410 with code `sandbox_expired` once data retention deleted the dashboard's sandbox, and 404 when the file is otherwise gone.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| artifactId | string | oui | |
| attachmentId | string | oui | The attachment to mint a download URL for |
refreshPulseDashboard
Refresh Pulse Dashboard
Trigger an on-demand data refresh of a Duvo Pulse dashboard. The dashboard regenerates its connection-sourced values in the background — poll GET /artifacts/{artifactId} for status.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| artifactId | string | oui |
stopPulseDashboardMessage
Stop Pulse Dashboard Message
Stop an in-flight Duvo Pulse generation turn. Requires edit access to the dashboard. Flips the dashboard to 'interrupted' and keeps any streamed-so-far reply; stopping when nothing is generating is a successful no-op.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| artifactId | string | oui | |
| partial_text | string | non | The assistant text streamed so far, kept in the conversation as the partial reply. Omit when calling from an API client without streaming state. |
listPulseDashboardConnections
List Pulse Dashboard Connections
List the connections (data sources) attached to a Duvo Pulse dashboard (requires edit access).
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| artifactId | string | oui |
attachPulseDashboardConnection
Attach Pulse Dashboard Connection
Attach one of your connections (data sources) to a Duvo Pulse dashboard so the agent can use its tools (requires edit access).
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| artifactId | string | oui | |
| connection_id | string | oui |
detachPulseDashboardConnection
Detach Pulse Dashboard Connection
Detach a connection (data source) from a Duvo Pulse dashboard (requires edit access).
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| artifactId | string | oui | |
| connectionId | string | oui |
answerPulseDashboardQuestion
Answer Pulse Dashboard Question
Answer a pending question the Duvo Pulse agent asked and resume the paused run (creator or team editors). Use the toolCallId from the dashboard's message transcript.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| artifactId | string | oui | |
| toolCallId | string | oui | |
| answers | object | oui |
listPulseDashboardMessages
List Pulse Dashboard Messages
List the chat transcript of a Duvo Pulse dashboard's live version (requires edit access). Returns the most recent page by default, oldest first within the page; pass `before` (a message id from a previous page) to walk back through older messages. Messages from other version branches are not included.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| artifactId | string | oui | |
| limit | integer | non | Maximum number of messages to return (1-500, default 50). |
| before | string | non | Message id cursor: return the page of messages immediately older than this message. Omit for the most recent page. |
listPulseDashboardComments
List Pulse Dashboard Comments
List the comment threads on a Duvo Pulse dashboard (requires view access). Each thread carries its author, the dashboard element it is pinned to, its replies oldest-first, and whether it has been marked complete.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| artifactId | string | oui | |
| limit | integer | non | Maximum number of comment threads to return (1-200, default 50). |
| offset | integer | non | Number of comment threads to skip, for paging. |
| status | enum: "open" | "complete" | non | Return only threads in this state: `open` for threads not yet marked complete, `complete` for those that are. Omit for both. `total` and `open_total` always count the whole set, so a filtered page still reports how many threads exist. |
createPulseDashboardComment
Create Pulse Dashboard Comment
Start a comment thread on a Duvo Pulse dashboard (requires view access). Pass `element` — captured from the dashboard canvas — to pin the thread to one element; omit it for a comment on the dashboard as a whole.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| artifactId | string | oui | |
| body | string | oui | |
| element | object | non | |
| revision_id | string | non |
createPulseDashboardCommentReply
Create Pulse Dashboard Comment Reply
Reply to a comment thread on a Duvo Pulse dashboard (requires view access). `commentId` must be a thread root; threads are one level deep. A thread already marked complete still accepts replies and stays complete.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| artifactId | string | oui | |
| commentId | string | oui | |
| body | string | oui |
setPulseDashboardCommentResolution
Set Pulse Dashboard Comment Resolution
Mark a Duvo Pulse dashboard comment thread complete, or reopen it (requires view access). Pass the target state in `resolved`; the call is idempotent, and the response carries the thread with `resolved_at` and `resolved_by` set or cleared.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| artifactId | string | oui | |
| commentId | string | oui | |
| resolved | boolean | oui |
deletePulseDashboardComment
Delete Pulse Dashboard Comment
Delete a comment or reply on a Duvo Pulse dashboard. Allowed for the comment's author and for the dashboard's creator. Deleting a thread root keeps its replies, rendered under a deleted opening comment.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| artifactId | string | oui | |
| commentId | string | oui |
listPulseDashboardVersions
List Pulse Dashboard Versions
List the version history of a Duvo Pulse dashboard, newest first (requires edit access). Use the version id with the restore and version-render endpoints.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| artifactId | string | oui |
getPulseDashboardVersionHtml
Get Pulse Dashboard Version Html
Serve a specific version's rendered HTML document for a Duvo Pulse dashboard (text/html, requires edit access).
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| artifactId | string | oui | |
| revisionId | string | oui |
restorePulseDashboardVersion
Restore Pulse Dashboard Version
Restore a previous version of a Duvo Pulse dashboard, making it live again (requires edit access). Non-destructive — it moves the head pointer to the chosen version.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| artifactId | string | oui | |
| revisionId | string | oui |
getRunEvaluation
Get Run Evaluation
Get the latest evaluation analysis for a specific agent run (Run).
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| agentId | string | oui | The agent's unique identifier (Agent ID) |
| runId | string | oui | The run's unique identifier (Run ID) |
getEvalScores
Get Eval Scores
Aggregate evaluation counts and flag distribution for an Assignment's Jobs since the given timestamp.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| agentId | string | oui | The agent's unique identifier (Assignment ID) |
| since | string | oui | ISO 8601 timestamp; only Jobs evaluated after this are counted |
| scope | enum: "all" | "custom" | non | When 'custom', only counts Jobs scored against the target revision's custom rubrics, and only `custom__*` rubric flags. Defaults to 'all' (platform + custom rubrics). |
| revision_id | string | non | Target a specific Assignment revision instead of the live revision. Only honoured when scope='custom' — non-custom scopes aggregate across all revisions. Defaults to the live revision when omitted. |
getEvalRubrics
Get Eval Rubrics
List the evaluation rubrics a Run is scored against: the platform default rubrics plus the Agent-specific rubrics for a build. Defaults to the Agent's live build; pass build_id to target the revision a specific Run ran against.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| agentId | string | oui | The agent's unique identifier (Assignment ID) |
| build_id | string | non | Return rubrics for this specific build (the revision a Run ran against). Defaults to the agent's live build when omitted. |
createEvalRubric
Create Eval Rubric
Add one Agent-specific evaluation rubric to a build. A build may hold at most 5 custom rubrics by default (25 on teams with the newer rubric generator enabled); this fails with 409 once the build's ceiling is reached, and the error message states it. Defaults to the Agent's live build; pass build_id to target a specific revision.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| agentId | string | oui | The agent's unique identifier (Assignment ID) |
| title | string | oui | Short, human-readable Pass/Fail rubric title. |
| description | string | oui | A 1-2 sentence Pass condition phrased as a question. |
| build_id | string | non | Add the rubric to this build (revision). Defaults to the agent's live build when omitted. |
| selected_automation_revision_id | string | null | non | The automation revision this edit is being made at. Pass a draft and the edit is folded into that draft itself; pass the active revision and the edit lands on a draft branched from it. A historic revision is rejected — it cannot be activated from without an explicit rebase. A revision belonging to… |
replaceEvalRubrics
Replace Eval Rubrics
Replace a build's entire Agent-specific evaluation rubric set in one call (at most 5 rubrics by default, 25 on teams with the newer rubric generator enabled). Existing custom rubrics are removed and the supplied list becomes the new set; pass an empty array to clear them. Defaults to the Agent's live build; pass build_id to target a specific revision.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| agentId | string | oui | The agent's unique identifier (Assignment ID) |
| rubrics | array<object> | oui | The complete custom rubric set for the build. Replaces every existing custom rubric; pass an empty array to clear them. |
| build_id | string | non | Replace the custom rubrics on this build (revision). Defaults to the agent's live build when omitted. |
| selected_automation_revision_id | string | null | non | The automation revision this edit is being made at. Pass a draft and the edit is folded into that draft itself; pass the active revision and the edit lands on a draft branched from it. A historic revision is rejected — it cannot be activated from without an explicit rebase. A revision belonging to… |
updateEvalRubric
Update Eval Rubric
Edit a single Agent-specific evaluation rubric's title and/or description. The edit produces a NEW rubric (with a new id and slug) so previously scored Runs stay attributed to the original criterion; the response contains the new rubric.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| agentId | string | oui | The agent's unique identifier (Assignment ID) |
| rubricId | string | oui | The custom rubric's unique identifier |
| title | string | non | Short, human-readable Pass/Fail rubric title. |
| description | string | non | A 1-2 sentence Pass condition phrased as a question. |
| selected_automation_revision_id | string | null | non | The automation revision this edit is being made at. Pass a draft and the edit is folded into that draft itself; pass the active revision and the edit lands on a draft branched from it. A historic revision is rejected — it cannot be activated from without an explicit rebase. A revision belonging to… |
deleteEvalRubric
Delete Eval Rubric
Remove a single Agent-specific evaluation rubric. Future Runs on the build are no longer scored against it.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| agentId | string | oui | The agent's unique identifier (Assignment ID) |
| rubricId | string | oui | The custom rubric's unique identifier |
| selected_automation_revision_id | string | null | non | The automation revision this edit is being made at. Pass a draft and the edit is folded into that draft itself; pass the active revision and the edit lands on a draft branched from it. A historic revision is rejected — it cannot be activated from without an explicit rebase. A revision belonging to… |
duplicateAgent
Duplicate Agent
Duplicate an existing agent into a new agent named "Copy of ", carrying over its configuration. Use the include_* flags in the (optional) body to control what is copied; all default on except memory. Builders can duplicate agents they created; duplicating an agent somebody else created requires the Lead Builder team role or above.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| agent_id | string | oui | The ID of the agent to duplicate |
| include_connections | boolean | non | Copy connected accounts (Connections) and their selected tools. Defaults to true. |
| include_queue | boolean | non | Copy the assigned Queue. Defaults to true. |
| include_skills_files | boolean | non | Copy attached Skills and Files. Defaults to true. |
| include_logins_secrets | boolean | non | Copy saved Logins and Secrets. Defaults to true. |
| include_plugins | boolean | non | Copy installed plugins. Defaults to true. |
| include_aop | boolean | non | Copy the agent's operating procedure (AOP) and its handover targets. Defaults to true. |
| include_memory | boolean | non | Copy what the agent has learned so far (its Memory). Defaults to false. Memory can only be copied from the Duvo app — requesting it here returns an error. |
getAgent
Get Agent
Get an agent by ID. The response carries no revision config: use listAgentRevisions and getRevision for a revision, and getRevisionBody to read a large AOP in character ranges.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| agent_id | string | oui | The agent's unique identifier |
updateAgent
Update Agent
Update an agent's display name or delivery settings.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| agent_id | string | oui | The agent's unique identifier |
| name | string | non | New agent display name. |
| slack_enabled | boolean | non | Whether the agent is reachable via Slack. |
| microsoft_teams_enabled | boolean | non | Whether the agent is reachable via Microsoft Teams. |
| agentic_memory_enabled | boolean | non | Toggle agentic memory for the agent. |
| thread_id | string | null | non | Thread id to associate with the agent, or null to clear. |
| pinned | boolean | non | Pin the agent to the top of your agents list (true) or unpin it (false). Per-user — each viewer has their own pin. A team on Automations has no agents list for a pin to order, so a pin or unpin there is refused with a 409. |
| computer_use_sandbox_template_id | string | string | null | non | "standard" to durably pin the standard Duvo desktop (immune to future team-default changes), a template UUID to pin that desktop, or null to follow the team default. |
| computer_use_vpn_config_id | string | string | null | non | "direct" to durably pin direct internet (no VPN, immune to future team-default changes), a VPN config UUID to pin that network, or null to follow the team default. |
deleteAgent
Delete Agent
Delete an agent and cascade-clean its schedules, case triggers, builder runs, and handover targets. Any active jobs are interrupted and their sandboxes paused.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| agent_id | string | oui | The agent's unique identifier |
listRevisionIntegrations
List Revision Integrations
List integrations attached to an agent revision.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| agent_id | string | oui | Agent ID |
| build_id | string | oui | Build ID |
attachRevisionIntegrations
Attach Revision Integrations
Attach one or more integrations to an agent revision. To pin specific connections after attachment, use pinRevisionIntegrationConnection. IMPORTANT for the case-queue-producer and case-queue-consumer integrations: attaching the integration alone is NOT enough — the slot points at no queue and will fail at runtime until you link at least one queue with replaceRevisionIntegrationQueues. After wiring up, call getRevisionCaseQueueSetup to confirm every case-queue slot has linked_queue_count > 0 before starting work.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| agent_id | string | oui | Agent ID |
| build_id | string | oui | Build ID |
| integration_ids | array<string> | oui | Integration IDs (or custom integration IDs) to attach to the revision |
| selected_automation_revision_id | string | null | non | The automation revision this edit is being made at. Pass a draft and the edit is folded into that draft itself; pass the active revision and the edit lands on a draft branched from it. A historic revision is rejected — it cannot be activated from without an explicit rebase. A revision belonging to… |
removeRevisionIntegration
Remove Revision Integration
Remove an integration from an agent revision. Removes the slot for everyone on the revision, including all per-user connection pins. Requires edit permission on the agent.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| agent_id | string | oui | Agent ID |
| build_id | string | oui | Build ID |
| integration_id | string | oui | Integration ID (catalog integration ID or slot ID from the list response) |
| selected_automation_revision_id | string | null | non | The automation revision this edit is being made at. Pass a draft and the edit is folded into that draft itself; pass the active revision and the edit lands on a draft branched from it. A historic revision is rejected — it cannot be activated from without an explicit rebase. A revision belonging to… |
listRevisionIntegrationConnections
List Revision Integration Connections
List the connections you have pinned to this build's integration slot. Multi-pin is supported: you can pin multiple connections to the same slot.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| agent_id | string | oui | Agent ID |
| build_id | string | oui | Build ID |
| integration_id | string | oui | Integration ID (catalog integration ID or slot ID from the list response) |
pinRevisionIntegrationConnection
Pin Revision Integration Connection
Pin one of your connections (from GET /v2/teams/:team_id/connections) to this build's integration slot. Multi-pin is supported: a single user can pin multiple connections to the same slot.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| agent_id | string | oui | Agent ID |
| build_id | string | oui | Build ID |
| integration_id | string | oui | Integration ID (catalog integration ID or slot ID from the list response) |
| connection_id | string | oui | ID of one of your connections (from GET /v2/teams/:team_id/connections) to pin to this slot |
unpinRevisionIntegrationConnection
Unpin Revision Integration Connection
Unpin one of your connections from this build's integration slot. The connection itself is not deleted; only the binding to this slot is removed.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| agent_id | string | oui | Agent ID |
| build_id | string | oui | Build ID |
| integration_id | string | oui | Integration ID (catalog integration ID or slot ID from the list response) |
| connection_id | string | oui | Connection ID to unpin |
getRevisionCaseQueueSetup
Get Revision Case Queue Setup
Check that this build's case-queue integration slots are wired up correctly. Returns, per case-queue-producer/consumer slot, how many queues are linked, plus whether any queue is available to bind (scoped to the agent's automation on a migrated team, team-wide otherwise). A slot with linked_queue_count of 0 is attached but points at no queue and will fail at runtime — link a queue with replaceRevisionIntegrationQueues before starting work.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| agent_id | string | oui | Agent ID |
| build_id | string | oui | Build ID |
listRevisionIntegrationQueues
List Revision Integration Queues
List the queues linked to this build's case-queue integration slot. Only meaningful for case-queue-producer and case-queue-consumer integrations.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| agent_id | string | oui | Agent ID |
| build_id | string | oui | Build ID |
| integration_id | string | oui | Integration ID |
replaceRevisionIntegrationQueues
Replace Revision Integration Queues
Replace the set of queues linked to this build's case-queue integration slot. Send the full desired queue list — any queues not in the list will be unlinked. Requires edit permission on the agent. After linking, call getRevisionCaseQueueSetup to confirm the slot now reports linked_queue_count > 0.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| agent_id | string | oui | Agent ID |
| build_id | string | oui | Build ID |
| integration_id | string | oui | Integration ID |
| queue_ids | array<string> | oui | Full set of queue IDs to link to this slot. Replaces any existing links. |
| selected_automation_revision_id | string | null | non | The automation revision this edit is being made at. Pass a draft and the edit is folded into that draft itself; pass the active revision and the edit lands on a draft branched from it. A historic revision is rejected — it cannot be activated from without an explicit rebase. A revision belonging to… |
listAgentSuggestions
List Agent Suggestions
List an Agent's suggestions. status=pending is the inbox; status=history is consumed/dismissed/auto-cleared. Reads lazily auto-clear stale pending items.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| agent_id | string | oui | The Agent's unique identifier |
| status | enum: "pending" | "history" | non | |
| limit | integer | non | |
| offset | integer | non |
getAgentSuggestion
Get Agent Suggestion
Fetch a single suggestion. Poll this after a 202 from consume: an AOP apply in flight reports payload.apply.state (running/failed); once consumed, applied_revision_id carries the draft revision the change was staged onto.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| id | string | oui | The suggestion's unique identifier |
consumeAgentSuggestion
Consume Agent Suggestion
Apply a suggestion: stage its change into the Agent's draft revision, then auto-clear any pending suggestions it makes moot.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| id | string | oui | The suggestion's unique identifier |
| revision_id | string | non | |
| create_new_draft | boolean | non | |
| selected_automation_revision_id | string | null | non | The automation revision this edit is being made at. Pass a draft and the edit is folded into that draft itself; pass the active revision and the edit lands on a draft branched from it. A historic revision is rejected — it cannot be activated from without an explicit rebase. A revision belonging to… |
rejectAgentSuggestion
Reject Agent Suggestion
Dismiss a pending suggestion.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| id | string | oui | The suggestion's unique identifier |
getAutomation
Get Automation
Get a single automation with its agent and queue counts, the tab arrangement its detail view navigates by, and `links` to each tab it has right now.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| automation_id | string | oui | Automation ID |
updateAutomation
Update Automation
Update an automation, e.g. rename it. Only the fields present in the body are changed.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| automation_id | string | oui | Automation ID |
| name | string | non | New human-readable automation name. |
generateAutomationProcessMap
Generate Automation Process Map
Start the setup step Generate current process map for a Module automation being set up, the same as pressing it in the web app: Duvo writes the map of how the work runs today from the uploaded files, the interviews and the Policy. Returns 202 at once; the map takes a few minutes and appears on the setup's Current Process step (`url`). Over a map the team already has, it writes a new version. Refused with 409 while required Policy questions are open, a file or interview is still being transcribed, nothing usable is uploaded, or Duvo is already writing the map or the proposal, and with 403 unless the caller created the process or is a Lead Builder or above. Confirm with the user before calling: say it writes the map from what setup has collected. Next comes `generateAutomationProposal`.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| automation_id | string | oui | Automation ID |
generateAutomationProposal
Generate Automation Proposal
Approve the current process map of a Module automation being set up and start writing the automation proposal from it, the same as the setup's Approve and continue in the web app. The proposal says what Duvo automates, what stays with the team and where work hands over. Returns 202 at once; the proposal takes a few minutes and appears on the setup's Automation Proposal step (`url`). Needs the team's own live current process map (call `generateAutomationProcessMap` first) and no proposal yet; `current_process_snapshot_id`, when given, must be that live map. Refused with 409 otherwise, or while required Policy questions are open or Duvo is already writing, and with 403 unless the caller created the process or is a Lead Builder or above. Confirm with the user before calling: say that approving the map writes the proposal from it. Next comes `approveAutomationProposal`.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| automation_id | string | oui | Automation ID |
| current_process_snapshot_id | string | non | The current process map being approved. Must be the live map; leave out to approve whichever map is live. |
approveAutomationProposal
Approve Automation Proposal
Approve the automation proposal of a Module automation being set up, the same as the setup's Approve and build in the web app: it opens an Ask Duvo conversation that reads the proposal and the Policy, proposes which Agents, Queues and dashboards change, makes the changes once the user agrees there, and finishes the setup. Give the user the conversation's `url`; they answer Duvo's plan in it. `proposal_snapshot_id`, when given, must be the live proposal. A build already started is returned with status `already_started` rather than started twice. Refused with 409 when there is no live proposal, required Policy questions are open, or Ask Duvo isn't available to the team, and with 403 below Builder. With Automation conversion in Ask Duvo on for the team, the conversation runs the same build specification flow as Clarity's Create automation against this automation, and takes its access too: 403 unless the caller created the process, is a Lead Builder or above, or the team's Clarity access is unrestricted. Confirm with the user before calling: approving starts the build.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| automation_id | string | oui | Automation ID |
| proposal_snapshot_id | string | non | The automation proposal being approved. Must be the live proposal; leave out to approve whichever proposal is live. |
getAutomationTabs
Get Automation Tabs
Get the automation detail view's tab arrangement, plus metadata for the Pulse dashboards pinned into it. Pinned dashboards are filtered to the ones the calling identity may see.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| automation_id | string | oui | Automation ID |
updateAutomationTabs
Update Automation Tabs
Replace the automation detail view's tab arrangement. Pinning, unpinning, reordering and hiding a tab are all expressed as a different arrangement.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| automation_id | string | oui | Automation ID |
| order | array<string> | oui | Left-group tab keys in render order |
| hidden | array<string> | oui | Native tab keys the user removed from the bar |
deleteAutomation
Delete Automation
Soft-delete an automation. Its member agents and queues stop dispatching and disappear from listings, but their underlying rows and run history are preserved (not erased). Runs still in progress on its agents are interrupted.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| automation_id | string | oui | Automation ID |
duplicateAutomation
Duplicate Automation
Duplicate an automation into a new one named "Copy of ", copying what it runs today: its live agents and builds, its queues (empty), the routing and handovers between them, and each agent's Memory when the team holds Memory and the agent has it on. The caller's own triggers and schedules are copied switched off, so the copy starts no run until they turn them on; other members' triggers and schedules are not copied. An automation built by hand also gets its Policy: sections, questions, answers, and which agents read them. Cases and run history are not copied. A Module demo, and a Module automation with Policy questions, can't be duplicated.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| automation_id | string | oui | The automation to duplicate |
getAutomationCurrent
Get Automation Current
Get what the automation is set up to do right now: its member agents with the builds that are live, its queues' routing, and the triggers and schedules firing for it. The revision-less counterpart of the revision detail — an automation without revisions is read here. `links` holds a link to each tab the automation has right now.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| automation_id | string | oui | Automation ID |
getAutomationCurrentFlow
Get Automation Current Flow
Get the automation's flow graph as it stands right now: the agents and queues it currently wires together, plus the producer, consumer, and handover edges between them. The revision-less counterpart of the revision flow.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| automation_id | string | oui | Automation ID |
getAutomationReadiness
Get Automation Readiness
What still has to be set up before an automation can run on real work. Call this first for a readiness question ("what do I still need to set up", "is it ready to run", "why isn't it running") and before checking an automation's Connections, Logins or Secrets one by one. Each of `items` is `{ key, label, status: ok | missing | broken, detail, link, link_tab }` and covers one of: required Policy questions still open, Connections with no working account pinned or that need reconnecting, Logins and Secrets (present or missing, never their values), Queue slots with no Queue linked, Queues with routing off, no Agent or an Agent that is not live yet, what starts it (a Trigger, a Schedule, or Cases added to a routed Queue), the active revision and a pending draft, and whether it is still a demo. While a Module is being set up and its proposal has not been approved, `items` covers only its setup: required Policy questions, the current process map (`setup:process_map`) and the automation proposal (`setup:automation_proposal`), or, when its setup progress is unavailable, one `setup` item linked to the setup's Get started page, whose approval builds the automation; Connections, Queues and what starts it are checked again once the approved proposal is being built. Lead with what is `missing` or `broken`, each with its own `link` (named by `link_tab`); never build a link. Quote counts from `summary`, including `connections_to_fix`, rather than counting items. `ready` is null when the cal…
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| automation_id | string | oui | Automation ID |
addAutomationAgent
Add Automation Agent
Add an agent to an automation on a team that is on the Automations workspace, with or without revisions — membership is not versioned. The agent must not already belong to another automation; on a team that changes its automations by revision it cannot be moved between them at all, because the revisions binding it are immutable. Adding an agent that is already a member succeeds unchanged. When the automation runs as the team, the agent's personal triggers and schedules are turned off, and the add fails with 409 if its live revision sends cases to a queue in an automation that runs as its members. An agent left behind by a deleted automation that ran as the team cannot join one that runs as its members (409). Adding to an automation that runs as the team also fails with 409 when a change in flight holds the rows the add has to update, such as the agent's personal triggers and schedules; that refusal changes nothing and the add can be retried.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| automation_id | string | oui | Automation ID |
| agent_id | string | oui | Agent ID |
removeAutomationAgent
Remove Automation Agent
Remove an agent from an automation on a team that is on the Automations workspace, with or without revisions — membership is not versioned. Deleting the agent interrupts its active runs and pauses their sandboxes, exactly as a standalone agent delete does. On a team that changes its automations by revision, an agent the active revision binds is refused: activate a revision that omits it first.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| automation_id | string | oui | Automation ID |
| agent_id | string | oui | Agent ID |
addAutomationQueue
Add Automation Queue
Add a queue to an automation on a team that is on the Automations workspace, with or without revisions — membership is not versioned. The queue must not already belong to another automation; on a team that changes its automations by revision it cannot be moved between them at all, because the revisions binding it are immutable. Adding a queue that is already a member succeeds unchanged. A queue left behind by a deleted automation that ran as the team cannot join one that runs as its members (409 team_to_personal_move), and neither can a queue that an agent in an automation running as the team sends cases to (409 team_to_personal_queue).
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| automation_id | string | oui | Automation ID |
| case_queue_id | string | oui | Queue ID |
removeAutomationQueue
Remove Automation Queue
Remove a queue from an automation, deleting the queue. Its cases are cleared and the runs working them interrupted, exactly as a standalone queue delete does. Queue membership is not versioned, so this behaves the same whether or not the team changes its automations by revision.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| automation_id | string | oui | Automation ID |
| case_queue_id | string | oui | Queue ID |
createSandbox
Create Sandbox
Create a new sandbox for file uploads. The returned sandbox_id can be passed to POST /v2/teams/:team_id/runs to stage data for a run.
Aucun paramètre.
createSandboxUploadUrl
Create Sandbox Upload Url
Get a presigned URL for uploading a file into a sandbox. Use for files larger than 10MB; smaller files can be uploaded directly via POST /v2/sandboxes/:sandbox_id/files.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| sandbox_id | string | oui | The sandbox's unique identifier |
| path | string | oui | Path where the file will be uploaded (e.g. /workspace/data.csv) |
listSandboxFiles
List Sandbox Files
List files in a sandbox directory.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| sandbox_id | string | oui | The sandbox's unique identifier |
| path | string | non | Directory to list files from (defaults to /workspace) |
uploadSandboxFile
Upload Sandbox File
Upload a file directly to the sandbox. Maximum file size is 10MB. For larger files, use POST /v2/sandboxes/:sandbox_id/upload-urls.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| sandbox_id | string | oui | The sandbox's unique identifier |
getRun
Get Run
Get information about an agent run. Can be polled to check status.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| run_id | string | oui | The run's unique identifier |
postRunMessage
Post Run Message
Post a message to an agent run. This will persist the message and resume the agent execution if the run is completed or interrupted and has no pending human request. A run whose workspace data retention deleted answers 410 with code `sandbox_expired`.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| run_id | string | oui | The run's unique identifier |
| message | string | oui | The message content to send to the agent |
listRunMessages
List Run Messages
Get paginated messages for an agent run. Messages are returned in chronological order.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| run_id | string | oui | The run's unique identifier |
| limit | integer | non | Number of messages per page (1-50, default 20) |
| offset | integer | non | Number of messages to skip |
respondToHumanRequest
Respond To Human Request
Respond to a human-in-the-loop request. Use 'approved' (true/false) for approval-type requests, or 'answers' ({question: answer}) for question-type requests. Only works when the run is in 'waiting' status.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| run_id | string | oui | The run's unique identifier |
| request_id | string | oui | The human request's unique identifier |
| answers | object | non | For question-type requests: a map of question text to answer. Multi-select answers should be comma-separated. Each answer is at most 10240 UTF-8 bytes. |
| approved | boolean | non | For approval-type requests: true to approve, false to deny |
stopRun
Stop Run
Stop an agent run. No-op if the run is not currently running.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| run_id | string | oui | The run's unique identifier |
listAgentSchedules
List Agent Schedules
List the schedules you own on an agent. Returns only your own schedules, whoever you are. Callers with an elevated team role can read every member's schedules on the agent, including who created each one, via `GET /agents/{agent_id}/schedules/all`.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| agent_id | string | oui | The agent's unique identifier |
listAllAgentSchedules
List All Agent Schedules
List every team member's schedules on an agent, including who created each one. Requires an elevated team role; callers without one receive 403 and should use `GET /agents/{agent_id}/schedules`, which returns only the schedules they own.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| agent_id | string | oui | The agent's unique identifier |
listAgentCaseTriggers
List Agent Case Triggers
List the case triggers configured for an agent. Each trigger automatically dispatches the agent to run cases added to a queue.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| agent_id | string | oui | The agent's unique identifier |
previewAgentCaseTriggerConflicts
Preview Agent Case Trigger Conflicts
Preview which other agents would conflict with this agent's case trigger if it pointed at the given queue. Does not modify the trigger.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| agent_id | string | oui | The agent's unique identifier |
| case_queue_id | string | oui | The queue to check for conflicts against |
getAgentCaseTrigger
Get Agent Case Trigger
Retrieve a single case trigger by id.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| agent_id | string | oui | The agent's unique identifier |
| trigger_id | string | oui | The case trigger's unique identifier |
createAgentCaseTrigger
Create Agent Case Trigger
Create a case trigger for an agent. An agent may have at most one case trigger; this returns 409 if one already exists.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| agent_id | string | oui | The agent's unique identifier |
| case_queue_id | string | oui | Queue whose new cases should trigger this agent |
| enabled | boolean | oui | Whether the trigger is active. Disabled triggers do not dispatch runs. |
| concurrency | number | null | non | Concurrency cap for the target queue. The cap is queue-wide, so this affects every Agent working the queue, not just this trigger. Only 1 (run cases one at a time) or null (reset the whole queue's cap to the platform default) can be set here; higher caps are configured per-queue via PATCH /v2/admin… |
updateAgentCaseTrigger
Update Agent Case Trigger
Update fields on a case trigger. Only the trigger creator or a builder/admin can disable an enabled trigger or change its queue, and only a builder/admin can change queue concurrency.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| agent_id | string | oui | The agent's unique identifier |
| trigger_id | string | oui | The case trigger's unique identifier |
| case_queue_id | string | non | Queue whose new cases should trigger this agent |
| enabled | boolean | non | Whether the trigger is active. Disabled triggers do not dispatch runs. |
| concurrency | number | null | non | Concurrency cap for the trigger's queue. The cap is queue-wide, so this affects every Agent working the queue, not just this trigger. Only 1 (run cases one at a time) or null (reset the whole queue's cap to the platform default) can be set here; higher caps are configured per-queue via PATCH /v2/ad… |
deleteAgentCaseTrigger
Delete Agent Case Trigger
Delete a case trigger. Only the trigger creator or a builder/admin can delete it.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| agent_id | string | oui | The agent's unique identifier |
| trigger_id | string | oui | The case trigger's unique identifier |
listAgentTriggers
List Agent Triggers
List the trigger definitions the authenticated user owns on an agent (Agent in the Duvo UI). Triggers start a Run automatically when an external event fires (e.g. an email arrives or a Linear issue is created).
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| agentId | string | oui | The agent's unique identifier |
upsertAgentTrigger
Upsert Agent Trigger
Create or update the authenticated user's trigger for an integration on an agent. The integration must already be connected to the agent (its OAuth connection set up in the Duvo dashboard). Set `enabled: false` to pause a trigger without deleting it. An agent holds one trigger per integration for a user, so a save with a different `trigger_type` replaces the existing one — except when that trigger is an @mention trigger, which is managed from the agent's mention setting and answers 409 (`mention_trigger_protected`) here. @mention triggers are best managed from that setting throughout: this route leaves an existing one's `filter_config` untouched, and refuses to create a `teams_mention` trigger without a `filter_config.tenantId` (400, `mention_trigger_workspace_required`) — a Slack mention trigger has no equivalent field to supply.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| agentId | string | oui | The agent's unique identifier |
| integration_slug | string | oui | Integration slug the trigger fires for (e.g. `gmail`, `outlook`, `linear-native`, `google-drive`). |
| trigger_type | string | oui | Trigger type within the integration (e.g. `email_received`). Discover valid values via the trigger types endpoint. Integrations that enumerate their trigger types (Microsoft Teams, Google Drive, Google Sheets) reject anything else with 400 (`trigger_type_unsupported`), except a save that pauses a t… |
| filter_config | object | non | Integration-specific filter config (e.g. sender/subject filters). Shape comes from the integration's filter schema. Replaces the trigger's current config, so send the whole object — except on an @mention trigger, whose config is managed from the agent's mention setting and is left as it is. |
| enabled | boolean | non | Whether the trigger is active. Defaults to true. |
deleteAgentTrigger
Delete Agent Trigger
Permanently delete one of your own event triggers on an agent. The agent stops starting Runs for that event and the trigger's filter config is lost. To keep the trigger but stop it firing, upsert it with `enabled: false` instead.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| agentId | string | oui | The agent's unique identifier |
| triggerId | string | oui | The trigger to delete |
listAgentTriggerTypes
List Agent Trigger Types
List the trigger types available for an agent, grouped by integration. Use the returned `integration_slug` and `trigger_type` values when creating a trigger.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| agentId | string | oui | The agent's unique identifier |
createAgentSlackTrigger
Create Slack Channel Trigger
Create a Slack channel trigger on an agent (Agent in the Duvo UI): the agent starts a Run whenever a matching message is posted in the channel. An agent can carry one trigger per channel, so call this once per channel. The Slack workspace must be installed for the team AND bound to the agent's live build first (see the Slack bound-workspaces endpoint) — otherwise this returns 400.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| agent_id | string | oui | The agent's unique identifier |
| trigger_type | string | oui | Trigger type. Only `slack_channel_message` (a message posted in a Slack channel) is supported here. |
| slack_team_id | string | non | Slack workspace (team) ID the channel belongs to, e.g. `T0123ABCD`. Defaults to the team's default installed workspace. Discover the workspaces an agent can use with the bound-workspaces endpoint. |
| channel_id | string | oui | Slack channel ID to watch, e.g. `C0123ABCD`. |
| channel_name | string | oui | Slack channel name shown in Duvo, without the leading `#`, e.g. `support-inbox`. |
| match_rule | object | object | oui | Which channel messages fire the trigger: `{"kind":"all"}` for every message, or `{"kind":"contains","values":["invoice"]}` to match keywords. |
| is_private | boolean | non | Whether the channel is private. Defaults to false. Private channels require the Duvo Slack app to be invited to the channel. |
| integration_instance_id | string | non | Specific bound Slack connection to run the trigger off. Omit to use your own connection, or pass one returned by the bound-workspaces endpoint. |
listAgentSlackTriggers
List Slack Channel Triggers
List the Slack channel triggers you own on an agent (Agent in the Duvo UI), oldest first. Each trigger's `filter_config` carries the watched `channelId`, `channelName`, Slack `workspaceId`, and `matchRule`. Capped at 100 triggers per agent.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| agent_id | string | oui | The agent's unique identifier |
updateSlackTrigger
Update Slack Channel Trigger
Update a Slack channel trigger you own — repoint it at another channel, change which messages match, or pause and resume it with `enabled`. Only the supplied fields change. Resuming a paused trigger requires the Slack connection it runs off to still be available on the agent; changing the channel resets the trigger's seen-message state.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| trigger_id | string | oui | The Slack channel trigger's unique identifier |
| channel_id | string | non | New Slack channel ID to watch. Omit to leave unchanged. |
| channel_name | string | non | New Slack channel name, without the leading `#`. |
| match_rule | object | object | non | Which channel messages fire the trigger: `{"kind":"all"}` for every message, or `{"kind":"contains","values":["invoice"]}` to match keywords. |
| is_private | boolean | non | Whether the channel is private. |
| enabled | boolean | non | Set to false to pause the trigger without deleting it, or true to resume it. Resuming requires the connection the trigger uses to still be available on the agent. |
listAgentSlackBoundWorkspaces
List Slack Workspaces Bound To An Agent
List the Slack workspaces bound to an agent build that you can create channel triggers for. Creating a Slack channel trigger for any other workspace is rejected, so start here to pick a valid `slack_team_id` and `integration_instance_id`.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| agent_id | string | oui | The agent's unique identifier |
| build_id | string | oui | The agent build (revision) whose bound connections to list |
deleteSlackTrigger
Delete Slack Channel Trigger
Permanently delete a Slack channel trigger you own. The agent stops starting Runs for that channel. To keep the trigger but stop it firing, update it with `enabled: false` instead.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| trigger_id | string | oui | The Slack channel trigger's unique identifier |
acceptRevisionGeneration
Accept Revision Generation
Accept the reviewed generated configuration and complete the builder run. The saved draft is not activated.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| build_id | string | oui | The revision identifier. |
| builder_run_id | string | oui | The builder run returned by generation or status, belonging to this revision. |
| expected_started_at | string | null | oui | Copy started_at from the status being reviewed. Each prompt has its own builder run ID; stale review identities return 409. |
generateRevision
Generate Revision
Generate agent instructions or code into a saved draft. Poll the returned builder run, answer questions if requested, then accept or decline the reviewed checkpoint. This never activates the revision.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| build_id | string | oui | Source revision to generate or refine. |
| prompt | string | array<string> | oui | Instructions for generating or refining this agent or code step. |
| conversation | array<object> | non | Optional voice conversation transcript |
| selected_automation_revision_id | string | null | non | The automation revision this edit is being made at. Pass a draft and the edit is folded into that draft itself; pass the active revision and the edit lands on a draft branched from it. A historic revision is rejected — it cannot be activated from without an explicit rebase. A revision belonging to… |
| run_id | string | non | Optional run ID for context |
| process_id | string | non | Optional process ID for context |
| insight_index | number | non | Optional insight index for context |
| previous_build_id | string | non | Previous build ID for sandbox reuse |
| draft_file_id | string | non | Temporary source file for this AOP draft. It is not kept on the Agent. |
| draft_file_ids | array<string> | non | Temporary source files for this AOP draft, in attachment order. They are not kept on the Agent. |
promoteRevision
Promote Revision
Promote a draft or historic revision to the live version. Before calling, confirm with the user which agent and revision will go live and that triggers and new runs will use it. The live revision is the one used by triggers and new runs. Fails if the revision is already live, if a draft revision still has an active builder run, or with 409 if the agent's automation runs as the team and the revision sends cases to a queue that is not in a team automation.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| build_id | string | oui | The build's unique identifier |
| revision_name | string | non | Optional display name to set on the promoted revision. |
| revision_description | string | null | non | Optional description for the promoted revision. Pass null to clear an existing description. |
resumeBuilderRun
Resume Builder Run
Resume a builder run that is waiting for user input
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| builder_run_id | string | oui | The builder run waiting for answers. |
| answers | object | oui | Answers keyed by the exact question text in pending_user_questions.questions. |
cancelBuilderRun
Cancel Builder Run
Cancel a running builder run and pause its sandbox
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| builder_run_id | string | oui | The builder run identifier. |
| status | string | oui | Cancel an in-progress generation; review-pending changes must be declined instead. |
createRevision
Create Revision
Create a new revision for an existing agent.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| agent_id | string | oui | The agent's unique identifier |
| name | string | oui | Build name |
| config | object | object | non | Build configuration. An agent step takes the latest agent schema (legacy v1 agent configs are not accepted); a code step takes a code-step config. Omit it to get the step family's default first build. |
| handover_target_ids | array<string> | null | non | Agent IDs that this agent can hand work off to, used exactly as sent; an empty list means none. Send null or omit it to use the agents the AOP mentions with tags. Targets are never copied from the source build. |
| handover_to | string | null | non | The single agent or code step to run after this one completes ("Handover to"). Mutually exclusive with handover_target_ids. |
| handover_options | object | null | non | Code steps only. The targets the program may request, and whether it must. Null clears them; omit to inherit the source build's. Mutually exclusive with handover_to. |
| source_build_id | string | non | Build ID to copy integrations and queue links from. A numbered revision copied this way is recorded as the new build's parent. |
| selected_automation_revision_id | string | null | non | The automation revision this edit is being made at. Pass a draft and the edit is folded into that draft itself; pass the active revision and the edit lands on a draft branched from it. A historic revision is rejected — it cannot be activated from without an explicit rebase. A revision belonging to… |
declineRevisionGeneration
Decline Revision Generation
Discard generated changes by restoring checkpoint_config and completing the builder run. The saved draft is not activated.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| build_id | string | oui | The revision identifier. |
| builder_run_id | string | oui | The builder run returned by generation or status, belonging to this revision. |
| expected_started_at | string | null | oui | Copy started_at from the status being reviewed. Each prompt has its own builder run ID; stale review identities return 409. |
getRevision
Get Revision
Get a revision by ID.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| agent_id | string | oui | The agent's unique identifier |
| build_id | string | oui | The build's unique identifier |
getBuilderRun
Get Builder Run
Get the status of a builder run
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| builder_run_id | string | oui | The builder run identifier. |
getRevisionBody
Get Revision Body
Read one section of a revision's config as plain text, in character ranges: the AOP (`input`) or the code-step program (`source`). Use it instead of getRevision when the text is large; listAgents with `config=light` reports each agent's `input_chars` and `source_chars`.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| agent_id | string | oui | The agent's unique identifier |
| build_id | string | oui | The revision's unique identifier |
| section | enum: "input" | "source" | oui | `input` is an agent step's AOP text; `source` is a code step's program. |
| offset | integer | non | Character offset to start reading from (default 0) |
| length | integer | non | Characters to return (1-50000, default 40000). Repeat with a higher offset until offset plus the returned length reaches total_chars. |
listAgentRevisions
List Agent Revisions
List revisions for an agent. Pass `config=light` to leave each revision's config out of the page and get its sizes instead; read the AOP with getRevisionBody.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| agent_id | string | oui | The agent's unique identifier |
| limit | integer | non | Number of revisions per page (1-100, default 20) |
| offset | integer | non | Number of revisions to skip |
| status | enum: "draft" | "live" | "historic" | non | Only revisions with this status. `live` returns the active revision, wherever it falls in the history. |
| config | enum: "light" | "full" | non | `full` (default) embeds each revision's config. `light` sets `config` to null and reports its sizes, hash and models in `config_summary`; read the AOP or program text with getRevisionBody. Use `light` unless you need the instructions themselves: a page of revisions can run to millions of characters. |
updateRevision
Update Revision
Update a revision's configuration, name, description, or handover targets. A config replaces the stored one whole: pass the config_hash from the read you edited as expected_config_hash, so the save is refused with 409 instead of overwriting a change made since. Returns the updated revision.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| build_id | string | oui | The build's unique identifier |
| config | object | non | Build configuration object |
| expected_config_hash | string | non | The config_hash from the read this edit is based on. The save is refused with 409 (code revision_config_changed) when the revision's config no longer has that hash, so a change saved in between is not overwritten. Read the revision again and reapply the edit. Omit it to save without the check. |
| require_draft | boolean | non | When true, the save is refused with 409 unless the revision it lands on is still a draft (code revision_not_draft) with no generation running or awaiting review (code revision_generation_pending). Use it for an edit meant for review before it goes live. |
| handoverTargetIds | array<string> | null | non | Agent IDs that this agent can hand over work to, used exactly as sent; an empty list clears them. Send null to use the agents the AOP mentions with tags. Omit it to leave the targets as they are. |
| handoverTo | string | null | non | The single agent or code step to run after this one completes ("Handover to"). Null clears it; omit to leave it unchanged. Mutually exclusive with @-mention handovers in the AOP. |
| handoverOptions | object | null | non | Code steps only. The targets the program may request, and whether it must. Null clears them; omit to leave unchanged. Mutually exclusive with handoverTo in one request. |
| revision_name | string | null | non | Optional user-defined name for this revision. Pass null to clear. |
| revision_description | string | null | non | Optional user-defined description for this revision. Pass null to clear. |
| selected_automation_revision_id | string | null | non | The automation revision this edit is being made at. Pass a draft and the edit is folded into that draft itself; pass the active revision and the edit lands on a draft branched from it. A historic revision is rejected — it cannot be activated from without an explicit rebase. A revision belonging to… |
uploadCodeStepFile
Upload Code Step File
Upload one UTF-8 file of a code step's program to the content-addressed store. Put the returned sha256 and sizeBytes entry in the revision's config source.bundle manifest (using the returned bucket) via updateRevision on a draft. Uploading does not change a revision or make code live.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| agent_id | string | oui | The code step's unique identifier |
| content | string | oui | The file's contents, as UTF-8 text |
listCodeStepFiles
List Code Step Files
List the files of a code step's program on a revision, sorted by path. Every program runs main.py; a single-file program lists only that file. Paginated with limit and offset (default 20 per page): read pages until you have `total` files before concluding a file is missing. Read a file's content with getCodeStepFile.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| agent_id | string | oui | The code step's unique identifier |
| build_id | string | oui | The revision whose program to list |
| limit | integer | non | Number of files per page (1-100, default 20) |
| offset | integer | non | Number of files to skip |
getCodeStepFile
Get Code Step File
Read one file of a code step's program on a revision, by path. Works for single-file and multi-file programs alike; a single-file program's only file is main.py. List the paths with listCodeStepFiles.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| agent_id | string | oui | The code step's unique identifier |
| build_id | string | oui | The revision whose program the file belongs to |
| path | string | non | The file's path in the program, e.g. "lib/util.py" (default main.py, the file every program runs) |
moveAgent
Move Agent
Move an agent (and its connected workspace) to a different team. Pass dry_run=true to preview the closure without applying changes.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| agent_id | string | oui | The ID of the agent to move. |
| dry_run | boolean | string | string | non | When true, preview the closure and warnings without applying any changes. |
| target_team_id | string | oui | The ID of the team to move the agent into. |
| bypass_standalone_gate | boolean | non | When true, move the agent together with every connected queue, trigger, and handover peer instead of rejecting a non-standalone agent. Defaults to false. |
readAutomationDashboardData
Read Automation Dashboard Data
The figures a Module automation's Pulse dashboards show, computed server-side the same way the dashboard computes them: each tile's `label`, `value`, `unit` and `display` (the value as the dashboard prints it), with a `description` where the label alone leaves the figure unclear and a `note` for what the tile shows besides it. Call this for any number on a Module dashboard instead of reading the dashboard's HTML (`getPulseDashboardHtml` refuses Module dashboards for size) or paging through Cases: a recount can disagree with the tile the user sees. Pass `dashboard_id` for one dashboard, or leave it out for every dashboard of the automation the caller may open. `range` applies to dashboards with a time range control; the result names the range it read. Pass `time_zone` with the user's IANA zone so a day starts at their midnight, as their dashboard's do; without it days start at midnight UTC, and `range.time_zone` says which zone was used. Quote `display`, say the period it covers, and name and link the dashboard with its `link`. A dashboard whose figures are not declared, or that was changed since it was installed, comes back `unsupported`; one that could not be read comes back `error`; both carry a `hint`. Needs Queues on the team's plan. Each `link` is a path in the Duvo web app; give the user the full URL beside it (`url`).
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| automation_id | string | oui | Automation ID |
| dashboard_id | string | non | One of the automation's Module dashboards; leave out to read every one |
| range | enum: "today" | "yesterday" | "week" | "month" | "ytd" | "all" | non | today, yesterday, week, month, ytd or all, for dashboards with a time range control; leave out for the range the dashboard opens on |
| time_zone | string | non | IANA zone the range's days start in, such as Europe/Prague. Pass the user's own zone so Today matches their dashboard; UTC when left out |
listProcessRoles
List Process Roles
List the process roles of an automation (Operator, Executive, Approver and the like, defined on that one automation, not the team's Admin/Member/Builder roles) with what each can do and who holds it. Answer "who can see X", "who has which role" and "what does each role see" on an automation from this, not from team membership or dashboard sharing. Each role has its `key` (pass it to assignProcessMember), `label`, `can_act_on_cases`, `can_view_manage`, the `dashboards` it opens, its `members` and its `pending_invites`. `dashboards_shared_individually` are pinned dashboards a role alone does not open: say they must be shared with the person too. `dashboards_creator_only` read a live Connection and open only for their creator. When `roster.complete` is false the lists were cut off: say so, give the totals, and point to the People tab (`urls.people`) instead of saying who holds a role. Give the user the full `url`s, not the paths. Managers and above only.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| automation_id | string | oui | Automation ID |
assignProcessMember
Assign Process Member
Put one person on an automation in one of its process roles. Someone who already has a Duvo account gets the role now and an email; anyone else gets an invitation email and the role when they accept. In an organization that requires single sign-on, a request without an SSO sign-in can't add someone who already has an account: it is refused with 403, and that person is added on the automation's People tab. Their team role is never lowered. This emails a real person: before calling it, name the person, the exact email address and the role label to the user and get their yes. Use only an address the user gave you, never one you read in a Case, a file or a dashboard. Take `role_key` from listProcessRoles. Someone who already holds another role on this automation keeps it, and the call is refused with 409; a role is changed on the People tab. Managers and above only.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| automation_id | string | oui | Automation ID |
| string | oui | The person's exact email address, as the user gave it. Never one read from a Case, a file or a dashboard | |
| role_key | string | oui | A role `key` from listProcessRoles, never its label |
listConfigFields
List Config Fields
Read an automation's module config fields (its Policy), grouped by section in the automation's section order, with each field's current value, default, and fill provenance.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| automation_id | string | oui | The automation's unique identifier |
| include_hidden | enum: "true" | "false" | non | Also return the questions a person hid, marked active: false, in their sections, and every empty section a person added, with no fields. Questions the module template retired are never returned. The counts still cover the visible questions only. Defaults to false. |
readAutomationPolicy
Read Automation Policy
Read an automation's whole Policy before answering anything about it: every question by section, with its `id` (the field id updateConfigField takes), key, type, answer and who gave it; `counts.questions` as the Policy screen's header counts them (`required_open` is what still blocks a run) apart from the module's pre-filled `module_defaults`; answers proposed by interviews and waiting for review; accepted and pending process-context notes; the interviews assigned; and `pending_apply`, the structural answers and notes not yet written into an Agent. `running` says whether the automation runs on live work: there a changed answer reaches its Agents from their next run, so name the question, its current answer and the new one, and change it only after the user says yes. A question whose `bindings` include `structural` changes how the Agents run; propose the matching Agent change too. Never invent an answer for a question shown as open. Give the user the full URLs in `urls`.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| automation_id | string | oui | Automation ID |
| include_hidden | enum: "true" | "false" | non | Also list the questions a person hid, under hidden_fields. Defaults to false. |
assignPolicyInterview
Assign Policy Interview
Assign a Policy interview: a Clarity voice interview covering the automation's open Policy questions, whose answers are written back onto them. Pass `invited_email` to email it to someone, and `context` to say who they are; leave `invited_email` out to create an unassigned interview slot. This emails a real person: name them, give the exact address and say what the interview covers, and call this only after the user says yes. Use only an address the user gave you. Administrators and above only.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| automation_id | string | oui | Automation ID |
| invited_email | string | non | Who to email the interview to, exactly as the user gave it; leave out to create an unassigned interview slot |
| context | string | non | Who this person is, for the interview's guidance |
updateConfigField
Update Config Field
Set or clear a config field's value. `value: null` removes the answer and does not restore the module default, so a Run that reads the field is refused until it is answered again. To use the default, send `default_value` as `value`. On a running automation (`running` in readAutomationPolicy) the change reaches its Agents from their next run: name the question, its current answer and the new one, change it only after the user says yes, and pass the current answer you showed, not the new one, as `expected_value` so a change someone made in between is not overwritten. A compound question takes every part in one write. When the field's `bindings` include `structural`, the module's Agents also need a matching change; propose it.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| automationId | string | oui | Automation ID |
| fieldId | string | oui | Config field ID |
| value | null | oui | |
| expected_value | null | non | The current answer, as you read it and showed the user, not the new one (null if it was unanswered). If the answer has changed since, nothing is written and the call fails with 409; read the Policy again |
addConfigField
Add Config Field
Add a Policy question to this automation. Its key is `custom_` plus the label in snake_case, with `_2`, `_3` and so on appended when the key is taken, and it is placed at the end of its section. A module template reinstall never changes a field added here.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| automation_id | string | oui | The automation's unique identifier |
| label | string | oui | Short name for the field, shown as its row heading |
| key | string | non | Code for the field, unique within the automation; derived from the label when left out |
| question | string | oui | The setup question asked for this field |
| guidance | string | null | non | What to fill in for the question, in plain sentences; left out or null for none |
| example | string | null | non | An example answer to the question; left out or null for none |
| type | enum: "freeText" | "identifier" | "number" | "select" | "multiSelect" | "list" | "orderedList" | "personList" … | oui | Value type; compound and sourcePointer are template-only |
| section | string | null | non | Section to add the field to, or null for none |
| fill_mode | enum: "interview" | "setup" | non | How the field is filled (interview, setup) |
| options | array<string> | non | Required for select and multiSelect, refused otherwise |
| columns | array<string> | non | Required for table, refused otherwise |
| bindings | array<enum: "context" | "tool"> | non | How the value reaches the automation (context, tool) |
| roles | array<string> | non | Keys of the process roles whose holders answer this question; empty means anyone |
updateConfigFieldDefinition
Update Config Field Definition
Edit a Policy question: its label, question, guidance, example answer, section, the roles that answer it, the options of a select or multiSelect field, and the columns of an unanswered table field a person added. A reworded question gets a new version, and a new section moves the field to that section's end. The type of a field added through the API can change while it has no answer; a field from the module template keeps its type. The answer is never changed, and a module template reinstall keeps the edit.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| automation_id | string | oui | The automation's unique identifier |
| field_id | string | oui | The config field's unique identifier |
| label | string | non | Short name for the field, shown as its row heading |
| key | string | non | New code, only for a field added to this automation that no Agent or Code step reads yet |
| question | string | non | New question; a reworded question gets a new version |
| guidance | string | null | non | New guidance on what to fill in, in plain sentences, or null to remove it |
| example | string | null | non | New example answer, or null to remove it |
| section | string | null | non | Section to move the field to the end of, or null for none |
| options | array<string> | non | Select and multiSelect fields only; replaces the whole list |
| columns | array<string> | non | Table fields only, while the field has no answer; replaces the whole list |
| type | enum: "freeText" | "identifier" | "number" | "select" | "multiSelect" | "list" | "orderedList" | "personList" … | non | New value type, only for a field added through the API that has no answer yet |
| roles | array<string> | non | Keys of the process roles whose holders answer this question; replaces the whole list, and empty means anyone |
hideConfigField
Hide Config Field
Hide a Policy question from the Policy screen, interviews and every agent's context. Nothing is deleted: the answer and its history stay, and the restore operation shows it again. Returns the agents whose live version still reads the field; hiding is never refused because of them. A module template reinstall keeps the field hidden.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| automation_id | string | oui | The automation's unique identifier |
| field_id | string | oui | The config field's unique identifier |
restoreConfigField
Restore Config Field
Show a hidden Policy question again, with the answer it had.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| automation_id | string | oui | The automation's unique identifier |
| field_id | string | oui | The config field's unique identifier |
listConfigSections
List Config Sections
List the sections of an automation's Policy in display order, empty ones included, each with its key, name, origin and question count. No offset/limit params: this is the automation's whole set of sections.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| automation_id | string | oui | The automation's unique identifier |
addConfigSection
Add Config Section
Add an empty section to this automation's Policy, last or right after after_key. Its key is the name in lowercase words joined by hyphens, with `-2`, `-3` and so on appended when the key is taken. A name another section has, ignoring case, is refused with a 409. A module template reinstall never changes a section added here.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| automation_id | string | oui | The automation's unique identifier |
| name | string | oui | The section heading shown on the Policy screen, unique within the automation ignoring case |
| after_key | string | non | Key of the section to place the new one right after; omitted, it goes last |
renameConfigSection
Rename Config Section
Rename a section of this automation's Policy. Its key and its questions stay as they are, and every reader shows the new name. A name another section has, ignoring case, is refused with a 409; the current name changes nothing. A module template reinstall keeps the rename.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| automation_id | string | oui | The automation's unique identifier |
| section_key | string | oui | The section's key within the automation, such as 'about-you' |
| name | string | oui | The new heading; the section's key and its questions stay as they are |
reorderConfigSections
Reorder Config Sections
Replace the display order of this automation's Policy sections. keys must list every section key of the automation exactly once, else a 400 names what is missing, unknown or repeated. Returns every section in its new order. A module template reinstall keeps the order of the sections moved here.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| automation_id | string | oui | The automation's unique identifier |
| keys | array<string> | oui | Every section key of the automation exactly once, in the new display order |
removeConfigSection
Remove Config Section
Remove a section a person added to this automation's Policy, once it holds no question, hidden ones included. A section with questions, or one from the module template, is refused with a 409. Returns the removed section.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| automation_id | string | oui | The automation's unique identifier |
| section_key | string | oui | The section's key within the automation, such as 'about-you' |
listSystemSkills
List System Skills
List all system skills (skills available to all teams).
Aucun paramètre.
deleteSkill
Delete Skill
Delete a skill for the current team.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| skill_id | string | oui | Skill ID. |
downloadSkill
Download Skill
Download a custom skill as a ZIP archive. Only custom (team-owned) skills can be downloaded.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| skill_id | string | oui | Skill ID. |
listSkillFiles
List Skill Files
List all files in a skill.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| skill_id | string | oui | Skill ID. |
getSkillFileContent
Get Skill File Content
Get the content of a file in a skill.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| skill_id | string | oui | Skill ID. |
| path | string | oui | Relative path to the file inside the skill, e.g. SKILL.md. |
updateSkillFile
Update Skill File
Update the content of a file in a skill, overwriting the active revision in place — the previous content is not recoverable. Prefer the non-destructive flow when you can: createSkillRevision to open a draft, updateSkillRevisionFile to edit it, promoteSkillRevision to activate it. Only team skills can be edited.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| skill_id | string | oui | Skill ID. |
| path | string | oui | Relative path to the file inside the skill, e.g. SKILL.md. |
| content | string | oui | New UTF-8 text content for the file. |
listSkillAssignments
List Skill Assignments
List the agents in the current team whose live build references the given skill. Used to warn users that editing a skill will affect every agent that uses it.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| skill_id | string | oui | Skill ID. |
listSkillRevisions
List Skill Revisions
List a skill's version history. Each revision is a snapshot of the skill's files; at most one is active (live) at a time, plus at most one open draft.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| skill_id | string | oui | Skill ID. |
| limit | integer | non | Number of revisions per page (1-100, default 20) |
| offset | integer | non | Number of revisions to skip |
createSkillRevision
Create Skill Revision
Open a draft revision of a skill, copying its files from the active revision (or from `source_revision_id`). Edit the draft with updateSkillRevisionFile and deleteSkillRevisionFile, then activate it with promoteSkillRevision — the previously active revision stays intact and can be re-activated later. A skill has at most one open draft: if one already exists this returns it with `created: false`.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| skill_id | string | oui | Skill ID. |
| source_revision_id | string | non | Revision to fork the new draft from. Defaults to the live revision (or the skill's current files if there is no live revision yet). |
promoteSkillRevision
Promote Skill Revision
Make a skill revision the active (live) one. The previously active revision becomes historic and can be re-activated later. Idempotent: promoting the already-active revision succeeds rather than erroring, and still applies any revision_name / revision_description supplied in the body.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| skill_revision_id | string | oui | Skill revision ID. |
| revision_name | string | non | Optional display name to set on the promoted revision. |
| revision_description | string | null | non | Optional description for the promoted revision. Pass null to clear an existing description. |
listSkillRevisionFiles
List Skill Revision Files
List the files in a skill revision, one page at a time. When `has_more` is true, pass `next_cursor` back as `cursor` to fetch the next page.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| skill_revision_id | string | oui | Skill revision ID. |
| limit | integer | non | Maximum number of files to return per page (1-1000, default 100) |
| cursor | string | non | Opaque continuation token from a previous response's `next_cursor`. Omit for the first page. |
getSkillRevisionFileContent
Get Skill Revision File Content
Get the content of a text file in a skill revision.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| skill_revision_id | string | oui | Skill revision ID. |
| path | string | oui | Relative path to the file inside the revision, e.g. SKILL.md. |
updateSkillRevisionFile
Update Skill Revision File
Write a text file into a skill revision. Writing into a draft leaves the active revision untouched until the draft is promoted; writing into the active revision changes what the skill runs immediately. Historic revisions are read-only: create a draft from one to edit it.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| skill_revision_id | string | oui | Skill revision ID. |
| path | string | oui | Relative path to the file inside the revision, e.g. SKILL.md. |
| content | string | oui | New UTF-8 text content for the file. |
deleteSkillRevisionFile
Delete Skill Revision File
Delete a file from a skill revision. Deleting from a draft leaves the active revision untouched until the draft is promoted; deleting from the active revision changes what the skill runs immediately. SKILL.md can't be deleted. Historic revisions are read-only: create a draft from one to edit it.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| skill_revision_id | string | oui | Skill revision ID. |
| path | string | oui | Relative path to the file inside the revision, e.g. scripts/helper.py. |
updateSkillRevision
Update Skill Revision
Rename a skill revision or change its description. Works for drafts, the active revision, and historic revisions.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| skill_revision_id | string | oui | Skill revision ID. |
| revision_name | string | null | non | Optional user-defined name for this revision. Pass null to clear. |
| revision_description | string | null | non | Optional user-defined description for this revision. Pass null to clear. |
deleteSkillRevision
Delete Skill Revision
Delete a draft or historic skill revision and its files. The active revision can't be deleted — activate another revision first.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| skill_revision_id | string | oui | Skill revision ID. |
getProfile
Get Profile
Get the profile of the authenticated user (the owner of the API key).
Aucun paramètre.
getLegacyClarityProcess
Get Legacy Clarity Process
Get a legacy v1 Clarity process with process metadata, generated analysis, automation guidance, generation progress, and captures. Use this for rows from listClarityProcesses where version=1; v2 rows should use getClarityProcess and snapshot detail tools.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| id | string | oui |
updateClarityProcess
Update Clarity Process
Update a Clarity process name, guidance, interview independence, map settings, visibility, or completion status. Team Builders can edit names, guidance, interview independence, and map settings, only the creator or a team manager can change visibility, and completing or reopening a process for review requires permission to complete processes (Lead Builder and above by default).
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| id | string | oui | Clarity process id |
| name | string | non | New process name |
| status | enum: "complete" | "review" | non | Mark a review-stage process complete, or reopen a completed process for review |
| customPrompt | string | null | non | Process-specific guidance, or null to clear it |
| visibility | enum: "team" | "restricted" | non | Process visibility within the team |
| independentInterviews | boolean | non | Run each interview independently: no briefing from earlier interviews and a neutral opener |
| mapLanguage | enum: "cs" | "de" | "de-CH" | "en" | "en-GB" | "es" | "es-MX" | "fr" … | null | non | Language Duvo writes this process's map in, or null to use the team's map language |
| missingInfoGuidance | string | null | non | Topics to prioritize in this process's missing-info review. Send null to clear. |
| showMissingInfo | boolean | null | non | Show missing-info questions on the map, or null to follow the team default |
| showFieldsAndActions | boolean | null | non | Show fields and actions on the map, or null to follow the team default |
listClarityProcessMembers
List Clarity Process Members
List users with accepted access to a clarity process, the people invited who have not accepted yet, and anyone else who has recorded a capture on it
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| id | string | oui | Clarity process ID. |
| contributorsAfter | string | non | Cursor from contributorsNextCursor; returns the next page of contributors. |
removeClarityProcessMember
Remove Clarity Process Member
Remove accepted access to a clarity process
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| id | string | oui | Clarity process ID. |
| invitationId | string | oui | Accepted process invitation to remove. |
deleteClarityProcess
Delete Clarity Process
Delete a Clarity process. The creator or a team admin can delete it unless capture analysis is still in progress, or a Module runs it — a Module's process is part of the Module, so the Module has to be removed first. An automation built from the process keeps running, with its setup answers and people, but is no longer linked to it.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| id | string | oui | Clarity process id |
duplicateClarityProcess
Duplicate Clarity Process
Duplicate a Clarity process with its analysis, captures, message history, and, for v2 processes, its live current map and automation proposal. Requires a team manager role.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| id | string | oui | Source Clarity process id |
createClarityVideoUploadUrl
Create Clarity Video Upload Url
Create a signed URL for uploading a video file directly to GCS
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| id | string | oui | The clarity process ID |
| fileName | string | oui | Name of the video file |
| contentType | enum: "video/mp4" | "video/mov" | "video/webm" | "video/mpeg" | "video/mpg" | "video/avi" | "video/x-flv" | "video/wmv" … | oui | MIME type of the video |
| extraCaptureRequestId | string | non | Extra-capture-request id to bind this capture to |
completeClarityVideoUpload
Complete Clarity Video Upload
Complete a video capture after uploading to GCS via signed URL
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| id | string | oui | The clarity process ID |
| captureId | string | oui | The capture ID |
| fileName | string | oui | Name of the uploaded video file |
createClarityDocumentUploadUrl
Create Clarity Document Upload Url
Create a signed URL for uploading a PDF, Word (.docx), TXT, Markdown, BPMN, XLSX, or CSV document directly to GCS
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| id | string | oui | The clarity process ID |
| fileName | string | oui | Name of the document file |
| contentType | enum: "application/pdf" | "text/plain" | "text/markdown" | "application/xml" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "text/csv" | "application/vnd.ms-excel" | oui | MIME type of the document |
| extraCaptureRequestId | string | non | Extra-capture-request id to bind this capture to |
completeClarityDocumentUpload
Complete Clarity Document Upload
Complete a document capture after uploading to GCS via signed URL
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| id | string | oui | The clarity process ID |
| captureId | string | oui | The capture ID |
| fileName | string | oui | Name of the uploaded document file |
createClarityImageUploadUrl
Create Clarity Image Upload Url
Create a signed URL for uploading a PNG, JPEG, WebP, or SVG image directly to GCS
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| id | string | oui | The clarity process ID |
| fileName | string | oui | Name of the image file |
| contentType | enum: "image/png" | "image/jpeg" | "image/webp" | "image/svg+xml" | oui | MIME type of the image |
| extraCaptureRequestId | string | non | Extra-capture-request id to bind this capture to |
completeClarityImageUpload
Complete Clarity Image Upload
Complete an image capture after uploading it to GCS via a signed URL
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| id | string | oui | The clarity process ID |
| captureId | string | oui | The capture ID |
| fileName | string | oui | Name of the uploaded image file |
inviteClarityMeetingNotetaker
Invite Clarity Meeting Notetaker
Invite the in-meeting notetaker bot (Recall.ai) to a live meeting; the recording lands as a 'meeting' capture on the process
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| id | string | oui | The clarity process ID |
| meetingUrl | string | oui | |
| extraCaptureRequestId | string | non | |
| joinAt | string | non |
deleteClarityCapture
Delete Clarity Capture
Delete a capture from a clarity process
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| id | string | oui | The clarity process ID |
| captureId | string | oui | The capture ID to delete |
createClarityGuidance
Create Clarity Guidance
Create a new automation guidance message for a clarity process
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| id | string | oui | The clarity process ID |
| content | string | oui | Automation guidance to add to the process. |
updateClarityGuidance
Update Clarity Guidance
Update the automation guidance message for a clarity process
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| id | string | oui | The clarity process ID |
| content | string | oui | Replacement automation guidance for the process. |
getClarityProcessSharing
Get Clarity Process Sharing
Get the sharing status for a clarity process
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| id | string | oui | Clarity process ID. |
updateClarityProcessSharing
Update Clarity Process Sharing
Enable or disable sharing for a clarity process
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| id | string | oui | Clarity process ID. |
| enabled | boolean | oui | Whether public process sharing is enabled. |
| proposalShareEnabled | boolean | non | Whether the automation proposal is included. Public sharing must already be enabled when only changing this setting. |
sendClarityInterviewInvites
Send Clarity Interview Invites
Invite people to record an interview about this Clarity process, and email each of them. To invite people from the organization chart or landscape, first use the Clarity hierarchy people tools to find their names and email addresses, then pass them as invitees. Set includeProcessPeople to true to also invite everyone already listed as a person on this process. At most 25 unique recipients per call. Each invitee gets a Clarity process invitation, exactly as the Invite dialog creates one; someone already invited is sent their invitation again rather than a second one. Where the team has account-free interview links on, people without a Duvo account get a link that opens the interview directly and expires after 30 days, or seven days after a scheduled interview ends if that is later; everyone else gets the normal invitation that asks them to sign in. Pass schedule to book the interview: the email then carries a calendar invite for that time, sending again with a new time moves the same calendar event, and revoking the invitation cancels it. Revoke a pending invitation with deleteTeamInvite.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| id | string | oui | The Clarity process ID. |
| invitees | array<object> | non | People found through org-chart or landscape people tools. At most 25 unique recipients per call, counting includeProcessPeople. |
| includeProcessPeople | boolean | non | Also invite every active process person with an email address. Use this for people already assigned to the process. |
| message | string | non | Optional plain-text note added to each invitation email, at most 500 characters. Line breaks are collapsed and markup is shown as text. |
| schedule | object | non | Optional time for the interview. The invitation email then carries a calendar invite for it, the interview link stays valid until a week after it, and a later send with a new time moves the same calendar event. At most 90 days ahead. Only available while calendar invites are on for the team. |
listClarityInterviewInvites
List Clarity Interview Invites
List a Clarity process's pending and accepted invitations, newest first, with whether each was accepted, whether it was sent an account-free interview link, and whether the invitee has opened that link or submitted an interview. Paginate with limit and offset; total is the number of invitations. Revoke a pending invitation by passing its id to deleteTeamInvite.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| id | string | oui | The Clarity process ID. |
| limit | integer | non | Maximum number of invitations to return, newest first. |
| offset | integer | non | Number of invitations to skip, for the next page. |
getClarityProcessInviteLink
Get Clarity Process Invite Link
Get the active interview invite link for a process.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| id | string | oui |
deleteClarityProcessInviteLink
Delete Clarity Process Invite Link
Delete the active interview invite link for a process.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| id | string | oui |
getClarityProcessJoinInfo
Get Clarity Process Join Info
Get information about a clarity interview invite link (public).
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| token | string | oui |
acceptClarityProcessJoin
Accept Clarity Process Join
Accept a clarity interview invite link and gain process access.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| token | string | oui |
updateClarityLandscapeNode
Update Clarity Landscape Node
Rename a process landscape node or update its owner label (team manager or above for team processes; organization admin for areas)
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| orgId | string | oui | |
| nodeId | string | oui | |
| name | string | non | |
| ownerLabel | string | null | non |
acceptClarityLandscapeNode
Accept Clarity Landscape Node
Accept a proposed area folder into the active process landscape, so it stops being a proposal and becomes part of the real structure (organization admin+). Only area folders can be accepted; a proposed process becomes real through assignClarityLandscapeNodeTeam instead. Re-accepting an already-active area is a no-op.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| orgId | string | oui | |
| nodeId | string | oui | The proposed area folder to accept. |
declineClarityLandscapeNode
Decline Clarity Landscape Node
Reject a proposed process landscape node while it is still a proposal, removing it and any proposed descendants. Real processes nested underneath survive and move back to Unsorted. Only proposals can be declined — an accepted node is removed with deleteClarityLandscapeNode.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| orgId | string | oui | |
| nodeId | string | oui | The proposed node to reject. |
deleteClarityLandscapeNode
Delete Clarity Landscape Node
Soft-delete a tree node and its descendants. Organization admins may delete any subtree; team managers may delete a childless process node owned by their team. The targeted node's linked clarity process and captures are deleted, while nested processes detach to the Unsorted bag.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| orgId | string | oui | |
| nodeId | string | oui |
setClarityLandscapeNodePlacement
Set Clarity Landscape Node Placement
Move a process landscape node (team builder or above for team processes; team manager or above for team proposals; organization admin for areas)
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| orgId | string | oui | |
| nodeId | string | oui | |
| parentId | string | null | oui |
reorderClarityLandscapeAreas
Reorder Clarity Landscape Areas
Reorder a sibling group of the organization's process landscape area folders left-to-right — the top-level areas by default, or the folder children of parentId (organization admin+). This changes display order only; use setClarityLandscapeNodePlacement to move a node to a different parent.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| orgId | string | oui | |
| orderedAreaIds | array<string> | oui | Every area folder in the sibling group, exactly once, in the order you want them displayed left-to-right. Read the current siblings first (getClarityProcessTree); a partial list is rejected with 400. |
| parentId | string | null | non | The parent area whose folder children are being reordered. Omit or pass null to reorder the top-level areas. |
assignClarityLandscapeNodeTeam
Assign Clarity Landscape Node Team
Set the owning team of a process in the process landscape (organization admin+). On a proposed process this accepts the proposal and creates the real process for that team; on an existing process it moves the process, its captures and its brief to another team.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| orgId | string | oui | |
| nodeId | string | oui | The process node whose owning team changes. |
| teamId | string | null | oui | The team that owns the process from now on. A process always belongs to a team, so null is rejected. |
| intent | enum: "assign" | "accept-proposal" | non | Pass "accept-proposal" when the node is expected to still be a proposed process; the call then fails if someone already accepted it, instead of silently moving a real process. |
createClarityProcessNode
Create Clarity Process Node
File an existing Clarity process into an area of the process landscape (team builder or organization admin+). Use this for a process that already exists but sits in Unsorted; use proposeClarityLandscapeProcess to create a brand-new one.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| orgId | string | oui | |
| processId | string | oui | An existing Clarity process to file into the landscape. Unsorted processes are listed as `unlinkedProcesses` by getClarityProcessLandscape. |
| parentId | string | oui | The area folder the process is filed under. |
proposeClarityLandscapeProcess
Propose Clarity Landscape Process
Create a manual process in the organization's Process Landscape, either as an unassigned proposal or atomically assigned to an eligible team.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| orgId | string | oui | |
| name | string | oui | |
| description | string | null | non | One short paragraph (1-3 sentences) saying why this process belongs in the landscape. Use only what you saw in the captures. Say what the process is (don't just repeat the name), show proof it really happens, and name where you heard it - be as specific as the captures allow, like "a warehouse lead… |
| parentId | string | null | non | |
| teamId | string | null | non | |
| materializationMode | enum: "auto" | "proposal" | non | Use "proposal" to record a process the organization plausibly needs, owned by `teamId` for review, WITHOUT creating a real process record. `teamId` is then required. Chat-scoped callers may only propose for their pinned team; every caller needs Manager-or-above authority for that team. A proposal i… |
batchAddClarityLandscapeNodePeople
Batch Add Clarity Landscape Node People
Add one or more people to multiple Process Landscape nodes in a bounded batch. Email entries can create invitations; each node-person outcome reports success, conflict, or delivery failure.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| orgId | string | oui | |
| nodeIds | array<string> | oui | |
| people | array<object> | oui |
listClarityLandscapeNodePeople
List Clarity Landscape Node People
List the people involved in the process behind one process landscape node. To read the people across the whole landscape in one request, use getClarityHierarchyPeople instead.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| orgId | string | oui | |
| nodeId | string | oui | A process landscape node that is linked to a real process. |
| teamId | string | non |
addClarityLandscapeNodePerson
Add Clarity Landscape Node Person
Add a person involved in the process behind a process landscape node. Name only records a placeholder; supplying an email also gives that person access to the process and emails them an invitation, so only pass an email the user asked you to invite.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| orgId | string | oui | |
| nodeId | string | oui | A process landscape node that is linked to a real process. |
| teamId | string | non | |
| name | string | null | non | |
| string | null | non | ||
| role | string | null | non | |
| teamRole | enum: "team:owner" | "team:superadmin" | "team:admin" | "team:manager" | "team:builder" | "team:member" | "team:clarity-member" | null | non |
updateClarityLandscapeNodePerson
Update Clarity Landscape Node Person
Change the role a person plays in the process behind a process landscape node (for example "Approver"). Send role: null to clear it.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| orgId | string | oui | |
| nodeId | string | oui | A process landscape node that is linked to a real process. |
| personId | string | oui | The person entry to change, as returned by listClarityLandscapeNodePeople. |
| teamId | string | non | |
| role | string | null | non |
removeClarityLandscapeNodePerson
Remove Clarity Landscape Node Person
Remove a person from the process behind a process landscape node, and revoke the process access they were granted when they were added.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| orgId | string | oui | |
| nodeId | string | oui | A process landscape node that is linked to a real process. |
| personId | string | oui | The person entry to change, as returned by listClarityLandscapeNodePeople. |
| teamId | string | non | |
| pendingOnly | string | non | Pass 'true' to cancel a pending invitation only. If the person has already accepted, nothing is removed and the request fails with 409. |
acceptClarityTeamAssignmentSuggestion
Accept Clarity Team Assignment Suggestion
Accept a pending Process Landscape team-assignment suggestion and durably assign the suggested team (manager+).
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| nodeId | string | oui | |
| suggestionId | string | oui |
dismissClarityTeamAssignmentSuggestion
Dismiss Clarity Team Assignment Suggestion
Dismiss a pending Process Landscape team-assignment suggestion without changing the node's owner (manager+).
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| nodeId | string | oui | |
| suggestionId | string | oui |
organizeClarityProcessLandscape
Organize Clarity Process Landscape
Start an asynchronous organization pass over the organization's unfiled processes, placing them into the Process Landscape where possible (organization admin+). Results appear progressively; started is false when there is nothing to organize.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| orgId | string | oui | |
| instructions | string | non | Deprecated: ignored. The organize pass takes no instructions. |
getClarityProcessTree
Get Clarity Process Tree
Fetch the organization's process tree, or the subtree under rootId. Narrow a large organization with `rootId` (one subtree) or `ownerTeamId` (one team's processes) — a whole-organization tree is large enough to be refused by response-size caps
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| orgId | string | oui | |
| rootId | string | non | |
| ownerTeamId | string | non | Only return process nodes owned by this team, plus the folder nodes that carry them. 404s when the team has no readable Process Landscape |
getClarityProcessLandscape
Get Clarity Process Landscape
Fetch the organization's full process landscape with process summaries, team assignments, and page-level stats
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| orgId | string | oui | |
| rootId | string | non | |
| teamId | string | non |
getClarityHierarchyPeople
Get Clarity Hierarchy People
List the people attached to every authorized linked process node in the organization's Process Landscape. Returns a flat list where each person carries `nodeId` and `processId`, plus their role, invite status, and capture count. Narrow it with `rootId` (one subtree), `ownerTeamId` (one owning team), and `userId` or `search` (one person) — an unfiltered organization roster is large enough to be refused by response-size caps. To find the processes where one person has not captured yet, filter to that person and read `captureCount` per row. `truncated` is true when the node subtree or any single process roster was capped.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| orgId | string | oui | |
| rootId | string | non | Only return rosters for nodes in the subtree under this node |
| ownerTeamId | string | non | Only return rosters for processes owned by this team. 404s when the team has no readable Process Landscape |
| userId | string | non | Only return rows for this platform user, matched on the same resolved identity the roster reports (an email-only row resolves through its organization profile) |
| search | string | non | Only return rows whose person name or email contains this text, case-insensitively |
listClarityLandscapeCaptures
List Clarity Landscape Captures
List the organization's Process Landscape captures. By default, only captures eligible to seed new process proposals are returned; excluded captures can be included for inspection.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| orgId | string | oui | |
| limit | integer | non | Number of captures to return (1-200, default 100) |
| includeTranscripts | enum: "true" | "false" | non | Include full capture transcripts (large); off by default. Pass the literal string 'true' or 'false' (z.coerce.boolean treats any non-empty value, including 'false', as true). |
| include_excluded | enum: "true" | "false" | non | Include captures excluded from Process Landscape analysis |
generateClarityProcessLandscape
Generate Clarity Process Landscape
Start a process-landscape generation run for the organization from its eligible Clarity captures (organization executives and owners)
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| orgId | string | oui |
createClarityLandscapeNode
Create Clarity Landscape Node
Create an area folder in the process tree. An active area (the default) requires organization admin+ or manager+ on a team of the organization; a "proposal" area may be added by any organization member.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| orgId | string | oui | |
| name | string | oui | |
| parentId | string | null | non | |
| ownerLabel | string | null | non | |
| description | string | null | non | One or two sentences saying what family of work this area groups. Persisted as the area's summary. |
| creationMode | enum: "active" | "proposal" | non | Use "proposal" to add an area for review instead of asserting it exists. A proposal is idempotent: an equivalent live area under the same parent is returned untouched rather than duplicated. Defaults to "active". |
listClarityProcessLinks
List Clarity Process Links
List process-to-process links in the organization's Clarity landscape that are visible within the caller's team access scope. Use `node_id` to find links touching a specific process node.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| orgId | string | oui | |
| node_id | string | non | Only return links that touch this hierarchy process node |
| limit | integer | non | Number of links per page (1-500, default 100) |
| offset | integer | non | Number of links to skip (default 0) |
createClarityProcessLink
Create Clarity Process Link
Create a process-to-process link in the organization's Clarity landscape when the caller can manage both endpoint teams. If the same live source, target, and type already exists, the existing link is returned.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| orgId | string | oui | |
| source_node_id | string | oui | Hierarchy node id for the source process |
| target_node_id | string | oui | Hierarchy node id for the target process |
| type | enum: "hands_off_to" | "shares_step_with" | "variant_of" | oui | Relationship type between the source process node and target process node |
| state | enum: "suggested" | "confirmed" | non | Whether the link is suggested by Duvo or confirmed by a user |
| confidence | number | null | non | Optional confidence score from 0 to 1 |
updateClarityProcessLink
Update Clarity Process Link
Update a process-to-process link in the organization's Clarity landscape when the caller can manage both endpoint teams.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| orgId | string | oui | |
| process_link_id | string | oui | Unique process-link identifier |
| source_node_id | string | non | Replacement hierarchy node id for the source process |
| target_node_id | string | non | Replacement hierarchy node id for the target process |
| type | enum: "hands_off_to" | "shares_step_with" | "variant_of" | non | Relationship type between the source process node and target process node |
| state | enum: "suggested" | "confirmed" | non | Whether the link is suggested by Duvo or confirmed by a user |
| confidence | number | null | non | Confidence score from 0 to 1, or null to clear it |
deleteClarityProcessLink
Delete Clarity Process Link
Delete a process-to-process link from the organization's Clarity landscape when the caller can manage both endpoint teams.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| orgId | string | oui | |
| process_link_id | string | oui | Unique process-link identifier |
setClarityLandscapePriorities
Set Clarity Landscape Priorities
Set or clear heatmap priorities in one batch (team managers for their processes; organization admin+ across the organization)
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| org_id | string | oui | Organization whose landscape is being assessed. |
| priorities | array<object> | oui | Process priority updates applied atomically. |
getClarityProcess
Get Clarity Process
Get the v2 read model for a clarity process: the process row (with operational fields like generation_error, generation_progress, generation_started_at, generation_last_activity_at, custom_prompt), its captures, and the lightweight version arrays for both snapshot tabs. The full payload of any specific snapshot is fetched lazily via the unified per-snapshot detail endpoint (`GET .../snapshots/:kind/:id`); this read model deliberately doesn't carry it so the response stays small.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| process_id | string | oui | The clarity process id |
| captures | enum: "full" | "lite" | non | Capture payload mode. `full` (default) embeds each capture's transcript content. `lite` omits `transcript`/`videoTranscript` (returned as null) and relies on the `hasTranscript`/`hasVideoTranscript` flags; fetch content on demand via `GET .../captures/:capture_id`. |
getClarityCapture
Get Clarity Capture
Get a single Clarity v2 capture including full transcript and video transcript. Use this when the process was loaded with captures=lite, or when only one capture's transcript is needed.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| process_id | string | oui | The clarity process id |
| capture_id | string | oui | The capture id |
postprocessClaritySnapshot
Postprocess Clarity Snapshot
Re-run postprocessing agents on an existing v2 clarity snapshot. Targets either the current-process snapshot or the automation proposal snapshot, identified by id in the body. Flips the process status to `generating` and returns 202 immediately; agents run asynchronously and flip the status back to `review` once they settle.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| process_id | string | oui | The clarity process id |
| type | enum: "current_process" | "transformation_proposal" | oui | The snapshot kind to post-process. |
| current_process_id | string | non | Required when type is `current_process`. |
| transformation_proposal_id | string | non | Required when type is `transformation_proposal`. |
| scope | enum: "all" | "missing_info" | non | Only accepted when type is `current_process`. `missing_info` re-runs only the missing-info agent, on the live current process. |
listClarityStepFrames
List Clarity Step Frames
Return one representative screenshare frame for each current-process step. Explicit frame evidence wins. Otherwise, a timestamped screenshare transcript source selects the closest persisted frame at or after that timestamp, with the closest earlier frame as fallback. Pass `window` (1-5) to also receive that many neighbouring frames on each side as candidates, for recovering when the selected frame does not show the step. Pass `size=thumb` for 768px copies that are cheaper to download and inspect. Signed URLs are short-lived and can be null when signing is unavailable.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| process_id | string | oui | The clarity process id |
| snapshot_id | string | oui | The current-process snapshot id |
| step_ids | string | non | Optional comma-separated step ids to resolve, for example `task-a,task-b` (maximum 100). Omit to resolve every step. |
| window | integer | non | Number of neighbouring persisted frames to return on each side of the selected frame as `candidates` (0-5, default 0). Use to recover when the selected frame does not show the step. |
| size | enum: "full" | "thumb" | non | full: the persisted screenshot (1920px wide). thumb: a 768px-wide copy, cheaper to download and to inspect visually; use it to check whether a frame shows the step, then fetch full for the document. |
listClarityProcessConflicts
List Clarity Process Conflicts
Return the conflict detection run status for a current-process snapshot and the conflicts bound to it, grouped by step. Quotes from captures that were deleted or marked unusable are left out, and a conflict left with fewer than two captures is hidden. Reading never starts a run; use analyzeClarityProcessConflicts to re-detect.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| process_id | string | oui | The clarity process id |
| snapshot_id | string | oui | The current-process snapshot id |
analyzeClarityProcessConflicts
Analyze Clarity Process Conflicts
Queue a new conflict detection run for the live current-process snapshot, keeping the map as it is. Use this to re-detect conflicts without regenerating the map. Editors only. The run starts after about a minute; read the result with listClarityProcessConflicts. Answers 409 while a run is queued or running, when the snapshot is not the live one, or when the team has conflict detection off.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| process_id | string | oui | The clarity process id |
| snapshot_id | string | oui | The current-process snapshot id |
buildClarityAutomation
Build Clarity Automation
Hand an automation proposal for a v2 clarity process off to the workflow-builder pipeline. Builds from `transformation_proposal_id` when supplied, otherwise from the process's live proposal. The proposal id is the durable idempotency key, so retries return the same run and a different proposal starts a new run. Returns 202 while the LLM run completes asynchronously, or 409 when the resolved proposal is still being written.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| process_id | string | oui | The clarity process id |
| transformation_proposal_id | string | non | Automation-proposal snapshot to build the automation from. Defaults to the process's live proposal. |
listClarityExtraCaptureRequests
List Clarity Extra Capture Requests
List active extra-capture requests for a given automation proposal of a Clarity v2 process. The caller is expected to know the proposal id from the V2 read model and skip the call when no proposal exists yet.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| process_id | string | oui | The clarity process id |
| transformation_proposal_id | string | oui | The automation proposal id |
| limit | integer | non | Number of results per page (1-100, default 20) |
| offset | integer | non | Number of results to skip (default 0) |
assignClarityExtraCaptureRequest
Assign Clarity Extra Capture Request
Assign (or unassign, with `user_id: null`) a team member to fulfil an extra-capture request. Restricted to Lead Builders and above.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| process_id | string | oui | The clarity process id |
| transformation_proposal_id | string | oui | The automation proposal id |
| request_id | string | oui | The extra-capture-request id |
| user_id | string | null | oui | Team member to assign, or null to unassign |
createClarityInviteLink
Create Clarity Invite Link
Create or regenerate a process-scoped Clarity interview invite link. Only the process creator or team managers can create invite links; creating a new link invalidates any prior active link for the process.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| process_id | string | oui | The clarity process id |
createClarityArtifactImportUploadUrl
Create Clarity Artifact Import Upload Url
Create a signed upload URL for importing a Miro export into a Clarity v2 process. Supports SVG, XML, PNG, and JPEG exports. The caller must upload the file to the returned URL, then complete the import.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| process_id | string | oui | The clarity process id |
| file_name | string | oui | Name of the Miro export file. Supported extensions: .svg, .xml, .png, .jpg, .jpeg |
| content_type | enum: "image/svg+xml" | "application/xml" | "text/xml" | "image/png" | "image/jpeg" | oui | MIME type of the Miro export file |
| extra_capture_request_id | string | non | Optional extra-capture-request id to bind this import to |
completeClarityArtifactImport
Complete Clarity Artifact Import
Complete a Miro artifact import after uploading to the signed URL. The uploaded bytes are validated before the import becomes a usable Clarity capture.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| process_id | string | oui | The clarity process id |
| capture_id | string | oui | The pending capture id returned by the upload-url endpoint |
| file_name | string | oui | Name of the Miro export file. Supported extensions: .svg, .xml, .png, .jpg, .jpeg |
| content_type | enum: "image/svg+xml" | "application/xml" | "text/xml" | "image/png" | "image/jpeg" | oui | MIME type of the uploaded Miro export file |
listClarityArtifactChatConversations
List Clarity Artifact Chat Conversations
List the current user's recent non-deleted artifact-chat conversations for a Clarity v2 process and snapshot kind.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| process_id | string | oui | The Clarity process id |
| snapshot_kind | enum: "current_process" | "transformation_proposal" | oui | Artifact kind to list conversations for |
getClarityArtifactChatMessages
Get Clarity Artifact Chat Messages
Load the latest artifact-chat messages for one active conversation, returned oldest-first.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| process_id | string | oui | The Clarity process id |
| conversation_id | string | oui | The artifact-chat conversation id |
deleteClarityArtifactChatConversation
Delete Clarity Artifact Chat Conversation
Soft-delete an open or running artifact-chat conversation for the current user.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| process_id | string | oui | The Clarity process id |
| conversation_id | string | oui | The artifact-chat conversation id |
listClarityProcessSnapshots
List Clarity Process Snapshots
List lightweight Clarity v2 process snapshots for one kind.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| process_id | string | oui | The clarity process id |
| kind | enum: "current_process" | "transformation_proposal" | oui | Snapshot kind to list |
| limit | integer | non | |
| offset | integer | non |
getClarityProcessSnapshot
Get Clarity Process Snapshot
Fetch the full payload for a Clarity v2 process snapshot of either kind.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| process_id | string | oui | The clarity process id |
| kind | enum: "current_process" | "transformation_proposal" | oui | Snapshot kind to list |
| snapshot_id | string | oui | Snapshot id |
saveClarityProcessSnapshot
Save Clarity Process Snapshot
Save user edits as the live Clarity v2 snapshot for the selected kind.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| process_id | string | oui | The clarity process id |
| kind | enum: "current_process" | "transformation_proposal" | oui | Snapshot kind to list |
| steps | array<object | object | object | object | object | object> | oui | |
| baselineSnapshotId | string | oui | |
| clarityCurrentProcessId | string | non | |
| swot | object | null | non | SWOT analysis produced by the swot-analysis postprocessing agent. `undefined` = agent has not yet run; `null` = agent ran and produced no analysis. |
| summary | string | null | non | One short paragraph (3-5 sentences) describing the captured process at a glance. Surfaced at the top of the current-process tab so reviewers can orient themselves before scanning the steps. Example: "Customers order beer at the bar; the bartender greets them, picks an option matching their preferen… |
| projectedImpact | string | null | non | Answer-first, MECE-structured business case. 4-8 sentences of prose + one markdown assumptions table. Null when team context is insufficient to produce any quantitative or qualitative assessment. |
| lanes | array<object> | non | Role lanes of the process map, each defined once. Absent on snapshots written before lanes existed; the read model derives them from each step's role. |
promoteClarityProcessSnapshot
Promote Clarity Process Snapshot
Promote a draft or historic Clarity v2 snapshot to live for its kind.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| process_id | string | oui | The clarity process id |
| kind | enum: "current_process" | "transformation_proposal" | oui | Snapshot kind to list |
| snapshot_id | string | oui | Snapshot id |
revertClarityProcessSnapshot
Revert Clarity Process Snapshot
Archive a Clarity v2 snapshot of either kind. If the live row is archived, the repository auto-promotes the latest historic row of the same kind.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| process_id | string | oui | The clarity process id |
| kind | enum: "current_process" | "transformation_proposal" | oui | Snapshot kind to list |
| snapshot_id | string | oui | Snapshot id |
generateClarityProcessSnapshot
Generate Clarity Process Snapshot
Trigger a snapshot generation pipeline for a v2 clarity process, selected by kind. `current_process` runs the generateCurrentProcess pipeline (body fields are proposal-only and rejected); `transformation_proposal` runs the generate or regenerate proposal pipeline. Returns 202 immediately and finalises asynchronously via the cc-server webhook stream.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| process_id | string | oui | The clarity process id |
| kind | enum: "current_process" | "transformation_proposal" | oui | Snapshot kind to list |
| source_snapshot_id | string | non | Automation proposals only: id of the current-process snapshot to anchor the new proposal to. Defaults to the latest snapshot for the process. |
| regenerate_from | string | non | Automation proposals only: id of a prior proposal snapshot to refine. When supplied, runs the regenerate pipeline using that proposal's current-process snapshot as the anchor and the extra captures collected since. |
| custom_guidance | string | non | Automation proposals only: optional freeform guidance for this generation. Used as high-priority design guidance, not source-of-truth evidence. |
| transformation_aggressiveness | enum: "none" | "conservative" | "aggressive" | "optimize" | non | Transformation proposals only: the transformation appetite. `aggressive`, `conservative`, and `none` redesign around Duvo automation with decreasing freedom to change the process; `optimize` standardizes and streamlines the process while every step stays performed by people. |
stopClarityProcessSnapshot
Stop Clarity Process Snapshot
Stop an in-flight snapshot generation for the selected kind. Reads the sandbox id from the process row, kills the sandbox, flips the process back to `review`, and clears the sandbox marker so any late webhook from the killed run is dropped as stale.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| process_id | string | oui | The clarity process id |
| kind | enum: "current_process" | "transformation_proposal" | oui | Snapshot kind to list |
bulkGenerateClarityProcessSnapshots
Bulk Generate Clarity Process Snapshots
Start snapshot generation for many v2 clarity processes in the current team. Starts at most a share of the free sandbox capacity per call; the rest come back in `deferred` and should be sent again once some of the started runs finish. Processes that cannot start (already generating, no usable interviews, not found) come back in `skipped` with the reason.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| kind | enum: "current_process" | "transformation_proposal" | oui | Snapshot kind to list |
| process_ids | array<string> | oui | Clarity v2 process ids to generate maps for |
| transformation_aggressiveness | enum: "none" | "conservative" | "aggressive" | "optimize" | non | Transformation proposals only: the transformation appetite. `aggressive`, `conservative`, and `none` redesign around Duvo automation with decreasing freedom to change the process; `optimize` standardizes and streamlines the process while every step stays performed by people. |
createWorkspace
Create Workspace
Set up the user's Duvo workspace, or return the one they already have (`created: false`, nothing created). Call it first when the user has no workspace: other tools fail with 'User has no current team' until one exists. A new workspace is on the Free plan, with Clarity and Automation. `has_clarity_access` says whether the team's plan includes Clarity, `interviews_remaining` counts interviews left on the plan without subtracting people invited but not yet interviewed, and `billing_url` is where the user upgrades. If the user's organization or email domain is already on Duvo, the call is refused with a link the user must open.
Aucun paramètre.
inviteOrgMember
Invite Org Member
Invite a person to an organization you administer, optionally assigning them to a team in that organization. Requires an organization Admin, Executive, or Owner role. You cannot grant a role higher than your own.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| orgId | string | oui | Organization ID |
| string | oui | ||
| role | enum: "organization:executive" | "organization:owner" | "organization:admin" | "organization:member" | oui | |
| frontendUrl | string | non | Deprecated. Use `sendEmail` instead. Kept because its presence is the legacy opt-in for sending the invitation email; the value never sets the link host, which is always the server's configured frontend URL. |
| sendEmail | boolean | non | Email the invitation to the recipient. `false` always suppresses the email. When omitted, the legacy opt-in applies instead: the email is sent only if the deprecated `frontendUrl` is present. Omit both to create the invitation without notifying anyone. |
| teamId | string | non |
listOrgTeams
List Org Teams
List teams belonging to an organization you are a member of, including your membership and role in each.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| orgId | string | oui | Organization ID |
| limit | number | non | Number of teams per page (1-100, default 50) |
| offset | number | non | Number of teams to skip |
| search | string | non | Filter teams by name (case-insensitive substring match) |
| sortBy | enum: "createdAt" | "name" | non | Sort order: createdAt (newest first, default) or name (alphabetical) |
listOrgAgents
List Org Agents
List every agent across all teams in an organization, with the team it belongs to, the state of its most recent run and the state of its schedules. Intended for external monitoring: it answers 'which agents have gone silent' and 'which agents were switched off' without a request per team or per agent. Requires an organization Admin, Executive, or Owner role, and an API key scoped to all teams you can access — a key pinned to a single team is rejected, because this endpoint spans every team in the organization.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| orgId | string | oui | The organization's unique identifier |
| limit | integer | non | Number of agents per page (1-100, default 20) |
| offset | integer | non | Number of agents to skip |
| team_id | string | non | Filter to agents on this team |
| schedule_enabled | enum: "true" | "false" | non | If true, only agents with at least one enabled schedule; if false, only agents with none (including agents that are never scheduled) |
| auto_disabled | enum: "true" | "false" | non | If true, only agents whose schedule was switched off automatically (e.g. after repeated missing-connection failures); if false, only agents with no auto-disabled schedule |
listOrgRuns
List Org Runs
List runs across every team in an organization, filtered by status, agent, team, source, evaluation issues and time. Intended for external monitoring: one call covers the whole org instead of one per team. Requires an organization Admin, Executive, or Owner role, and an API key scoped to all teams you can access — a key pinned to a single team is rejected, because this endpoint spans every team in the organization.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| orgId | string | oui | The organization's unique identifier |
| limit | integer | non | Number of runs per page (1-500, default 20). The cap is higher than the team runs endpoint's because this route serves bulk export: at 100 requests a minute per key, page size is what bounds how fast a month of runs can be pulled. |
| cursor | string | non | Resume after the run a previous page ended on: pass the `next_cursor` that page returned, with the same filters and sort_order. Runs created or resolved in between cannot shift a boundary you have already passed, so a sweep sees every run exactly once, and a sweep that started under the default 7-d… |
| sort_order | enum: "asc" | "desc" | non | Sort direction on created_at (default desc) |
| status | enum: "not_started" | "pending" | "starting" | "running" | "waiting" | "completed" | "failed" | "interrupted" … | non | Filter to runs with this status. `needs_attention` is the monitoring status: runs that are waiting on a human or failed, plus runs whose latest evaluation flagged a critical issue — a run can finish as `completed` and still have accomplished nothing. |
| team_id | string | non | Filter to runs on this team |
| agent_id | string | non | Filter to runs for this agent |
| source | string | non | Filter to runs created from this source (e.g. api, scheduling) |
| has_issues | enum: "true" | "false" | non | Filter on the run's latest successful evaluation: true returns only runs it flagged, false only runs it did not. Only the latest evaluation counts — an older flag does not match — and a run whose latest evaluation errored, or that has none, counts as unflagged. Omit to return both. |
| issue_severity | enum: "critical" | "medium" | "low" | non | Only runs whose latest successful evaluation has at least one failing rubric at this severity (critical | medium | low). Implies has_issues. |
| created_after | string | non | Return runs created at or after this ISO-8601 timestamp. Every run has a creation time, so this is the window that returns all runs in a period whatever state they reached — unlike the started and completed windows below, which exclude runs that never started and runs still in flight respectively.… |
| created_before | string | non | Return runs created before this ISO-8601 timestamp (exclusive). Pair with `created_after` for a period. A closed creation window is also the stable one to paginate: results are ordered by creation time, so runs arriving mid-sweep cannot shift a closed window's pages. |
| started_after | string | non | Return runs that started at or after this ISO-8601 timestamp. Runs that never started are excluded. Pair with `started_before` to bound a stuck-run query to a window — without a lower bound, `status=running` also counts every run left running months ago. |
| started_before | string | non | Return runs that started before this ISO-8601 timestamp. Combine with status=running to find stuck runs — `since`/`until` filter on completion, so they never match a run that is still going. |
| completed_after | string | non | Return runs completed at or after this ISO-8601 timestamp. Runs that have not completed are excluded, including every stuck one — reach for `started_after`/`started_before` to bound those. Alias of `since`; pass one or the other, not both. |
| completed_before | string | non | Return runs completed before this ISO-8601 timestamp (exclusive). Runs that have not completed are excluded. Alias of `until`; pass one or the other, not both. |
| since | string | non | Alias of `completed_after`, kept because it is the name the public team runs endpoint ships. Prefer `completed_after`: this endpoint carries a creation and a start window too, and only the column-named pair says which one this is. |
| until | string | non | Alias of `completed_before`, kept because it is the name the public team runs endpoint ships. Prefer `completed_before`. |
| count_only | enum: "true" | "false" | non | Skip row selection and enrichment. The normal list response shape is returned with an empty row array and the matching total. |
| include_total | enum: "true" | "false" | non | Return `total`, the count of every matching run ignoring pagination. Off by default: counting walks every match where the page stops at `limit`, so on a large organization it costs orders of magnitude more than the rows themselves. Ask for it when you are driving a pager, not when you are polling.… |
getOrgInsightsHeadline
Get Org Insights Headline
Get org-wide headline insight KPIs (run totals, success rate, distinct active agents and users) aggregated across every team in the organization. Requires an organization Admin, Executive, or Owner role.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| orgId | string | oui | The organization's unique identifier |
| startDate | string | non | Start of the aggregation window (ISO 8601 datetime). Defaults to 30 days ago; clamped to at most 365 days ago. |
| endDate | string | non | End of the aggregation window (ISO 8601 datetime, exclusive). Defaults to now; clamped to now. |
getOrgInsightsMetrics
Get Org Insights Metrics
Get org-level insights metrics (runs, assignments, schedules) broken down per team across the organization. Requires an organization Admin, Executive, or Owner role.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| orgId | string | oui | The organization's unique identifier |
| startDate | string | non | Start of the aggregation window (ISO 8601 datetime). Defaults to 7 days ago; clamped to at most 365 days ago. |
| endDate | string | non | End of the aggregation window (ISO 8601 datetime). Defaults to now; clamped to now. |
getOrgInsightsUsageChart
Get Org Insights Usage Chart
Get org-level run-volume buckets (scheduled vs on-demand) at day/week/month granularity across the organization. Requires an organization Admin, Executive, or Owner role.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| orgId | string | oui | The organization's unique identifier |
| startDate | string | oui | Start of the chart window (ISO 8601 datetime). Clamped to at most 365 days ago. |
| endDate | string | oui | End of the chart window (ISO 8601 datetime). Clamped to now. |
| granularity | enum: "day" | "week" | "month" | oui | Bucket size: day, week, or month |
| timezone | string | non | IANA timezone for bucket boundaries (e.g. America/New_York). Defaults to UTC. |
createOrgTeam
Create Org Team
Create a new team under an organization you administer. Requires an organization Admin, Executive, or Owner role.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| orgId | string | oui | Organization ID |
| name | string | oui |
listClarityOrganizationInterviews
List Clarity Organization Interviews
List Clarity interviews across an organization
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| orgId | string | oui | |
| scope | enum: "team" | "organization" | non | |
| limit | integer | non | |
| offset | integer | non |
getClarityOrganizationInterview
Get Clarity Organization Interview
Load a single organization Clarity interview with transcript
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| orgId | string | oui | |
| interviewId | string | oui | The organization interview ID |
inviteClarityOrganizationNotetaker
Invite Clarity Organization Notetaker
Invite the in-meeting notetaker bot (Recall.ai) to a live meeting; the recording lands as an organization Clarity interview
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| orgId | string | oui | |
| meetingUrl | string | oui | |
| extraCaptureRequestId | string | non | |
| joinAt | string | non | |
| title | string | non |
finalizeClarityOrganizationInterview
Finalize Clarity Organization Interview
Manually mark an in-progress organization interview as complete without requiring final media uploads
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| orgId | string | oui | |
| interviewId | string | oui | The organization interview ID |
updateClarityOrganizationInterview
Update Clarity Organization Interview
Rename an organization landscape Clarity capture
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| orgId | string | oui | |
| interviewId | string | oui | The organization interview ID |
| title | string | oui |
deleteClarityOrganizationInterview
Delete Clarity Organization Interview
Delete an organization-level Clarity interview
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| orgId | string | oui | |
| interviewId | string | oui | The organization interview ID |
createClarityOrganizationDocumentUploadUrl
Create Clarity Organization Document Upload Url
Create a signed URL for uploading a PDF, Word (.docx), TXT, Markdown, or BPMN document as an organization-level Clarity capture
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| orgId | string | oui | |
| fileName | string | oui | Name of the document file |
| contentType | enum: "application/pdf" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "text/plain" | "text/markdown" | "application/xml" | oui | MIME type of the document |
completeClarityOrganizationDocumentUpload
Complete Clarity Organization Document Upload
Complete an organization document capture after uploading to GCS; extracts text and stores it as a transcript so it feeds Process Landscape generation
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| orgId | string | oui | |
| interviewId | string | oui | The organization interview ID |
| fileName | string | oui | Name of the uploaded document file |
listMyOrganizations
List My Organizations
List the organizations the current user belongs to, with their role (organization:member, organization:admin, organization:owner, or organization:executive) and member count in each. Use this to check whether the user has an admin-or-above role before calling organization-scoped endpoints, which reject lower roles with 403.
Aucun paramètre.
getClarityExport
Get Clarity Export
Get a Clarity export run by ID
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| id | string | oui |
getQueue
Get Queue
Get a queue by ID.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| queue_id | string | oui | The queue's unique identifier |
listQueueAggregations
List Queue Aggregations
List a queue's aggregation definitions.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| queue_id | string | oui | The queue's unique identifier |
| limit | integer | non | |
| offset | integer | non |
createQueueAggregation
Create Queue Aggregation
Create an immutable aggregation definition on a queue.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| queue_id | string | oui | The queue's unique identifier |
| definition | object | oui | |
| maximum_stale_age_seconds | integer | non |
evaluateQueueAggregation
Evaluate Queue Aggregation
Evaluate an aggregation definition against the current data without persisting it.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| queue_id | string | oui | The queue's unique identifier |
| definition | object | oui |
getQueueAggregationResult
Get Queue Aggregation Result
Read an aggregation definition's cached result.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| queue_id | string | oui | The queue's unique identifier |
| definition_id | string | oui | The aggregation definition's identifier |
refreshQueueAggregation
Refresh Queue Aggregation
Force a fresh recompute of an aggregation definition.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| queue_id | string | oui | The queue's unique identifier |
| definition_id | string | oui | The aggregation definition's identifier |
deleteQueueAggregation
Delete Queue Aggregation
Soft-delete an aggregation definition.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| queue_id | string | oui | The queue's unique identifier |
| definition_id | string | oui | The aggregation definition's identifier |
updateQueue
Update Queue
Update a queue.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| queue_id | string | oui | The queue's unique identifier |
| name | string | non | New queue name. A standalone queue's name must be unique within the team, and a queue inside an automation's name must be unique within that automation. Queue names are not versioned, so this is the canonical name on any Automations workspace team, with or without revisions. A revision carrying a p… |
| description | string | null | non | New description, or null to clear. |
| folder_id | string | null | non | New folder id, or null to move to the root. |
pauseQueue
Pause Queue
Pause a queue. A paused queue starts no new case: runs already in progress finish, and its pending cases stay pending until the queue is resumed. The pause applies immediately, whether or not the team uses automation revisions, and activating or rolling back a revision does not change it. Pausing a paused queue changes nothing. Only a builder or team admin, or someone whose case trigger on the queue is on, can pause it. Pausing is rolling out and may not be available to every team yet; where it is not, the request answers 403. Resuming is always available.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| queue_id | string | oui | The queue's unique identifier |
resumeQueue
Resume Queue
Resume a paused queue. Its pending cases start on the next dispatch, within the queue's concurrency limit. Resuming a queue that is not paused changes nothing. Only a builder or team admin, or someone whose case trigger on the queue is on, can resume it.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| queue_id | string | oui | The queue's unique identifier |
deleteQueue
Delete Queue
Delete a queue. Interrupts all associated active runs first and returns the number of deleted cases plus the IDs of runs that were stopped.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| queue_id | string | oui | The queue's unique identifier |
exportCases
Export Cases
Export a queue's cases, respecting the same status, severity, failure source, approval, priority, label, date-range, json_data field, and free-text filters as the list view. Set awaiting_my_approval to export only the cases holding an unanswered approval row assigned to you; like the list view it resolves to the authenticated caller, so a credential with no user behind it is rejected rather than exporting an empty file. `format: "json"` (default) returns a re-importable JSON payload; `format: "csv"` returns a text/csv file with the columns id, title, status, priority, labels, created_at, updated_at, completed_at, postponed_to, data.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| queue_id | string | oui | The queue's unique identifier |
| format | enum: "json" | "csv" | non | |
| filters | object | non | |
| search | string | non | |
| sort_by | enum: "created_at" | "updated_at" | "postponed_to" | non | |
| sort_order | enum: "asc" | "desc" | non |
getCase
Get Case
Get a case by ID. Returns the case, its event history, and every case-approval batch ever created on the case (newest first).
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| case_id | string | oui | The case's unique identifier |
| include_blockers | enum: "true" | "false" | non | Also return `blocker` on each case: for a case waiting to start, why the dispatcher cannot start it now, or null when nothing blocks it. Off by default, because it adds database reads; when off, `blocker` is left out. |
updateCase
Update Case
Edit a case's title and/or its data payload. Provide at least one field. For the payload, send free-form `data` OR a structured `json_data` object, never both. `json_data` is validated against the queue's Case schema and requires the queue to have one; a case that is already typed against a schema keeps its structured payload and rejects a free-text `data` write. Works on pending, in-progress, and settled cases. Other attributes (status, priority, labels) have their own dedicated endpoints. Returns the updated case with its event history and approval batches.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| case_id | string | oui | The case's unique identifier |
| title | string | non | New case title (1–500 characters). |
| data | string | non | New free-form data payload handed to the agent when the case is claimed. Mutually exclusive with `json_data`. |
| json_data | object | non | New structured payload for a case on a queue that has a Case schema. Validated against that schema and mutually exclusive with `data`. |
setCaseJsonDataFields
Set Case Json Data Fields
Set one or more fields of a typed case's structured `json_data` payload in one atomic write, leaving every other field as stored. Prefer this over `PATCH /cases/{case_id}` with a full `json_data` object when changing some fields: the write reads and locks the latest payload in the database, so a concurrent edit to another field, or to another item of the same array, is preserved. Each `set` entry names a `path`, a JSONPath declared in the queue's current Case schema, and the `value` to store there. A path is dotted object fields (`$.invoice.amount`) with optional array indices in brackets (`$.lines[0]` for a whole item, `$.lines[0].amount` for one field of it). An index must name an item that already exists; an out-of-range index or a non-array parent is refused, and a write never adds or removes items. A `value` can be any JSON value, including an object for an object field. Paths must be distinct, and no path may sit inside another in the same request (`$.lines` beside `$.lines[0]`, or `$.lines[0]` beside `$.lines[0].amount`). An index names a position, so when the array can change between your read and your write, add `expect` entries that pin the item, such as its id field (`$.lines[0].id`): if any stored value differs, nothing is written and the response is a 409. The resulting payload is validated against the queue's current Case schema and the case is re-pinned to that schema version; if any entry is refused, nothing is written. A case without a structured payload yet…
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| case_id | string | oui | The case's unique identifier |
| set | array<object> | oui | The fields to set, applied together (1 to 100). |
| expect | array<object> | non | Preconditions checked against the latest stored payload before any field is set (up to 100). If one does not match, nothing is written and the response is a 409. Use them to make sure an array index still names the item you read. |
listCaseRuns
List Case Runs
List Runs (agent runs) that have claimed or received handover of a case, newest first. Capped at 50 ownership events.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| case_id | string | oui | The case's unique identifier |
listCaseRunRecentMessages
List Case Run Recent Messages
Return the latest qualifying messages (assistant text + tool calls) for a Run on a case, newest last. Used to populate the live body of an active Run card in the case Activity timeline.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| case_id | string | oui | The case's unique identifier |
| run_id | string | oui | The agent run's unique identifier |
| limit | integer | non | Maximum number of qualifying messages to return. Defaults to 3, must be between 1 and 10. |
deleteCase
Delete Case
Delete a case. Interrupts any associated active runs first.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| case_id | string | oui | The case's unique identifier |
bulkReprocessCases
Bulk Reprocess Cases
Re-process multiple cases on a chosen agent. Any active runs on the selected cases are interrupted first; the cases are then reset to pending and assigned to the chosen agent for the next dispatcher tick. The chosen agent must already be connected to the queue as a case-queue-consumer (with the trigger enabled or disabled) and not belong to a different automation than the queue. A paused queue refuses with 409; resume it first.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| queue_id | string | oui | The queue's unique identifier |
| case_ids | array<string> | non | Explicit case IDs to act on (1-100). Provide this or set all_matching. |
| all_matching | boolean | non | When true, act on every case matching the provided filters/search instead of an explicit id list. |
| filters | object | non | Filters selecting the cases when all_matching is true. |
| search | string | non | Free-text search selecting the cases when all_matching is true. |
| agent_id | string | non | The agent that should run on the selected cases. Must be a consumer of this queue and not belong to a different automation. |
bulkUpdateCaseStatus
Bulk Update Case Status
Update the status of multiple cases to pending, completed, failed, or canceled. Interrupts any active runs and releases their case ownership, but never cancels their human-in-the-loop state — pending requests and open approval batches stay answerable/resolvable from the run view. Settling a case archives the pending requests on every run attached to it, both the runs this call interrupted and any that were already terminal, so they leave the activity inbox instead of outliving the case there. Resetting to pending archives nothing and re-dispatches cases to the queue's trigger consumer. Resetting cases on a paused queue answers 409, because it would interrupt runs the pause lets finish; resume the queue first.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| queue_id | string | oui | The queue's unique identifier |
| case_ids | array<string> | non | Explicit case IDs to act on (1-100). Provide this or set all_matching. |
| all_matching | boolean | non | When true, act on every case matching the provided filters/search instead of an explicit id list. |
| filters | object | non | Filters selecting the cases when all_matching is true. |
| search | string | non | Free-text search selecting the cases when all_matching is true. |
| status | enum: "pending" | "completed" | "failed" | "canceled" | oui | Target status for each case. `completed`, `failed`, and `canceled` are terminal — `canceled` records a deliberate human stop, distinct from a system `failed`. `pending` resets the case (the queue's trigger consumer, if any, will re-claim it). `success` is not settable: it means an evaluation passed. |
bulkUpdateCasePriority
Bulk Update Case Priority
Set the priority of multiple cases. Priority only affects the order pending cases are picked up in: due postponed cases are handled first, then higher priority. It never interrupts runs or changes case status. Set `none` to clear priority back to the default.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| queue_id | string | oui | The queue's unique identifier |
| case_ids | array<string> | non | Explicit case IDs to act on (1-100). Provide this or set all_matching. |
| all_matching | boolean | non | When true, act on every case matching the provided filters/search instead of an explicit id list. |
| filters | object | non | Filters selecting the cases when all_matching is true. |
| search | string | non | Free-text search selecting the cases when all_matching is true. |
| priority | enum: "none" | "medium" | "high" | oui | Target priority for each case. `medium`/`high` raise it above the default; `none` clears it. |
assignCaseLabels
Assign Case Labels
Assign one or more labels to a case. Creates the labels on the queue if they don't already exist.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| queue_id | string | oui | The queue's unique identifier |
| case_id | string | oui | The case's unique identifier |
| labels | array<object> | oui |
listCaseLabels
List Case Labels
List all labels assigned to a case.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| queue_id | string | oui | The queue's unique identifier |
| case_id | string | oui | The case's unique identifier |
| limit | integer | non | Number of labels per page (1-1000, default 1000). |
| offset | integer | non | Zero-based offset for pagination. |
listQueueLabels
List Queue Labels
List every label defined on a queue along with the count of cases each label is assigned to.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| queue_id | string | oui | The queue's unique identifier |
| limit | integer | non | Number of labels per page (1-1000, default 1000). |
| offset | integer | non | Zero-based offset for pagination. |
unlinkCaseLabels
Unlink Case Labels
Remove the given labels from a case.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| queue_id | string | oui | The queue's unique identifier |
| case_id | string | oui | The case's unique identifier |
| label_ids | array<string> | oui |
createQueueLabel
Create Queue Label
Create a label on a queue without assigning it to a case.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| queue_id | string | oui | The queue's unique identifier |
| key | string | non | |
| value | string | oui | |
| color_hue | integer | non |
deleteQueueLabel
Delete Queue Label
Delete a label from a queue. Cascade-deletes all assignments of this label on existing cases.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| queue_id | string | oui | The queue's unique identifier |
| label_id | string | oui | The label's unique identifier |
updateQueueLabel
Update Queue Label
Update a label's key, value, or color. Renaming key/value affects every case assigned to this label.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| queue_id | string | oui | The queue's unique identifier |
| label_id | string | oui | The label's unique identifier |
| key | string | non | |
| value | string | oui | |
| color_hue | integer | non |
listQueueAgents
List Queue Agents
List agents bound to a queue as producers (agents that push cases into the queue) or consumers (agents triggered by cases in the queue).
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| queue_id | string | oui | The queue's unique identifier |
listCases
List Cases
List cases in a queue. Supports status, date-range, free-text, and json_data field filters via query params. Set count_only=true to skip Case row selection and transformation. The normal response shape is returned with cases: [] and the matching total. Set fields to return only some keys of each case, such as fields=status,display_status,updated_at with updated_at_from for a light poll of changed cases. updated_at moves when the case row is written; display_status can also change without it, when a Run opens or answers a request on the case (needs_input), so a poll that tracks needs_input should re-read the open cases rather than rely on updated_at_from. For label filters, use POST /v2/queues/:queue_id/cases/search.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| queue_id | string | oui | The queue's unique identifier |
| limit | integer | non | Number of cases per page (1-100, default 20). |
| offset | integer | non | Zero-based offset for pagination. |
| status | string | non | Filter by one or more status buckets (comma-separated). Values: all, pending, processing, needs_input, postponed, needs_review, resolved, canceled. `processing` covers both a case actively being worked and one waiting on its evaluation. |
| issue_severity | string | non | Filter by highest failing rubric severity (comma-separated). Values: critical, medium. Severity is a facet within the issues outcome, so it returns nothing when combined with a status bucket that excludes issues. `low` is not selectable: an all-low verdict is stored as success, so no case carries i… |
| awaiting_my_approval | enum: "true" | "false" | non | Return only cases holding an unanswered approval row assigned to you, on the case's own run. Resolved from the authenticated caller, so it names no user: an API key filters as the user who owns it, and a credential with no user behind it is rejected rather than served an empty list. Narrows within… |
| priority | string | non | Filter by one or more priority levels (comma-separated). Values: none, medium, high. |
| search | string | non | Full-text search across case title and data. |
| created_at_from | string | non | Return only cases created at or after an ISO-8601 timestamp or a lookback such as 24h or 7d. |
| created_at_to | string | non | Return only cases created before this ISO-8601 timestamp. The upper bound is exclusive. |
| updated_at_from | string | non | Return only cases updated at or after an ISO-8601 timestamp or a lookback such as 24h or 7d. |
| updated_at_to | string | non | Return only cases updated before this ISO-8601 timestamp. The upper bound is exclusive. |
| sort_by | enum: "created_at" | "updated_at" | "postponed_to" | non | Field to sort by. Default: created_at. |
| sort_order | enum: "asc" | "desc" | non | Sort direction. Default: desc. |
| include_blockers | enum: "true" | "false" | non | Also return `blocker` on each case: for a case waiting to start, why the dispatcher cannot start it now, or null when nothing blocks it. Off by default, because it adds database reads; when off, `blocker` is left out. |
| field | string | array<string> | non | Filter on a field of a typed queue's json_data, as : [: ] (e.g. $.invoice.amount:gte:5000). Repeat the param to require several; all must match, so two comparisons on one path express a range. Operators: equals, notEquals, in, notIn, gt, gte, lt, lte, contains, isSet, isNotSet. in/notIn take a comm… |
| count_only | enum: "true" | "false" | non | Skip row selection and enrichment. The normal list response shape is returned with an empty row array and the matching total. |
| fields | string | non | Return only these keys on each case, for a light read such as a dashboard polling for changes. `id` is always returned. Leaving out `data`, `json_data` and `search_match_data_snippet` keeps the case payload out of the response and skips reading it for the returned rows; a search or json_data filter… |
searchCases
Search Cases
Search cases in a queue with rich filters (multi-status, date ranges, label-based filters, and field-value filters over a typed queue's json_data). Use this when the simple query-string filters on GET /v2/queues/:queue_id/cases aren't enough. Each json_data entry is {path, operator, value} where path is a declared scalar in JSONPath dotted form ($.invoice.amount); entries are ANDed, so two comparisons on one path express a range. A path the queue's Case schema does not declare is rejected rather than ignored, as is a value that does not match the field's declared type. The contains operator is case-sensitive (unlike the free-text search parameter). Set count_only=true to skip Case row selection, enrichment, and transformation. The normal response shape is returned with cases: [] and the matching total. Set fields to return only some keys of each case.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| queue_id | string | oui | The queue's unique identifier |
| filters | object | non | |
| limit | integer | non | |
| offset | integer | non | |
| sort_by | enum: "created_at" | "updated_at" | "postponed_to" | non | |
| sort_order | enum: "asc" | "desc" | non | |
| search | string | non | |
| count_only | boolean | non | Skip Case row selection, enrichment, and transformation. The normal response shape contains an empty cases array and the matching total. |
| include_blockers | boolean | non | Also return `blocker` on each case: for a case waiting to start, why the dispatcher cannot start it now, or null when nothing blocks it. Off by default, because it adds database reads; when off, `blocker` is left out. |
| fields | array<enum: "id" | "queue_id" | "title" | "data" | "json_data" | "json_schema_id" | "status" | "priority" …> | non | Return only these keys on each case, for a light read such as a dashboard polling for changes. `id` is always returned. Leaving out `data`, `json_data` and `search_match_data_snippet` keeps the case payload out of the response and skips reading it for the returned rows; a search or json_data filter… |
createCases
Create Cases
Create one or more cases in a queue. Provide either a single `case` object or a `cases` array (1-100); providing both returns 400. Each case takes a title (max 500 chars), optional labels that will be assigned to the case on creation (missing labels are created on the queue), and an optional priority (`none`, `medium`, or `high`; `medium`/`high` raise it above the default in the queue, `none` is the default; priority only affects the order pending cases are picked up in: due postponed cases are handled first, then higher priority). For the case payload, send free-form `data` OR a structured `json_data` object, never both, and a single request must be all free-text or all structured. `json_data` is validated against the queue's Case schema and requires the queue to have one; a schema-guarded queue accepts only `json_data`, while a queue without the guard also accepts free-text `data`. A guarded queue that has no schema yet accepts free-text `data` only when typed Case schemas are off for that queue — the team has them turned off AND the queue is not inside an automation (there is then no way to declare a schema, so the guard cannot apply). A queue inside an automation always has them on, so a guarded one refuses free-text `data` until its schema is declared.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| queue_id | string | oui | The queue's unique identifier |
| case | object | non | |
| cases | array<object> | non |
listCaseAttachments
List Case Attachments
List the files attached to a case, oldest first. Includes attachments whose upload failed, so a missing source document is visible rather than silent.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| queue_id | string | oui | The queue's unique identifier |
| case_id | string | oui | The case's unique identifier |
createCaseAttachmentUploadUrl
Create Case Attachment Upload Url
Issue a signed URL for uploading a file to a case. The client must PUT the bytes to the returned URL with the returned Content-Type, then call the finalize endpoint so the attachment becomes visible on the case.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| queue_id | string | oui | The queue's unique identifier |
| case_id | string | oui | The case's unique identifier |
| filename | string | oui | |
| mime_type | string | oui | |
| size_bytes | integer | oui |
finalizeCaseAttachment
Finalize Case Attachment
Confirm an uploaded case attachment against storage. Answers with the attachment in its settled state — `ready` when the bytes are present, `failed` (with a reason) when the upload never completed.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| queue_id | string | oui | The queue's unique identifier |
| case_id | string | oui | The case's unique identifier |
| attachment_id | string | oui | The attachment's unique identifier |
getCaseAttachmentDownloadUrl
Get Case Attachment Download Url
Mint a short-lived signed URL for one case attachment. `disposition=inline` serves the file for the in-app viewer; `attachment` forces a download.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| queue_id | string | oui | The queue's unique identifier |
| case_id | string | oui | The case's unique identifier |
| attachment_id | string | oui | The attachment's unique identifier |
| disposition | enum: "inline" | "attachment" | non |
deleteCaseAttachment
Delete Case Attachment
Remove a file from a case. The row is soft-deleted; deletion of the stored object is attempted best-effort.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| queue_id | string | oui | The queue's unique identifier |
| case_id | string | oui | The case's unique identifier |
| attachment_id | string | oui | The attachment's unique identifier |
getCaseQueueEvalRubrics
Get Case Queue Eval Rubrics
List a queue's active case-level evaluation rubrics — the Pass/Fail questions a whole case is judged against at settlement. Shows the queue's current version's set (auto-generated from the connected Assignments' AOPs, plus any manually-authored rubrics).
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| queue_id | string | oui | The queue's unique identifier |
createCaseQueueEvalRubric
Create Case Queue Eval Rubric
Add one case-level evaluation rubric to a queue's current rubric set. Case-level rubrics judge the whole case (across every Run that touched it) as a Pass/Fail question at settlement. The rubric is added to the queue's current version (build-set) — the set new cases are judged against; a queue only gets one after its first Agent-processed case settles, so this fails with 409 before then, and once the version holds 12 rubrics by default (25 on teams with the newer rubric generator enabled); the error message states the ceiling.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| queue_id | string | oui | The queue's unique identifier |
| title | string | oui | Short, human-readable Pass/Fail rubric title. |
| description | string | oui | A 1-2 sentence Pass condition phrased as a question. |
replaceCaseQueueEvalRubrics
Replace Case Queue Eval Rubrics
Replace the entire case-level evaluation rubric set on a queue's current version (1 to N rubrics, N being 12 by default and 25 on teams with the newer rubric generator enabled). Existing rubrics are removed and the supplied list becomes the new set. An empty list is refused — whole-case evaluation regenerates rubrics for an empty set at the next settlement, so a cleared set would not stay cleared; remove individual rubrics instead. Targets the queue's current version (build-set), which exists once its first Agent-processed case settles — this fails with 409 before then. Cases already judged keep their original verdicts.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| queue_id | string | oui | The queue's unique identifier |
| rubrics | array<object> | oui | The complete case-level rubric set for the queue's current version (at least 1 rubric). Replaces every existing rubric. |
updateCaseQueueEvalRubric
Update Case Queue Eval Rubric
Edit a single case-level evaluation rubric's title and/or description. The edit produces a NEW rubric (with a new id and slug) so previously judged cases stay attributed to the original criterion; the response contains the new rubric.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| queue_id | string | oui | The queue's unique identifier |
| rubric_id | string | oui | The case-level rubric's unique identifier |
| title | string | non | Short, human-readable Pass/Fail rubric title. |
| description | string | non | A 1-2 sentence Pass condition phrased as a question. |
deleteCaseQueueEvalRubric
Delete Case Queue Eval Rubric
Remove a single case-level evaluation rubric. Cases settled after this are no longer judged against it; already-judged cases keep their original verdicts. Removing the queue's last remaining rubric is refused with 409 — whole-case evaluation regenerates rubrics for an empty set at the next settlement, so the removal would not stay removed.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| queue_id | string | oui | The queue's unique identifier |
| rubric_id | string | oui | The case-level rubric's unique identifier |
listMyTeams
List My Teams
List teams the authenticated caller can act on. Team-scoped API keys see only the key's team; managed Ask Duvo keys stay within their origin boundary; human user-scoped API keys and OAuth callers see every team they're a member of.
Aucun paramètre.
updateAgentFolder
Update Agent Folder
Rename an agent folder or move it to a new parent.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| folder_id | string | oui | The folder's unique identifier |
| name | string | non | New folder name |
| parent_folder_id | string | null | non | New parent folder ID. Pass null to move the folder to the root level. |
deleteAgentFolder
Delete Agent Folder
Delete an agent folder. If the folder contains assignments or subfolders, pass `force=true` to delete it and move the contained assignments to the root level.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| folder_id | string | oui | The folder's unique identifier |
| force | string | non | Pass 'true' to delete a folder that still contains assignments or subfolders. Any contained assignments will be moved to the root level. |
getConnection
Get Connection
Get one of your connections by ID.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| connection_id | string | oui | Connection ID |
getConnectionCredentials
Get Connection Credentials
Get the header keys configured for a connection. Sensitive values (api keys, tokens, passwords) are returned as empty strings — the response only reveals which credential fields are set, never their values.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| connection_id | string | oui | Connection ID |
updateConnection
Update Connection
Update an existing connection. For sensitive header values, sending an empty string keeps the existing value; send a new value to overwrite. Toggling `shared` moves the connection between personal and team-shared.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| connection_id | string | oui | Connection ID |
| name | string | non | |
| server_url | string | non | |
| auth_method | enum: "url" | "oauth" | "apikey" | "headers" | non | |
| headers | object | null | non | |
| shared | boolean | non |
deleteConnection
Delete Connection
Delete a connection (disconnects the user's connection and removes any triggers bound to it).
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| connection_id | string | oui | Connection ID |
deleteCustomIntegration
Delete Custom Integration
Delete a custom integration type (team-level catalog entry) and cascade-remove related connections. Requires manager-or-above role.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| custom_integration_id | string | oui | Custom integration type ID |
getSecret
Get Secret
Get an env-var secret by id. Returns metadata and env var keys; secret values are never exposed.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| id | string | oui |
updateSecret
Update Secret
Update an env-var secret. Send `values` to replace all entries, or any of `rename_keys`, `remove_keys`, `add_values` for a non-destructive patch. Editing a team-shared secret or toggling sharing requires lead builder role.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| id | string | oui | |
| name | string | non | |
| service_slug | string | null | non | |
| shared | boolean | non | |
| values | object | non | |
| rename_keys | object | non | |
| remove_keys | array<string> | non | |
| add_values | object | non |
deleteSecret
Delete Secret
Soft-delete an env-var secret. Deleting a team-shared secret requires lead builder role.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| id | string | oui |
listRevisionSecrets
List Revision Secrets
List env-var secrets attached to a specific revision (build) of an assignment. Returns metadata and env-var keys only — secret values are never exposed.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| agentId | string | oui | |
| buildId | string | oui |
attachRevisionSecret
Attach Revision Secret
Attach an env-var secret to a revision so its keys are injected into Runs spawned from that revision. Personal secrets can only be attached by their owner; team-shared secrets require builder permissions.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| agentId | string | oui | |
| buildId | string | oui | |
| credentialId | string | oui |
detachRevisionSecret
Detach Revision Secret
Detach an env-var secret from a revision. Personal secrets can only be detached by their owner; team-shared secrets require builder permissions.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| agentId | string | oui | |
| buildId | string | oui | |
| credentialId | string | oui |
listRevisionLogins
List Revision Logins
List logins attached to a specific revision (build) of an assignment. Returns metadata only — passwords and OTP secrets are never exposed.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| agentId | string | oui | |
| buildId | string | oui |
attachRevisionLogin
Attach Revision Login
Attach a login to a revision so the agent can use it during Runs spawned from that revision. Personal logins can only be attached by their owner; team-shared logins require builder permissions.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| agentId | string | oui | |
| buildId | string | oui | |
| exposedCredentialId | string | oui |
detachRevisionLogin
Detach Revision Login
Detach a login from a revision. Personal logins can only be detached by their owner; team-shared logins require builder permissions.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| agentId | string | oui | |
| buildId | string | oui | |
| exposedCredentialId | string | oui |
getNotification
Get Notification
Get a single notification by id for the authenticated user. Requires the Notification Center feature; returns 404 when it is not enabled for the team, or when automation_id is set and the notification is not about that automation.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| id | string | oui | The notification's unique identifier |
| automation_id | string | non | Only include notifications about this automation: notifications from runs in this automation (or, with no run, for its agents), notifications for its queues, connection_broken notifications for connections its agents use, and login_broken notifications for logins its agents sign in with. |
markNotificationRead
Mark Notification Read
Mark a notification as read for the authenticated user. Idempotent — calling it again on an already-read notification still returns success. Pass `openedFrom` to record which channel the reader came through (`in_app` when they were already in Duvo, or `email`/`slack`/`teams` from the `notificationSource` param on an external link); omit it when the read is not somebody opening the notification. Requires the Notification Center feature; returns 404 when it is not enabled for the team.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| id | string | oui | The notification's unique identifier |
| openedFrom | enum: "in_app" | "email" | "slack" | "teams" | non |
dismissNotification
Dismiss Notification
Dismiss an important notification for the authenticated user. A row pinned to their Important section is unpinned and the card stays, because the connection is still broken; a row that is not pinned for them — one they cannot reconnect themselves — is removed from their feed instead, matching what the card's Dismiss button does. Only important notifications (currently: connection_broken) can be dismissed. Idempotent. Requires the Notification Center feature; returns 404 when it is not enabled for the team.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| id | string | oui | The notification's unique identifier |
listClarityProcessLabels
List Clarity Process Labels
List process tags available in an organization.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| orgId | string | oui | |
| limit | integer | non | |
| offset | integer | non | |
| search | string | non |
createClarityProcessLabel
Create Clarity Process Label
Create process tags for an organization.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| orgId | string | oui | |
| value | string | oui | |
| colorHue | integer | non |
updateClarityProcessLabel
Update Clarity Process Label
Update process tags for an organization.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| orgId | string | oui | |
| labelId | string | oui | |
| value | string | non | |
| colorHue | integer | non |
deleteClarityProcessLabel
Delete Clarity Process Label
Delete process tags from an organization.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| orgId | string | oui | |
| labelId | string | oui |
listClarityProcessAssignedLabels
List Clarity Process Assigned Labels
List process tags on a process.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| id | string | oui |
assignClarityProcessLabels
Assign Clarity Process Labels
Assign process tags to a process.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| id | string | oui | |
| labelIds | array<string> | non | |
| labels | array<object> | non |
unlinkClarityProcessLabels
Unlink Clarity Process Labels
Remove process tags from a process.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| id | string | oui | |
| labelIds | array<string> | oui |
listAvailableClarityProcessLabels
List Available Clarity Process Labels
List process tags available for a process.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| id | string | oui | |
| limit | integer | non | |
| offset | integer | non | |
| search | string | non |
listAgents
List Agents
List agents for your team. Pass `config=light` to leave each agent's revision config out of the page and get its sizes instead; read the AOP with getRevisionBody.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| team_id | string | non | Duvo team UUID to operate on. API keys are pinned to a single team — omit this (it falls back to the key's team) or pass that same team; a different team is rejected. OAuth callers, who can span multiple teams, should pass the target team here. |
| include_schedules | enum: "true" | "false" | non | Include the authenticated user's schedules for each agent in the response. Schedules are per-user, so this only returns schedules the current user owns. |
| limit | integer | non | Number of agents per page (1-100, default 20) |
| offset | integer | non | Number of agents to skip |
| automation_id | string | non | Only return agents belonging to this automation. |
| config | enum: "light" | "full" | non | `full` (default) embeds each agent's live revision config in `latest_build.config`. `light` sets that to null and reports its sizes, hash and models in `latest_build_config_summary`; read the AOP or program text with getRevisionBody. Use `light` unless you need the instructions themselves: a full p… |
createAgent
Create Agent
Create a new agent. Optionally include a build configuration to create the first build in the same request. On a team that versions its automations, an agent created inside an automation joins that automation's draft revision: its first build is a draft and goes live when the draft is made active.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| team_id | string | non | Duvo team UUID to operate on. API keys are pinned to a single team — omit this (it falls back to the key's team) or pass that same team; a different team is rejected. OAuth callers, who can span multiple teams, should pass the target team here. |
| name | string | oui | Human-readable agent name |
| type | enum: "agent" | "code" | non | Flavour of the step to create. Fixed at creation — it selects the config family every build of this step must use, and the two cannot be mixed. |
| thread_id | string | null | non | Existing thread ID to associate with the agent |
| source_build_id | string | null | non | Build ID whose case-queue-consumer setup should be copied to the new agent. When `automation_id` is omitted, the new agent also joins the automation of the agent this build belongs to. |
| automation_id | string | null | non | Automation this agent belongs to. If omitted on a team using the automations model, a new automation named after the agent is created automatically. |
| build | object | non | Optional inline build. When present, a first build is created alongside the agent. Only valid for an agent step. |
listAutomations
List Automations
List the team's automations, each with its live agent and queue counts. An automation is the workspace container an agent or queue belongs to on a team that has moved to Automations — its id is what `POST /queues` and `POST /agents` need as `automation_id`. Its `process_node_id` is the process whose attributes (Severity, Cost and the like) listProcessAttributeValues reads, and while process attributes are enabled `process_attributes` carries the values it holds that the caller may see.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| team_id | string | non | Duvo team UUID to operate on. API keys are pinned to a single team — omit this (it falls back to the key's team) or pass that same team; a different team is rejected. OAuth callers, who can span multiple teams, should pass the target team here. |
| limit | integer | non | Number of automations per page (1-250, default 250) |
| offset | integer | non | Number of automations to skip |
createAutomation
Create Automation
Create a new automation. Its first agent is created alongside it so the caller lands on something editable; `first_agent` seeds that agent's name, configuration, and connections instead of the defaults. On a team on revision semantics the automation holds a single draft revision and no live revision, with the agent's first build bound into that draft, and the first activation makes the draft revision 1; on any other team the automation is a bare container and the build stands on its own.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| team_id | string | non | Duvo team UUID to operate on. API keys are pinned to a single team — omit this (it falls back to the key's team) or pass that same team; a different team is rejected. OAuth callers, who can span multiple teams, should pass the target team here. |
| name | string | oui | Human-readable automation name. |
| first_agent | object | non | Seeds the automation's first agent, for example from an agent template. Anything left out takes the platform default. |
setUpModule
Set Up Module
Set up a Duvo Module (a ready-made solution such as AP Invoice Intake & Routing or Freight Audit) as a new Automation on the team, the same as pressing Set up on the Module in the web app. Creates the Module's Agents, code steps, Queues, Policy and dashboards in one call. If the team already has a demo of this Module open, the call is refused with 409 unless `convert_existing_demo` is true; then that demo becomes the Automation and its sample cases and Runs are deleted, so ask the user first. The Automation starts in setup and does not run yet: call `getAutomationReadiness` next to see what is left of the setup, the Policy questions, the current process and the automation proposal, whose approval builds the automation. Connections and routing come once the approved proposal is being built, so don't raise them before. Give the user the `url`.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| slug | enum: "chargebacks" | "freight-audit" | "inbound-to-store" | "mode-mix" | "ap-invoice-intake-routing" | "payables-audit" | "demand-supply-balancing" | "po-management" | oui | Module template to set up, for example `ap-invoice-intake-routing` for AP Invoice Intake & Routing or `freight-audit` for Freight Audit. |
| team_id | string | non | Duvo team UUID to operate on. API keys are pinned to a single team — omit this (it falls back to the key's team) or pass that same team; a different team is rejected. OAuth callers, who can span multiple teams, should pass the target team here. |
| convert_existing_demo | boolean | non | Set true only after the user agreed to it: when the team already has a demo of this Module open, that demo becomes the Automation and its sample cases and Runs are deleted, with no undo. Left false, such a call is refused with 409 and nothing changes. |
listAgentFolders
List Agent Folders
List all agent folders for the authenticated team.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| team_id | string | non | Duvo team UUID to operate on. API keys are pinned to a single team — omit this (it falls back to the key's team) or pass that same team; a different team is rejected. OAuth callers, who can span multiple teams, should pass the target team here. |
createAgentFolder
Create Agent Folder
Create a new agent folder.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| team_id | string | non | Duvo team UUID to operate on. API keys are pinned to a single team — omit this (it falls back to the key's team) or pass that same team; a different team is rejected. OAuth callers, who can span multiple teams, should pass the target team here. |
| name | string | oui | Human-readable folder name |
| parent_folder_id | string | null | non | Parent folder ID for nested folders. Omit or null to create at the root level. |
moveAgentsToFolder
Move Agents To Folder
Move one or more agents (assignments) into a folder, or to the root level.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| team_id | string | non | Duvo team UUID to operate on. API keys are pinned to a single team — omit this (it falls back to the key's team) or pass that same team; a different team is rejected. OAuth callers, who can span multiple teams, should pass the target team here. |
| agent_ids | array<string> | oui | IDs of the agents (assignments) to move. Must be unique. |
| folder_id | string | null | oui | Destination folder ID. Pass null to move the agents to the root level. |
moveAutomationsToFolder
Move Automations To Folder
Move one or more automations into an agent folder, or to the root level.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| team_id | string | non | Duvo team UUID to operate on. API keys are pinned to a single team — omit this (it falls back to the key's team) or pass that same team; a different team is rejected. OAuth callers, who can span multiple teams, should pass the target team here. |
| automation_ids | array<string> | oui | IDs of the automations to move. Must be unique. |
| folder_id | string | null | oui | Destination folder ID. Pass null to move the automations to the root level. |
listQueues
List Queues
List queues for your team.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| team_id | string | non | Duvo team UUID to operate on. API keys are pinned to a single team — omit this (it falls back to the key's team) or pass that same team; a different team is rejected. OAuth callers, who can span multiple teams, should pass the target team here. |
| limit | integer | non | Number of queues per page (1-250, default 250) |
| offset | integer | non | Number of queues to skip |
| automation_id | string | non | Only return queues belonging to this automation. |
createQueue
Create Queue
Create a new queue.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| team_id | string | non | Duvo team UUID to operate on. API keys are pinned to a single team — omit this (it falls back to the key's team) or pass that same team; a different team is rejected. OAuth callers, who can span multiple teams, should pass the target team here. |
| name | string | oui | Queue name. A standalone queue must be uniquely named within the team. A queue created inside an automation instead has to be uniquely named within a revision, which is checked when that revision is activated. |
| description | string | null | non | Optional human-readable description. |
| folder_id | string | null | non | Optional folder to nest the queue under. |
| automation_id | string | null | non | Automation this queue belongs to. Optional for teams not yet migrated to Automations; required once a team has migrated. |
getBatchQueueStats
Get Batch Queue Stats
Get case status counts for many Queues in ONE call. Use this after listQueues whenever you need per-Queue counts — cases waiting on a human, needing review, pending, failed — instead of calling listCases or searchCases once per Queue. Results are keyed by Queue ID and include zero counts for Queues with no matching cases; Queue IDs from other teams are silently dropped. For a count on a single Queue with richer filters, listCases with count_only=true is the alternative.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| team_id | string | non | Duvo team UUID to operate on. API keys are pinned to a single team — omit this (it falls back to the key's team) or pass that same team; a different team is rejected. OAuth callers, who can span multiple teams, should pass the target team here. |
| queue_ids | string | oui | Comma-separated Queue IDs to aggregate. Include 1 to 100 IDs from the team in the URL. |
| created_at_from | string | non | Inclusive case creation lower bound. Use an ISO 8601 timestamp or a relative duration such as 7d or 12h. Omit it for no lower bound. |
| created_at_to | string | non | Exclusive case creation upper bound. Use an ISO 8601 timestamp or a relative duration such as 7d or 12h. Omit it for no upper bound. |
listRuns
List Runs
List runs for the current team. Supports filtering by agent, user, queue, status, etc. Messages, evaluation data, and queue metadata are included where available. Set count_only=true to skip Run row selection and enrichment. The normal response shape is returned with data: [] and the matching total. To sweep a whole team, follow `next_cursor` rather than raising `offset`.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| team_id | string | non | Duvo team UUID to operate on. API keys are pinned to a single team — omit this (it falls back to the key's team) or pass that same team; a different team is rejected. OAuth callers, who can span multiple teams, should pass the target team here. |
| limit | integer | non | Number of runs per page (1-100, default 20) |
| offset | integer | non | Number of runs to skip. Every skipped run is still read by the database, so deep offsets get slower page by page; to walk a whole team's history, page with `cursor` instead. |
| cursor | string | non | Resume after the run a previous page ended on: pass the `next_cursor` that page returned, with the same filters and sort_order. Unlike offset, a cursor page does not re-read the runs before it, so a sweep does not slow down as it goes deeper; send `include_total=false` on the first page to skip the… |
| include_total | enum: "true" | "false" | non | Whether to return `total`, the count of every matching run. Counting walks every match, so it costs far more than the page itself on a large team. Defaults to true on a first page and false on a `cursor` page, where `total` is null unless this is true. Implied by `count_only`. |
| sort_by | enum: "created_at" | non | Field to sort by (default created_at) |
| sort_order | enum: "asc" | "desc" | non | Sort direction (default desc) |
| status | enum: "not_started" | "pending" | "starting" | "running" | "waiting" | "completed" | "failed" | "interrupted" … | non | Filter to runs with this status |
| agent_id | string | non | Filter to runs for this agent |
| automation_id | string | non | Filter to runs that ran under this automation. A run keeps the automation it was created under, even after its agent moves to another automation |
| user_id | string | non | Filter to runs owned by this user. Callers whose team role is team:owner, team:superadmin or team:lead-builder may filter by any user. Everyone else, team:admin included, sees their own runs, plus the team's Team runs from team:member up, and this filter, whatever its value, narrows them to their o… |
| case_queue_id | string | non | Filter to runs associated with this queue |
| source | string | non | Filter to runs created from this source (e.g. api, schedule) |
| search | string | non | Full-text search across run titles and case titles |
| has_issues | enum: "true" | "false" | non | Filter on the run's latest successful evaluation: true returns only runs it flagged, false only runs it did not. Only the latest evaluation counts — an older flag does not match — and a run whose latest evaluation errored, or that has none, counts as unflagged. Omit to return both. |
| issue_severity | enum: "critical" | "medium" | "low" | non | If set, only return runs whose latest successful evaluation has at least one failing rubric with this severity (critical | medium | low). Implies has_issues; legacy evaluations without severity companion fields do not match this filter. |
| since | string | non | Return runs completed at or after this ISO-8601 timestamp. Runs that have not completed are excluded. |
| until | string | non | Return runs completed before this ISO-8601 timestamp. The upper bound is exclusive. Runs that have not completed are excluded. |
| digest_id | string | non | |
| count_only | enum: "true" | "false" | non | Skip row selection and enrichment. The normal list response shape is returned with an empty row array and the matching total. |
startRun
Start Run
Start a new agent run. Returns immediately with run info - does not wait for completion.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| team_id | string | non | Duvo team UUID to operate on. API keys are pinned to a single team — omit this (it falls back to the key's team) or pass that same team; a different team is rejected. OAuth callers, who can span multiple teams, should pass the target team here. |
| agent_id | string | oui | The agent ID to run |
| message | string | non | Optional initial message to start the run with (e.g. a trigger payload or user instruction) |
| sandbox_id | string | non | Optional sandbox ID with pre-uploaded files |
| webhook_url | string | non | Webhook URL to POST events to (human_request, run_completed, run_failed, run_interrupted, run_expired) |
listSkills
List Skills
List all skills for the current team, including system skills.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| team_id | string | non | Duvo team UUID to operate on. API keys are pinned to a single team — omit this (it falls back to the key's team) or pass that same team; a different team is rejected. OAuth callers, who can span multiple teams, should pass the target team here. |
createSkill
Create Skill
Create or update a skill from a JSON body. The server constructs SKILL.md from the provided fields and stores it. If a skill with the same name already exists in the team, it is updated.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| team_id | string | non | Duvo team UUID to operate on. API keys are pinned to a single team — omit this (it falls back to the key's team) or pass that same team; a different team is rejected. OAuth callers, who can span multiple teams, should pass the target team here. |
| name | string | oui | Skill name. 1-64 lowercase alphanumeric chars and hyphens; no leading/trailing or consecutive hyphens. |
| description | string | oui | 1-1024 chars describing what the skill does and when to invoke it. |
| content | string | oui | Markdown body of SKILL.md without YAML frontmatter. The server prepends the frontmatter from the other fields. |
| license | string | non | Optional: license name or reference to a bundled license file. |
| compatibility | string | non | Optional: 1-500 chars describing environment requirements. |
| metadata | object | non | Optional: arbitrary key-value metadata. |
| allowed-tools | string | non | Optional (experimental): space-delimited list of pre-approved tools. |
listClarityProcesses
List Clarity Processes
List Clarity processes for the current team, most recently updated first. Returns lightweight metadata (capture counts, contributors, status) suitable for building a picker; the per-process read model is available via `GET /v2/teams/:team_id/clarity-v2/processes/:process_id` for v2 rows and `GET /v2/teams/:team_id/clarity/processes/:id` for legacy v1 rows. Both v1 (legacy) and v2 processes are returned by default; use `search`, `status`, and `version` to narrow discovery. Capped at 100 per page.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| team_id | string | non | Duvo team UUID to operate on. API keys are pinned to a single team — omit this (it falls back to the key's team) or pass that same team; a different team is rejected. OAuth callers, who can span multiple teams, should pass the target team here. |
| limit | integer | non | Number of processes per page (1-100, default 50) |
| offset | integer | non | Number of processes to skip (default 0) |
| search | string | non | Case-insensitive search across process names |
| status | enum: "draft" | "collecting" | "generating" | "generating-current-process" | "generating-transformation-proposal" | "review" | "complete" | "generation_failed" | non | Filter by process lifecycle status |
| version | integer | non | Filter by Clarity process schema version: 1 legacy, 2 v2 |
listClarityProcessSummaries
List Clarity Process Summaries
Cross-process portfolio digest for every completed Clarity process on the team: per-process summary, SWOT, projected impact, and a step skeleton (role, system, and flow edges) — without step prose or source excerpts. Paginated (default 5, max 10). Use this to answer portfolio-wide questions in one pass; fetch a single process's full detail via getClarityProcessSnapshot only for the few that matter.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| team_id | string | non | Duvo team UUID to operate on. API keys are pinned to a single team — omit this (it falls back to the key's team) or pass that same team; a different team is rejected. OAuth callers, who can span multiple teams, should pass the target team here. |
| limit | integer | non | Processes per page (1-10, default 5). Keeps the response under the MCP output cap. |
| offset | integer | non | Processes to skip (default 0). |
| detail | enum: "skeleton" | "summary" | non | skeleton = + per-step role/system/flow edges (default); summary = summary+SWOT+impact only (cheaper, for pure ranking). |
| include_current_steps | enum: "true" | "false" | non | Include the as-is (current) step skeleton too. Default false = proposed (to-be) steps only. Pass the literal string 'true' or 'false' (z.coerce.boolean treats any non-empty value, including 'false', as true). |
createClarityProcess
Create Clarity Process
Create a new Clarity v2 process for the current team. Requires `process.edit` (Builders and above, or a custom role that holds it). Optional `name` defaults server-side when omitted. Response uses camelCase `createdAt` to match existing FE clients.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| team_id | string | non | Duvo team UUID to operate on. API keys are pinned to a single team — omit this (it falls back to the key's team) or pass that same team; a different team is rejected. OAuth callers, who can span multiple teams, should pass the target team here. |
| name | string | non | Optional process name; server default applies when omitted |
listFiles
List Files
List files for the current team.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| team_id | string | non | Duvo team UUID to operate on. API keys are pinned to a single team — omit this (it falls back to the key's team) or pass that same team; a different team is rejected. OAuth callers, who can span multiple teams, should pass the target team here. |
createFileUploadUrl
Create File Upload Url
Generate a signed URL for uploading a file directly to GCS.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| team_id | string | non | Duvo team UUID to operate on. API keys are pinned to a single team — omit this (it falls back to the key's team) or pass that same team; a different team is rejected. OAuth callers, who can span multiple teams, should pass the target team here. |
| fileName | string | oui | Name of the file to upload |
| contentType | string | oui | MIME type of the file |
renameFile
Rename File
Rename a file in team storage.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| team_id | string | non | Duvo team UUID to operate on. API keys are pinned to a single team — omit this (it falls back to the key's team) or pass that same team; a different team is rejected. OAuth callers, who can span multiple teams, should pass the target team here. |
| relativePath | string | oui | Current path of the file relative to the team's storage root |
| newFilenameOnly | string | oui | New file name (no extension; the existing extension is preserved) |
deleteFile
Delete File
Delete a file from team storage.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| path | string | oui | Path of the file to delete relative to the team's storage root |
| team_id | string | non | Duvo team UUID to operate on. API keys are pinned to a single team — omit this (it falls back to the key's team) or pass that same team; a different team is rejected. OAuth callers, who can span multiple teams, should pass the target team here. |
getFileDownloadUrl
Get File Download Url
Generate a signed download URL for a file.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| path | string | oui | Path of the file relative to the team's storage root |
| team_id | string | non | Duvo team UUID to operate on. API keys are pinned to a single team — omit this (it falls back to the key's team) or pass that same team; a different team is rejected. OAuth callers, who can span multiple teams, should pass the target team here. |
getFileContent
Get File Content
Get the content of a text file.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| path | string | oui | Path of the file relative to the team's storage root |
| team_id | string | non | Duvo team UUID to operate on. API keys are pinned to a single team — omit this (it falls back to the key's team) or pass that same team; a different team is rejected. OAuth callers, who can span multiple teams, should pass the target team here. |
updateFileContent
Update File Content
Update the content of a text file.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| path | string | oui | Path of the file relative to the team's storage root |
| team_id | string | non | Duvo team UUID to operate on. API keys are pinned to a single team — omit this (it falls back to the key's team) or pass that same team; a different team is rejected. OAuth callers, who can span multiple teams, should pass the target team here. |
| content | string | oui | New UTF-8 text content for the file |
listIntegrations
List Integrations
List the team's integration catalog: built-in integration types plus the custom connection types this team owns or has been granted by another team in its organization. OAuth authorization flows are browser-based and cannot be performed via this API; use the Duvo dashboard to complete OAuth-based connections.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| team_id | string | non | Duvo team UUID to operate on. API keys are pinned to a single team — omit this (it falls back to the key's team) or pass that same team; a different team is rejected. OAuth callers, who can span multiple teams, should pass the target team here. |
| type | string | non | |
| limit | integer | non | |
| offset | integer | non |
createCustomIntegration
Create Custom Integration
Create a custom integration type (team-level catalog entry) that users can then connect as user-provided MCP connections. Requires manager-or-above role.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| team_id | string | non | Duvo team UUID to operate on. API keys are pinned to a single team — omit this (it falls back to the key's team) or pass that same team; a different team is rejected. OAuth callers, who can span multiple teams, should pass the target team here. |
| name | string | oui | |
| auth_method | enum: "url" | "apikey" | "headers" | "oauth" | oui | |
| server_url | string | oui | |
| oauth_client_id | string | non | |
| oauth_client_secret | string | non |
listConnections
List Connections
List the authenticated user's connections (connected integration instances) for the current team: the caller's own, and every shared connection granted to this team or its organization when the org-level Connections sharing setting is on. With organization ownership, `q` searches connection names, integration types, service names and custom type names, and `order=shared_first` lists shared connections before personal ones; the default is personal first. The `type` query parameter filters by integration type, not native OAuth provider key.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| team_id | string | non | Duvo team UUID to operate on. API keys are pinned to a single team — omit this (it falls back to the key's team) or pass that same team; a different team is rejected. OAuth callers, who can span multiple teams, should pass the target team here. |
| type | string | non | |
| limit | integer | non | |
| offset | integer | non | |
| after | string | non | |
| q | string | array<string> | non | |
| order | string | array<string> | non | With organization ownership: personal_first (default) or shared_first. A cursor is read in the order it was made with. Ignored without it. |
createConnection
Create Connection
Create a new user-provided connection (custom MCP server) for the current team. A custom MCP server is registered first with `POST /v2/teams/:team_id/integrations/custom`, and its id is passed as `custom_integration_id`; a custom MCP connection without one is refused with 400. OAuth-based integrations (native) require an interactive browser flow — start them with the dedicated OAuth endpoints (`/v2/teams/:team_id/connections/oauth/native/:provider/start` or `/v2/teams/:team_id/connections/oauth/mcp/start`) instead of calling this endpoint directly.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| team_id | string | non | Duvo team UUID to operate on. API keys are pinned to a single team — omit this (it falls back to the key's team) or pass that same team; a different team is rejected. OAuth callers, who can span multiple teams, should pass the target team here. |
| name | string | oui | |
| server_url | string | non | |
| type | string | non | |
| provider | string | oui | |
| auth_method | enum: "url" | "apikey" | "headers" | "oauth" | oui | |
| custom_integration_id | string | non | |
| headers | object | non |
probeMcpServer
Probe an MCP server for available tools
Probe an MCP server URL and list the tools it exposes. Useful as a dry-run before creating a connection — verifies the URL is reachable, that authentication headers (if any) are correct, and surfaces the tool catalog. Performs no writes; sits alongside `/v2/teams/:team_id/connections/oauth/mcp/check` (which probes the same URL for OAuth support).
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| team_id | string | non | Duvo team UUID to operate on. API keys are pinned to a single team — omit this (it falls back to the key's team) or pass that same team; a different team is rejected. OAuth callers, who can span multiple teams, should pass the target team here. |
| server_url | string | non | Raw MCP server URL to probe (for custom MCP servers) |
| integration_slug | enum: "googlecalendar" | "google-calendar" | "gmail" | "slack" | "googledocs" | "googlesheets" | "googledrive" | "firecrawl" … | non | Catalog integration slug. The backend resolves the MCP server URL and dummy auth headers server-side — no server_url or headers needed. |
| headers | object | non | Optional HTTP headers for authentication (raw server_url mode only) |
listSecrets
List Secrets
List env-var secrets the caller can reach in this team — team-shared (user_id IS NULL), the caller's own personal entries, and secrets another team in the organization has granted to this team. Returns metadata and env-var keys only; secret values are never exposed.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| team_id | string | non | Duvo team UUID to operate on. API keys are pinned to a single team — omit this (it falls back to the key's team) or pass that same team; a different team is rejected. OAuth callers, who can span multiple teams, should pass the target team here. |
createSecret
Create Secret
Create an env-var secret. Personal by default; pass `shared: true` to create a team-shared secret (requires lead builder role).
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| team_id | string | non | Duvo team UUID to operate on. API keys are pinned to a single team — omit this (it falls back to the key's team) or pass that same team; a different team is rejected. OAuth callers, who can span multiple teams, should pass the target team here. |
| name | string | oui | |
| service_slug | string | null | non | |
| shared | boolean | non | |
| values | object | oui |
createTeamInvite
Create Team Invite
Invite one person to a team. Pass `processId` to invite them to a specific Clarity process instead of the whole team (that requires the `team:clarity-member` role). Creating the invitation does NOT email anyone — call sendTeamInviteEmail with the returned id to deliver it, or use bulkCreateTeamInvites, which creates and emails in one step.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| team_id | string | non | Duvo team UUID to operate on. API keys are pinned to a single team — omit this (it falls back to the key's team) or pass that same team; a different team is rejected. OAuth callers, who can span multiple teams, should pass the target team here. |
| string | oui | Email address of the person to invite. | |
| role | string | oui | Team role to grant. One of: team:owner, team:superadmin, team:admin (deprecated), team:manager, team:builder, team:member, team:clarity-member. You cannot grant a role above your own. Process invitations must use team:clarity-member. |
| processId | string | non | Invite the person to this Clarity process rather than the whole team. Requires the team:clarity-member role. |
| process_role_id | string | non | Configured Process role to assign alongside the Clarity invitation. Requires processId; the role must belong to that Process. |
| interviewRequested | boolean | non | Whether to ask the person to record an interview about the process. Defaults to true. Pass false to give Clarity Member access to the process only; that requires processId and the clarity_invite_without_interview feature flag. Inviting someone already asked for an interview with false keeps the req… |
deleteTeamInvite
Delete Team Invite
Revoke a pending invitation so its link and email can no longer be used. Accepts either a team invitation (requires the `team.member.remove` permission on the invitation's team, held by Superadmin and above) or a Clarity process invitation (requires the process creator or a team admin). Revoking one side also revokes its linked counterpart when a process invitation created both. An invitation already accepted or declined is refused with 409, including one accepted a moment before; so is one whose role changed since it was read, for a caller below Superadmin who holds the permission through a custom role, and process access the invitee already holds through an earlier acceptance is kept, so revoking never undoes an acceptance.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| id | string | oui | ID of the invitation to revoke. Accepts either a team invitation or a Clarity process invitation. |
| team_id | string | non | Duvo team UUID to operate on. API keys are pinned to a single team — omit this (it falls back to the key's team) or pass that same team; a different team is rejected. OAuth callers, who can span multiple teams, should pass the target team here. |
sendTeamInviteEmail
Send Team Invite Email
Email an invitation to its recipient. Use this to deliver an invitation created by createTeamInvite (which never sends mail on its own), or to resend one the recipient never received. The accept link is always built from the server-configured app origin.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| id | string | oui | ID of the invitation to email. |
| team_id | string | non | Duvo team UUID to operate on. API keys are pinned to a single team — omit this (it falls back to the key's team) or pass that same team; a different team is rejected. OAuth callers, who can span multiple teams, should pass the target team here. |
| frontendUrl | string | non | Deprecated. Accepted for backward compatibility and IGNORED: the accept link is always built from the server-configured app origin, so a caller cannot point invitation emails at another host. |
| schedule | object | non | Optional time for the interview. The invitation email then carries a calendar invite for it, the interview link stays valid until a week after it, and a later send with a new time moves the same calendar event. At most 90 days ahead. Only available while calendar invites are on for the team. |
bulkCreateTeamInvites
Bulk Create Team Invites
Invite several people to a team in one call, emailing each invitation immediately. Returns per-batch counts: `succeeded` were invited, `skipped` were already on the team, already had a pending invitation, or were a duplicate of an earlier entry in the same batch, `failed` could not be emailed (those invitations are rolled back). The accept link is always built from the server-configured app origin.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| team_id | string | non | Duvo team UUID to operate on. API keys are pinned to a single team — omit this (it falls back to the key's team) or pass that same team; a different team is rejected. OAuth callers, who can span multiple teams, should pass the target team here. |
| members | array<object> | oui | People to invite, at most 50 per request. An email already on the team, or already holding a pending invitation, is skipped rather than failing the batch. |
| frontendUrl | string | non | Deprecated. Accepted for backward compatibility and IGNORED: the accept link is always built from the server-configured app origin, so a caller cannot point invitation emails at another host. |
updateTeamInvite
Update Team Invite
Change the role on a pending team invitation. Only pending invitations can be updated — one already accepted or declined is rejected. Requires the `team.member.invite` permission (Manager and above) on the invitation's own team.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| id | string | oui | ID of the pending invitation to update. |
| team_id | string | non | Duvo team UUID to operate on. API keys are pinned to a single team — omit this (it falls back to the key's team) or pass that same team; a different team is rejected. OAuth callers, who can span multiple teams, should pass the target team here. |
| role | string | oui | New team role for the invitation. One of: team:owner, team:superadmin, team:admin (deprecated), team:manager, team:builder, team:member, team:clarity-member. You cannot assign a role above your own. |
getTeamInviteLink
Get Team Invite Link
Get the team's shareable invite link — the one URL anyone can use to join the team, as opposed to a per-person invitation. Returns `hasLink: false` when no link has been created. Requires the `team.member.invite` permission (Manager and above).
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| team_id | string | non | Duvo team UUID to operate on. API keys are pinned to a single team — omit this (it falls back to the key's team) or pass that same team; a different team is rejected. OAuth callers, who can span multiple teams, should pass the target team here. |
| frontendUrl | string | non | Deprecated and ignored. The link is built from the server's configured frontend URL so a caller can't choose the host in a Duvo-branded email. |
createTeamInviteLink
Create Team Invite Link
Create or regenerate the team's shareable invite link — the one URL anyone can use to join the team. Regenerating invalidates the previous link, so anyone still holding the old URL can no longer join. Requires the `team.member.invite` permission (Manager and above).
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| team_id | string | non | Duvo team UUID to operate on. API keys are pinned to a single team — omit this (it falls back to the key's team) or pass that same team; a different team is rejected. OAuth callers, who can span multiple teams, should pass the target team here. |
| frontendUrl | string | non | Deprecated and ignored. The link is built from the server's configured frontend URL so a caller can't choose the host in a Duvo-branded email. |
deleteTeamInviteLink
Delete Team Invite Link
Delete the team's shareable invite link so the URL stops working. Per-person invitations are unaffected. Requires the `team.member.invite` permission (Manager and above).
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| team_id | string | non | Duvo team UUID to operate on. API keys are pinned to a single team — omit this (it falls back to the key's team) or pass that same team; a different team is rejected. OAuth callers, who can span multiple teams, should pass the target team here. |
listNotifications
List Notifications
List notifications for the authenticated user's current team, most recent first. Filter with type, unread, severity or minSeverity (mutually exclusive), important, agentRunId, or processId; paginate with limit/cursor. Pass batchId to list only the live members of a notification batch, optionally ordered by sort=importance (only valid together with batchId). Requires the Notification Center feature; returns 404 when it is not enabled for the team.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| team_id | string | non | Duvo team UUID to operate on. API keys are pinned to a single team — omit this (it falls back to the key's team) or pass that same team; a different team is rejected. OAuth callers, who can span multiple teams, should pass the target team here. |
| type | enum: "connection_broken" | "login_broken" | "case_failed" | "critical_case_issue" | "case_issue" | "critical_eval_issue" | "eval_issue" | "job_issue" … | non | Only return notifications of this type. One of: connection_broken, login_broken, case_failed, critical_case_issue, case_issue, critical_eval_issue, eval_issue, job_issue, job_done, background_job, schedule_issue, config_proposal, routine_candidate, access_withdrawn, personal_setup_turned_off. |
| unread | enum: "true" | "false" | non | If true, only return unread notifications. |
| severity | enum: "info" | "warning" | "critical" | "success" | non | Only return notifications with this severity. One of: info, warning, critical, success. |
| minSeverity | enum: "info" | "warning" | "critical" | "success" | non | Only return notifications at or above this urgency. Least to most urgent: success < info < warning < critical. Mutually exclusive with severity. |
| important | enum: "true" | "false" | non | If true, only return important notifications: unresolved connection_broken rows pinned until reconnected, removed, or dismissed. |
| agentRunId | string | non | Only return notifications about this agent run. |
| processId | string | non | Only return notifications about this Clarity process. |
| batchId | string | non | Only return live members of this notification batch. |
| automation_id | string | non | Only include notifications about this automation: notifications from runs in this automation (or, with no run, for its agents), notifications for its queues, connection_broken notifications for connections its agents use, and login_broken notifications for logins its agents sign in with. |
| sort | enum: "recency" | "importance" | non | importance orders by type importance then severity (only valid together with batchId); default recency. |
| limit | integer | non | Number of notifications per page (1-100, default 30). |
| cursor | string | non | Opaque cursor from the previous page's nextCursor. Omit for the first page. |
getNotificationFeed
Get Notification Feed
List the notification feed for the authenticated user's current team, most recent activity first. Each item is either an individual notification or a notification batch (a per-agent group of job_issue/eval_issue/job_done/schedule_issue notifications). Filter with type, unread, and either severity (exact match) or minSeverity (threshold; the two are mutually exclusive); paginate with limit/cursor. Either severity filter also narrows a surfaced batch's counts to its qualifying members, and hides a batch with no qualifying live member. The feed is eventually consistent — a batch's counts can lag a concurrent write by one page fetch. Requires the Notification Center feature; returns 404 when it is not enabled for the team.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| team_id | string | non | Duvo team UUID to operate on. API keys are pinned to a single team — omit this (it falls back to the key's team) or pass that same team; a different team is rejected. OAuth callers, who can span multiple teams, should pass the target team here. |
| type | enum: "connection_broken" | "login_broken" | "case_failed" | "critical_case_issue" | "case_issue" | "critical_eval_issue" | "eval_issue" | "job_issue" … | non | Only return individual notifications of this type and batches with at least one live member of it. |
| unread | enum: "true" | "false" | non | If true, only return unread individual notifications and batches with at least one unread live member. |
| severity | enum: "info" | "warning" | "critical" | "success" | non | Only return individual notifications with exactly this severity, and batches with at least one live member of it. A batch's counts then describe only those members. Mutually exclusive with minSeverity. One of: info, warning, critical, success. |
| minSeverity | enum: "info" | "warning" | "critical" | "success" | non | Only return individual notifications at or above this urgency, and batches with at least one live member at or above it. A batch's counts and worst severity then describe only its members at or above the threshold. Least to most urgent: success < info < warning < critical. Mutually exclusive with s… |
| agents | string | non | When 'mine', only return notifications for agents the authenticated user created. connection_broken notifications are always returned regardless, because they are not about an agent: a broken connection is only notified to the people who can act on it or escalate it, so filtering by agent authorshi… |
| automation_id | string | non | Only include notifications about this automation: notifications from runs in this automation (or, with no run, for its agents), notifications for its queues, connection_broken notifications for connections its agents use, and login_broken notifications for logins its agents sign in with. |
| limit | integer | non | |
| cursor | string | non |
getNotificationBatch
Get Notification Batch
Get a single notification batch by id for the authenticated user, with per-type live-member counts, unread count, and worst severity. Serves cold deep links and sidebar retention for batches the caller can no longer see in the feed. Counts every live member by default; the optional type/severity/minSeverity filters narrow them to matching members only, exactly as the feed narrows a batch row it returns under the same filters. Requires the Notification Center feature; returns 404 when it is not enabled for the team, the batch does not exist, it belongs to another recipient/team, it is not about the automation named by automation_id, or no live member matches the given filters.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| id | string | oui | The notification batch's unique identifier |
| team_id | string | non | Duvo team UUID to operate on. API keys are pinned to a single team — omit this (it falls back to the key's team) or pass that same team; a different team is rejected. OAuth callers, who can span multiple teams, should pass the target team here. |
| type | enum: "connection_broken" | "login_broken" | "case_failed" | "critical_case_issue" | "case_issue" | "critical_eval_issue" | "eval_issue" | "job_issue" … | non | Count only live members of this type. Omit to count every live member. |
| severity | enum: "info" | "warning" | "critical" | "success" | non | Count only live members with exactly this severity. Mutually exclusive with minSeverity. One of: info, warning, critical, success. |
| minSeverity | enum: "info" | "warning" | "critical" | "success" | non | Count only live members at or above this urgency. Least to most urgent: success < info < warning < critical. Mutually exclusive with severity. |
| agents | string | non | When 'mine', 404 unless the batch's agent is one the authenticated user created. Pass it alongside the feed's My agents filter so a retained batch cannot come back narrowed on type and severity but not on ownership. |
| automation_id | string | non | Only include notifications about this automation: notifications from runs in this automation (or, with no run, for its agents), notifications for its queues, connection_broken notifications for connections its agents use, and login_broken notifications for logins its agents sign in with. |
markNotificationBatchRead
Mark Notification Batch Read
Mark every unread live member of a notification batch as read for the authenticated user. Pass `types` to narrow the mark-read to those member types, and `severity` (exact) or `minSeverity` (threshold, mutually exclusive with `severity`) to narrow it by urgency — e.g. the page's active filters; omit them to mark every live member. Narrowing matters when the batch card was rendered under a filter: the rows marked read should be the rows the card counted. Pass `openedFrom` to record which channel the reader came through, on every member this call marks read. Pass `automation_id` to mark only the members about that automation, the ones its Notifications tab lists; a batch with none of them returns 404. Returns the count of members that were updated. Requires the Notification Center feature; returns 404 when it is not enabled for the team or the batch does not exist or belongs to another recipient/team.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| id | string | oui | The notification batch's unique identifier |
| team_id | string | non | Duvo team UUID to operate on. API keys are pinned to a single team — omit this (it falls back to the key's team) or pass that same team; a different team is rejected. OAuth callers, who can span multiple teams, should pass the target team here. |
| automation_id | string | non | Only include notifications about this automation: notifications from runs in this automation (or, with no run, for its agents), notifications for its queues, connection_broken notifications for connections its agents use, and login_broken notifications for logins its agents sign in with. |
| types | array<enum: "connection_broken" | "login_broken" | "case_failed" | "critical_case_issue" | "case_issue" | "critical_eval_issue" | "eval_issue" | "job_issue" …> | non | |
| severity | enum: "info" | "warning" | "critical" | "success" | non | |
| minSeverity | enum: "info" | "warning" | "critical" | "success" | non | |
| openedFrom | enum: "in_app" | "email" | "slack" | "teams" | non |
getUnreadNotificationCount
Get Unread Notification Count
Get the unread notification count for the authenticated user's current team, or only for one automation's notifications when automation_id is set. Each notification batch with unread members counts as 1, regardless of its member count. Requires the Notification Center feature; returns 404 when it is not enabled for the team.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| team_id | string | non | Duvo team UUID to operate on. API keys are pinned to a single team — omit this (it falls back to the key's team) or pass that same team; a different team is rejected. OAuth callers, who can span multiple teams, should pass the target team here. |
| automation_id | string | non | Only include notifications about this automation: notifications from runs in this automation (or, with no run, for its agents), notifications for its queues, connection_broken notifications for connections its agents use, and login_broken notifications for logins its agents sign in with. |
getNotificationCounts
Get Notification Counts
Per-type notification counts for the authenticated user's current team. Narrow with `unread`, `important`, and with either `severity` (counts only that exact severity) or `minSeverity` (counts that urgency and above) — the two are mutually exclusive and a request carrying both is rejected with 400. Pass the same filters the feed is showing, so the counts describe the list the reader would land on. Requires the Notification Center feature; returns 404 when it is not enabled for the team.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| team_id | string | non | Duvo team UUID to operate on. API keys are pinned to a single team — omit this (it falls back to the key's team) or pass that same team; a different team is rejected. OAuth callers, who can span multiple teams, should pass the target team here. |
| unread | enum: "true" | "false" | non | If true, only count unread notifications. |
| severity | enum: "info" | "warning" | "critical" | "success" | non | Only count notifications with exactly this severity, so the counts match a feed filtered the same way. Mutually exclusive with minSeverity. |
| minSeverity | enum: "info" | "warning" | "critical" | "success" | non | Only count notifications at or above this urgency, so the counts match a feed filtered the same way. Least to most urgent: success < info < warning < critical. Mutually exclusive with severity. |
| important | enum: "true" | "false" | non | If true, only count notifications pinned to Important for you: unresolved, undismissed connection_broken rows you can reconnect yourself. Use it to size the sidebar alert without paging the list. |
| include | string | non | Comma-separated notification types to count that a client released before them would not parse. Each named type is then sent, zero included; otherwise it is left out. Accepted: access_withdrawn, personal_setup_turned_off. |
| agents | string | non | When 'mine', only count notifications for agents the authenticated user created (plus connection_broken, which is always counted), so the counts match a feed filtered the same way. |
| automation_id | string | non | Only include notifications about this automation: notifications from runs in this automation (or, with no run, for its agents), notifications for its queues, connection_broken notifications for connections its agents use, and login_broken notifications for logins its agents sign in with. |
markAllNotificationsRead
Mark All Notifications Read
Mark all notifications as read for the authenticated user's current team. Returns the count of notifications that were updated. Requires the Notification Center feature; returns 404 when it is not enabled for the team.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| team_id | string | non | Duvo team UUID to operate on. API keys are pinned to a single team — omit this (it falls back to the key's team) or pass that same team; a different team is rejected. OAuth callers, who can span multiple teams, should pass the target team here. |
deleteReadNotifications
Delete Read Notifications
Soft-delete all read notifications for the authenticated user's current team. Returns the count of notifications that were deleted. Destructive — only call on explicit user request. Requires the Notification Center feature; returns 404 when it is not enabled for the team.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| team_id | string | non | Duvo team UUID to operate on. API keys are pinned to a single team — omit this (it falls back to the key's team) or pass that same team; a different team is rejected. OAuth callers, who can span multiple teams, should pass the target team here. |
deleteAllNotifications
Delete All Notifications
Soft-delete all notifications for the authenticated user's current team, read or unread. Returns the count of notifications that were deleted. Destructive — only call on explicit user request, never bulk-delete unprompted. Requires the Notification Center feature; returns 404 when it is not enabled for the team.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| team_id | string | non | Duvo team UUID to operate on. API keys are pinned to a single team — omit this (it falls back to the key's team) or pass that same team; a different team is rejected. OAuth callers, who can span multiple teams, should pass the target team here. |
listTeamMembers
List Team Members
List members of a team. The authenticated session or API key must be scoped to the requested team.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| team_id | string | non | Duvo team UUID to operate on. API keys are pinned to a single team — omit this (it falls back to the key's team) or pass that same team; a different team is rejected. OAuth callers, who can span multiple teams, should pass the target team here. |
| limit | integer | non | Number of members per page (1-100, default 50) |
| offset | integer | non | Number of members to skip |
| search | string | non | Optional case-insensitive name or email search |
updateTeamMemberRole
Update Team Member Role
Update an existing team member's role. Requires the Manager role or above; only an Owner may grant or remove the Owner role, and the last remaining Owner cannot be demoted. A member whose Owner role is inherited from the organization cannot be changed here.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| memberId | string | oui | Member (user) ID |
| team_id | string | non | Duvo team UUID to operate on. API keys are pinned to a single team — omit this (it falls back to the key's team) or pass that same team; a different team is rejected. OAuth callers, who can span multiple teams, should pass the target team here. |
| role | string | oui |
removeTeamMember
Remove Team Member
Remove a member from a team. Removing another member requires the `team.member.remove` permission (Superadmin and above), and below Superadmin only reaches members whose role is lower than the caller's; any member may remove themselves (leaving the team). The last remaining Owner cannot be removed, and a member whose Owner role is inherited from the organization can only leave voluntarily.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| memberId | string | oui | Member (user) ID |
| team_id | string | non | Duvo team UUID to operate on. API keys are pinned to a single team — omit this (it falls back to the key's team) or pass that same team; a different team is rejected. OAuth callers, who can span multiple teams, should pass the target team here. |
listTeamInvites
List Team Invites
List a team's pending invitations — everyone invited who has not yet accepted or declined. Pass `processId` to list the pending invitations for a single Clarity process instead.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| team_id | string | non | Duvo team UUID to operate on. API keys are pinned to a single team — omit this (it falls back to the key's team) or pass that same team; a different team is rejected. OAuth callers, who can span multiple teams, should pass the target team here. |
| processId | string | non | List the pending invitations for this Clarity process instead of the team's own invitations. Requires the process creator or a team admin. |
listCredentials
List credentials for user and team
List browser-login credentials visible to the caller for the current team — team-shared (user_id IS NULL) plus the caller's own personal logins. Optionally filter by `domain`. Passwords and OTP secrets are never returned; only metadata flags indicating whether they are set.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| userId | string | oui | |
| team_id | string | non | Duvo team UUID to operate on. API keys are pinned to a single team — omit this (it falls back to the key's team) or pass that same team; a different team is rejected. OAuth callers, who can span multiple teams, should pass the target team here. |
| domain | string | non |
createCredential
Create credential
Create a login. At least one of `password` or `otp_secret` must be provided. Personal by default; pass `shared: true` to create a team-shared login (requires lead builder role).
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| userId | string | oui | |
| team_id | string | non | Duvo team UUID to operate on. API keys are pinned to a single team — omit this (it falls back to the key's team) or pass that same team; a different team is rejected. OAuth callers, who can span multiple teams, should pass the target team here. |
| domain | string | oui | |
| username | string | null | non | |
| password | string | null | non | |
| otp_secret | string | null | non | |
| shared | boolean | non |
getCredential
Get credential by id
Get a login by id. Returns the encrypted password/otp_secret blobs — only the owner or team members can access it.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| userId | string | oui | |
| id | string | oui | |
| team_id | string | non | Duvo team UUID to operate on. API keys are pinned to a single team — omit this (it falls back to the key's team) or pass that same team; a different team is rejected. OAuth callers, who can span multiple teams, should pass the target team here. |
updateCredential
Update credential by id
Update a login by id. At least one of password or otp_secret must remain set after the update. Editing a team-shared login or toggling sharing requires lead builder role.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| userId | string | oui | |
| id | string | oui | |
| team_id | string | non | Duvo team UUID to operate on. API keys are pinned to a single team — omit this (it falls back to the key's team) or pass that same team; a different team is rejected. OAuth callers, who can span multiple teams, should pass the target team here. |
| domain | string | non | |
| username | string | null | non | |
| password | string | null | non | |
| otp_secret | string | null | non | |
| shared | boolean | non |
deleteCredential
Delete credential by id
Delete a login by id. Deleting a team-shared login requires lead builder role.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| userId | string | oui | |
| id | string | oui | |
| team_id | string | non | Duvo team UUID to operate on. API keys are pinned to a single team — omit this (it falls back to the key's team) or pass that same team; a different team is rejected. OAuth callers, who can span multiple teams, should pass the target team here. |
listActiveClarityExports
List Active Clarity Exports
List active (queued or running) Clarity export jobs for the current user
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| team_id | string | non | Duvo team UUID to operate on. API keys are pinned to a single team — omit this (it falls back to the key's team) or pass that same team; a different team is rejected. OAuth callers, who can span multiple teams, should pass the target team here. |
startClarityExport
Start Clarity Export
Start a Clarity → SAP Signavio export job
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| team_id | string | non | Duvo team UUID to operate on. API keys are pinned to a single team — omit this (it falls back to the key's team) or pass that same team; a different team is rejected. OAuth callers, who can span multiple teams, should pass the target team here. |
| processId | string | oui | |
| connectionInstanceId | string | oui | |
| bpmnXml | string | oui | |
| processOwnerRef | string | non | |
| processApproverRef | string | non |
getClarityTeamSettings
Get Clarity Team Settings
Get Clarity team settings
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| team_id | string | non | Duvo team UUID to operate on. API keys are pinned to a single team — omit this (it falls back to the key's team) or pass that same team; a different team is rejected. OAuth callers, who can span multiple teams, should pass the target team here. |
updateClarityTeamSettings
Update Clarity Team Settings
Update Clarity team settings
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| team_id | string | non | Duvo team UUID to operate on. API keys are pinned to a single team — omit this (it falls back to the key's team) or pass that same team; a different team is rejected. OAuth callers, who can span multiple teams, should pass the target team here. |
| teamSize | integer | non | |
| averageHourlyRate | number | non | |
| emailReportsEnabled | boolean | non | |
| emailReportIncludeSummary | boolean | non | |
| emailReportIncludeCaptures | boolean | non | |
| language | enum: "cs" | "de" | "de-CH" | "en" | "en-GB" | "es" | "es-MX" | "fr" … | non | |
| mapLanguage | enum: "cs" | "de" | "de-CH" | "en" | "en-GB" | "es" | "es-MX" | "fr" … | non | |
| showMissingInfo | boolean | non | |
| showFieldsAndActions | boolean | non | |
| companyName | string | null | non | |
| industry | string | null | non | |
| annualRevenue | number | null | non |
getClarityPortfolioIntelligence
Get Clarity Portfolio Intelligence
Get portfolio intelligence for the current team
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| team_id | string | non | Duvo team UUID to operate on. API keys are pinned to a single team — omit this (it falls back to the key's team) or pass that same team; a different team is rejected. OAuth callers, who can span multiple teams, should pass the target team here. |
generateClarityPortfolioIntelligence
Generate Clarity Portfolio Intelligence
Generate portfolio intelligence from all completed clarity processes. Returns 202 Accepted immediately and processes in background.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| team_id | string | non | Duvo team UUID to operate on. API keys are pinned to a single team — omit this (it falls back to the key's team) or pass that same team; a different team is rejected. OAuth callers, who can span multiple teams, should pass the target team here. |
listClarityTeamInterviews
List Clarity Team Interviews
List team-level Clarity interviews
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| team_id | string | non | Duvo team UUID to operate on. API keys are pinned to a single team — omit this (it falls back to the key's team) or pass that same team; a different team is rejected. OAuth callers, who can span multiple teams, should pass the target team here. |
| limit | integer | non | Number of interviews per page (1-100, default 50) |
| offset | integer | non | Number of interviews to skip |
deleteClarityTeamInterview
Delete Clarity Team Interview
Delete a team-level Clarity interview
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| interviewId | string | oui | The team interview ID |
| team_id | string | non | Duvo team UUID to operate on. API keys are pinned to a single team — omit this (it falls back to the key's team) or pass that same team; a different team is rejected. OAuth callers, who can span multiple teams, should pass the target team here. |
createClarityTeamDocumentUploadUrl
Create Clarity Team Document Upload Url
Create a signed URL for uploading a PDF, Word (.docx), TXT, Markdown, or BPMN document as a team-level Clarity capture
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| team_id | string | non | Duvo team UUID to operate on. API keys are pinned to a single team — omit this (it falls back to the key's team) or pass that same team; a different team is rejected. OAuth callers, who can span multiple teams, should pass the target team here. |
| fileName | string | oui | Name of the document file |
| contentType | enum: "application/pdf" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "text/plain" | "text/markdown" | "application/xml" | oui | MIME type of the document |
completeClarityTeamDocumentUpload
Complete Clarity Team Document Upload
Complete a team document capture after uploading to GCS; extracts text and stores it as a transcript so it feeds Process Landscape generation
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| interviewId | string | oui | The team interview ID |
| team_id | string | non | Duvo team UUID to operate on. API keys are pinned to a single team — omit this (it falls back to the key's team) or pass that same team; a different team is rejected. OAuth callers, who can span multiple teams, should pass the target team here. |
| fileName | string | oui | Name of the uploaded document file |
movePulseDashboard
Move Pulse Dashboard
Move a Pulse dashboard from the team in the URL to another team, keeping only its latest revision (chat history and older revisions are deleted). The caller must be a Manager or above on both teams. Pass dryRun=true to preview which Connections reconnect vs drop without applying changes.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| artifactId | string | oui | |
| team_id | string | non | Duvo team UUID to operate on. API keys are pinned to a single team — omit this (it falls back to the key's team) or pass that same team; a different team is rejected. OAuth callers, who can span multiple teams, should pass the target team here. |
| dryRun | boolean | string | string | non | When true, only previews the move: reports which Connections would reconnect vs drop without changing anything. |
| targetTeamId | string | oui | ID of the destination team the dashboard moves to. |
Compatibilité clients
Selon les transports que chaque client déclare accepter dans sa documentation officielle ; ce n’est pas un essai réel dans le client.
| Client | Transports documentés | Ce serveur | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepté | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepté | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport accepté | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepté | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepté | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepté | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepté | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepté | doc |
Configs prêtes à copier
Adresse distante utilisée : https://api.duvo.ai/v1/mcp. Formats repris de la documentation de chaque client.
claude mcp add --transport http duvo https://api.duvo.ai/v1/mcpCustomize > Connectors > + Add > Add custom connector ; Name : duvo ; URL : https://api.duvo.ai/v1/mcpchatgpt.com/plugins > + > Add custom MCP server ; Name : duvo ; Server URL : https://api.duvo.ai/v1/mcp ; Create as a plugin{
"mcpServers": {
"duvo": {
"url": "https://api.duvo.ai/v1/mcp"
}
}
}{
"mcpServers": {
"duvo": {
"type": "http",
"url": "https://api.duvo.ai/v1/mcp",
"tools": ["*"]
}
}
}{
"mcpServers": {
"duvo": {
"url": "https://api.duvo.ai/v1/mcp"
}
}
}{
"mcpServers": {
"duvo": {
"httpUrl": "https://api.duvo.ai/v1/mcp"
}
}
}[mcp_servers.duvo]
url = "https://api.duvo.ai/v1/mcp"Citer cette source
Vous rédigez un article ou un comparatif ? Cette fiche distingue les informations du registre et nos mesures. Citez le lien permanent et la date du test ; un résultat OK ne constitue pas un audit de sécurité ni une garantie de disponibilité.
Duvo MCP · L’Atlas · Test du
[Duvo MCP — L’Atlas](https://latlas.dev/mcp/io.github.duvoai/duvo)Source : Registre officiel MCP · relevé le 29 nov. 2026. L’Atlas n’ajoute aucune donnée qui ne vienne de cette source ou de ses propres tests.