List independently editable scenarios in a Test draft

GET/v1/tests/{testPlanId}/scenarios

How to call this endpoint

Every ACP API request uses bearer authentication. The examples here show the actual request path, auth header, and body shape that the platform expects.

Path, query, and header parameters

These parameters control which ACP object the endpoint acts on and how the request is processed.

Path parameters
NameLocationTypeRequiredDescription
testPlanIdpathstringYes
Query parameters
None.

Body schema

This endpoint does not require a request body.

None.

What the API returns

Each response code below includes the documented payload shape for the ACP API.

200Ordered Test scenariosapplication/json
FieldTypeRequiredDescription
objectlistYes
dataobject[]Yes
data[].idstringYesUnique identifier.
data[].namestringYesHuman-readable name.
data[].descriptionstringYesHuman-readable description.
data[].kindcommand | contract | integration | browser | agent | security | customYes
data[].commandstringYes
data[].workingDirectorystringYes
data[].timeoutMsintegerYes
data[].retriesintegerYes
data[].envobjectYes
data[].secretRefsstring[]Yes
data[].requestobjectYesKind-specific structured request. Secrets must be referenced through `secretRefs`.
data[].assertionsobject[]Yes
data[].agentIdstringYesAgent ID.
data[].enabledbooleanYes
data[].tagsstring[]Yes
scenariosobject[]Yes
scenarios[].idstringYesUnique identifier.
scenarios[].namestringYesHuman-readable name.
scenarios[].descriptionstringYesHuman-readable description.
scenarios[].kindcommand | contract | integration | browser | agent | security | customYes
scenarios[].commandstringYes
scenarios[].workingDirectorystringYes
scenarios[].timeoutMsintegerYes
scenarios[].retriesintegerYes
scenarios[].envobjectYes
scenarios[].secretRefsstring[]Yes
scenarios[].requestobjectYesKind-specific structured request. Secrets must be referenced through `secretRefs`.
scenarios[].assertionsobject[]Yes
scenarios[].agentIdstringYesAgent ID.
scenarios[].enabledbooleanYes
scenarios[].tagsstring[]Yes
updatedAtstringNoISO 8601 timestamp.
List independently editable scenarios in a Test draft
Loading...
Response 200
Loading...
See the ACP quickstart and SDK flow