Skip to main content

Import Testset

POST 

/testsets/endpoint

Import JSON testset data from an endpoint and save it to MongoDB.

Args: endpoint (str): An endpoint URL to import data from. testset_name (str): the name of the testset if provided.

Returns: dict: The result of the import process.

Request

Body

    endpoint Endpoint (string)
    testset_name Testset Name (string)
    app_id App Id (string)

Responses

Successful Response

Schema

    id Id (string)required
    name Name (string)required
    created_at Created At (string)required
Loading...