status: "archived" takes it out of the runs and keeps its runs as history.
Endpoint
Required scope
agents:write
Path parameters
Body
Every field ofPOST .../tests, all optional, plus:
Example request
curl
Response
200 OK
GET .../tests; the example trims it.
400 Bad Request
A malformedtestId, an unknown status, a field over its limit, or an unknown property.
404 Not Found
AGENT_NOT_FOUND when the agent belongs to another project of the company, UPSTREAM_ERROR (message AGENT_NOT_FOUND) when no agent has that id in the company. test_not_found when the test is not from this agent; route_not_found for a route of another agent.
401 Unauthorized
Missing, invalid, revoked, or expired token.403 Forbidden
The token does not have theagents:write scope.