Testsets

Create Testset Revision From File

Changed on
post/testsets/revisions/{testset_revision_id}/upload

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/testsets/revisions/{testset_revision_id}/upload
  • Auth
    API key in header Authorization

Path parameters

testset_revision_idstring uuid required

Request body multipart/form-data

filestring binary required
file_type'csv' | 'json'
include_testcasesboolean nullable

Response

Successful Response

countinteger

1 if a revision was returned, 0 otherwise.

Changes