Skip to content

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_idstring
The ID of a monitor that has an agent.
namestring
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

StatusCodeWhen
401unauthorizedThe API key is missing or not valid.
403forbiddenThe API key cannot read monitors (a GET) or change them (the other methods).
404not_foundThe monitor or its agent is not in your key's project, or no source that a chat added has this name.
409monitor_endedThe monitor has ended. What the agent found stays readable, but nothing can change.
409job_in_progressThe agent is still working on the last request. Try again when it finishes.
429rate_limitedYour 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.

Was this page helpful?