Agent panels and chat
Update a panel
Rename a panel or move it.
PATCH/v1/monitors/{monitor_id}/agent/panels/{panel_id}
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.
panel_id- The ID of the panel. See List panels.
Request body
title- A new title.
order- A new place in the list.
Response
200
id- The ID of the panel.
title- The panel's title.
kind- What the panel shows, such as a table or a chart.
recipe- How the agent computes the panel.
prompt- The chat message that made the panel, or
null. order- Its place in the list.
status- The state of the panel's latest computation.
error- Why the latest computation failed, or
null. version- Its latest content, or
nulluntil it is first computed.
Errors
| Status | Code | When |
|---|---|---|
400 | invalid_request | The title is blank. |
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, its agent or the panel is not in your key's project. |
409 | monitor_ended | The monitor has ended. What the agent found stays readable, but nothing can change. |
422 | invalid_request | A parameter or the body is not valid. error.param names it. |
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.