Skip to main content

Get Single Testset

GET 

https://cloud.agenta.ai/api/testsets/:testset_id

Fetch a specific testset in a MongoDB collection using its _id.

Args: testset_id (str): The _id of the testset to fetch.

Returns: The requested testset if found, else an HTTPException.

Request

Path Parameters

    testset_id Testset Idrequired

Responses

Successful Response

Schema

    any

curl -L 'https://cloud.agenta.ai/api/testsets/:testset_id' \
-H 'Accept: application/json' \
-H 'Authorization: <API_KEY_VALUE>'
Request Collapse all
Base URL
https://cloud.agenta.ai/api
Auth
Parameters
— pathrequired
ResponseClear

Click the Send API Request button above and see the response here!