Documentation Index
Fetch the complete documentation index at: https://docs.murmur.dev/llms.txt
Use this file to discover all available pages before exploring further.
Discards all queued follow-up messages for an agent without delivering them. Returns the number of entries cleared.
Equivalent to murmur queue clear in the CLI.
This does not affect the agent’s current turn. Use interrupt if you also want to stop the in-progress turn.
Parameters
| Name | Type | Required | Description |
|---|
slug | string | no | Agent task slug. Empty means self. Use an absolute path like /w/workspace/u/account/slug to target an agent outside your own path. |
workspace | string | no | Workspace name. Overrides the session default. |
Response
Returns a JSON object with the number of cleared entries.
| Field | Type | Description |
|---|
cleared | integer | Number of follow-up messages discarded. |
Examples
Clear own queue
Response:
Clear another agent’s queue
Response:
Errors
| Code | Meaning | What to do |
|---|
NOT_FOUND | No agent with that slug exists. | Check the slug. Use ls to see running agents. |
UNAUTHENTICATED | Identity token is missing or expired. | Check credentials. |