For AI agents and LLMs: a machine-readable index is available at llms.txt. A plain-Markdown version of any documentation page is available by appending .md to its URL.
Skip to main content
Chat TestingGet Test Scenarios
TestMu AI
StatusCommunityBlog
Chat Testing

Get Test Scenarios

Get generated test scenarios for a workflow. Pagination is optional and backwards compatible: with no `limit the full list is returned (legacy behaviour). When limit is provided the response data also carries total/limit/offset for the (optionally search`-filtered) list.

GET
/api/test-scenarios/{workflow_id}
Get Test Scenarios
curl --request GET \
--url "https://agent-testing.lambdatest.com/api/test-scenarios/{workflow_id}" \
--header "Authorization: Basic <encoded-value>"
{
"success": true,
"message": "<string>",
"data": {}
}

Authorizations

Authorizationstringheaderrequired

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

workflow_idstringrequired

Query Parameters

project_idstringrequired
limitinteger

Page size. Omit to return all scenarios.

offsetinteger

Number of scenarios to skip.

searchstring

Case-insensitive filter on title, description and persona.

ids_onlyboolean

Return only the ids of all matching scenarios (ignores limit/offset). Used for 'select all'.

Response

application/json

Successful Response

successbooleanrequired

Whether the operation was successful

messagestringrequired

Response message

dataobject

Response data

Get Test Scenarios
curl --request GET \
--url "https://agent-testing.lambdatest.com/api/test-scenarios/{workflow_id}" \
--header "Authorization: Basic <encoded-value>"
{
"success": true,
"message": "<string>",
"data": {}
}