AI
Agents
Delete an object the agent created in a chat (session owner only)
Queues the product's own trash job for the object, as the caller, and returns its job id (read it with job wait; a dependent or a running pipeline refuses inside the job). Only objects the chat created (created=true); dataset, view, empty folder and dashboard. 409 when the object is already gone.
delete/agents/sessions/{session_id}/actions/{action_id}
Request
- Base URL: https://app.mammoth.io/api/v2
- URL: https://app.mammoth.io/api/v2/agents/sessions/{session_id}/actions/{action_id}
- Auth: one of:
- HTTP bearer
- API key in header X-API-KEY and API key in header X-API-SECRET and API key in header X-WORKSPACE-ID
Path parameters
session_idstring required
action_idinteger required
Response
Request accepted, processing continues off-line
Changes
No recorded changes to this operation across all 3 revisions of this API.