Dust Conversations API

Conversations

GitHub OpenAPI

Operations 14

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /api/v1/w/{wId}/assistant/conversations/{cId}/cancel Cancel message generation in a conversation · Cancel message generation in a conversation #
Ask an LLM
“How do I stop an agent from generating more messages in a conversation?”
“Can I cancel several messages at once by their IDs?”
Tell an agent destructive · confirm first
Cancel message generation for {messageIds} in conversation {cId} of workspace {wId}.
Stop the agent from continuing to generate in conversation {cId} in workspace {wId}.
GET /api/v1/w/{wId}/assistant/conversations/{cId}/consumption Get a conversation's credit consumption · Get conversation consumption #
Ask an LLM
“How many credits did a conversation actually cost?”
“Which agent work and tool use made up a conversation's bill?”
Tell an agent
Show the credit consumption for conversation {cId} in workspace {wId}.
Break down the billed credits for conversation {cId} in workspace {wId}.
POST /api/v1/w/{wId}/assistant/conversations/{cId}/content_fragments Create a content fragment in a conversation · Create a content fragment #
Ask an LLM
“How do I save a snippet of text as a reusable content fragment in a conversation?”
“Can I attach a file to a conversation as a content fragment?”
Tell an agent
Create a content fragment titled {title} in conversation {cId} of workspace {wId}.
Save {content} as a {contentType} content fragment {title} in conversation {cId}, workspace {wId}.
GET /api/v1/w/{wId}/assistant/conversations/{cId}/events Stream a conversation's events · Get the events for a conversation #
Ask an LLM
“Can I watch a conversation's events in real time with Server-Sent Events?”
“What does the conversation event stream look like for a workspace?”
Tell an agent
Stream the events for conversation {cId} in workspace {wId}.
Start watching conversation {cId} events from event {lastEventId} in workspace {wId}.
GET /api/v1/w/{wId}/assistant/conversations/{cId}/files/{rel} Download a file from a conversation's file system · Download a conversation-scoped file by path #
Ask an LLM
“How do I download a file generated by an agent in a conversation?”
“Can I fetch a conversation-scoped file by its path?”
Tell an agent
Download the file at {rel} in conversation {cId} of workspace {wId}.
Fetch conversation {cId} file {rel} from workspace {wId}.
GET /api/v1/w/{wId}/assistant/conversations/{cId} Get a conversation's messages · Get a conversation #
Ask an LLM
“How do I read all the messages in a conversation?”
“Can I page through a conversation's messages with a cursor?”
Tell an agent
Get conversation {cId} in workspace {wId}.
Show the last {limit} messages of conversation {cId} in workspace {wId}.
PATCH /api/v1/w/{wId}/assistant/conversations/{cId} Rename or mark a conversation read · Update a conversation #
Ask an LLM
“How do I rename a conversation?”
“Can I mark a conversation as read or unread?”
Tell an agent
Rename conversation {cId} in workspace {wId}.
Mark conversation {cId} as read in workspace {wId}.
POST /api/v1/w/{wId}/assistant/conversations/{cId}/messages/{mId}/answer-question Answer a question asked by an agent · Answer a user question in a conversation message #
Ask an LLM
“How do I answer a question an agent asked in a message?”
“Can I submit a user answer to an agent's question?”
Tell an agent
Answer the question in message {mId} of conversation {cId} in workspace {wId} with {answer}.
Submit user answer {answer} to agent question {actionId} in message {mId}, conversation {cId}, workspace {wId}.
POST /api/v1/w/{wId}/assistant/conversations/{cId}/messages/{mId}/edit Edit an existing message · Edit an existing message in a conversation #
Ask an LLM
“How do I edit a message an agent already wrote?”
“Can I change the content of an existing message?”
Tell an agent
Edit message {mId} in conversation {cId} of workspace {wId} to {content}.
Replace the content of message {mId} with {content} and mentions {mentions}.
GET /api/v1/w/{wId}/assistant/conversations/{cId}/messages/{mId}/events Stream events for one message in a conversation · Get events for a message #
Ask an LLM
“How do I stream the token events for a single assistant message?”
“Can I reconnect to a message event stream from a given event ID?”
Tell an agent
Stream events for message {mId} in conversation {cId} in workspace {wId}.
Resume events for message {mId}, conversation {cId}, workspace {wId} from event {lastEventId}.
POST /api/v1/w/{wId}/assistant/conversations/{cId}/messages/{mId}/validate-action Approve or reject an action in a message · Validate an action in a conversation message #
Ask an LLM
“How do I approve an action an agent took in a message?”
“Can I reject an action in a conversation message?”
Tell an agent
Approve action {actionId} in message {mId} of conversation {cId} in workspace {wId}.
Reject action {actionId} in message {mId}, conversation {cId}, workspace {wId}.
POST /api/v1/w/{wId}/assistant/conversations/{cId}/messages Send a message to a conversation · Create a message #
Ask an LLM
“How do I send a new message to an assistant conversation?”
“Can I mention agents in a message I'm sending?”
Tell an agent
Send {content} mentioning {mentions} to conversation {cId} in workspace {wId}.
Add a message to conversation {cId} in workspace {wId} using model {modelSelection}.
POST /api/v1/w/{wId}/assistant/conversations Start a new conversation · Create a new conversation #
Ask an LLM
“How do I start a brand-new assistant conversation?”
“Can I create a conversation that skips tools validation?”
Tell an agent
Start a conversation in workspace {wId} with the message {message}.
Create a conversation titled {title} in workspace {wId} with message {message}.
POST /api/v1/w/{wId}/files Create a file upload URL · Create a file upload URL #
Ask an LLM
“How do I get a URL to upload a file to a workspace?”
“What metadata do I need to upload a file for a conversation?”
Tell an agent
Create a file upload URL for {fileName} of type {contentType} in workspace {wId} for use case {useCase}.
Upload {fileName} to workspace {wId} with use case {useCase} and metadata {useCaseMetadata}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/dust-tt:dust-tt-conversations-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

dust-tt-conversations-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: DUST API Documentation Conversations API
  version: 1.0.2
  description: The OpenAPI specification for the Dust.tt API
  license:
    name: MIT
    url: https://opensource.org/licenses/MIT
servers:
- url: https://dust.tt
  description: Dust.tt API (us-central1)
- url: https://eu.dust.tt
  description: Dust.tt API (europe-west1)
tags:


# --- truncated at 32 KB (49 KB total) ---
# Full source: https://artifacts.apis.io/dust-tt/openapi/dust-tt-conversations-api-openapi.yml