Agent panels and chat
Remove a source a chat added
Remove a source that a chat message added to the agent's plan. The agent's own sources stay.
DELETE/v1/monitors/{monitor_id}/agent/steps/{name}
Send your API key as Authorization: Bearer. See Authentication. How each option works: Monitors.
Path parameters
monitor_id- The ID of a monitor that has an agent.
name- The name of the source, as Get the agent shows it in
source_health.
Only a source that a chat message added can be removed. The agent's own sources stay.
Response
204The response has no body.
Errors
| Status | Code | When |
|---|---|---|
401 | unauthorized | The API key is missing or not valid. |
403 | forbidden | The API key cannot read monitors (a GET) or change them (the other methods). |
404 | not_found | The monitor or its agent is not in your key's project, or no source that a chat added has this name. |
409 | monitor_ended | The monitor has ended. What the agent found stays readable, but nothing can change. |
409 | job_in_progress | The agent is still working on the last request. Try again when it finishes. |
429 | rate_limited | Your key or account sent too many requests. Wait for the seconds in Retry-After, then try again. |
What each error means and what to do: Errors.