latestOpenAPI 3.0.32026-08-227451,2751.8 MB
d0fc0114da66
AgentSession
Accept a test-authoring session (record that the user kept the authored test)
Flips a finished test_authoring session to accepted, recording that the user kept the authored test. A status write only — nothing is written to the test, its steps, or any branch — so it is safe on a session whose work is already saved. Granted only from completed or needs_attention, enforced inside the write transaction; every other status is a 409, including accepted itself, so a repeated call is rejected rather than silently succeeding. Session-level like merged (the cloud instance keeps its own status) and terminal: an accepted session cannot be resumed, accepted again, spawned on, or have its status rewritten through updateAgentSession.
post/agentSession/{id}/accept
Path parameters
idstring required
The ID of the agent session
Response
The agent session, now in the accepted status