Skip to main content
GET
The test cases a CI run executes are the dataset’s own questions array - there is no separate test-case endpoint. Fetch the dataset, iterate questions, run your agent on each main_question.query, and submit each answer with the case’s array position as questionIndex. This is the same endpoint as Get Dataset; this page covers the CI angle.

Authentication

string
required
Project API key.

Path Parameters

string
required
Dataset _id.

Using the response in CI

For each element of questions (0-based index i):
  • main_question.query is the input to pose to your agent.
  • Submit the answer with questionIndex: i (and runNumber 1 through numberOfRequests when repeating cases for consistency).
  • main_question.splits, when present, tags the case’s named subsets - a run created with "split": "smoke" should execute only cases tagged "smoke", keeping their original indexes.
  • expectedResults, expectedTrajectory, and the other grading fields are read server-side by the judge and scorers; your harness doesn’t need them (though expectedResults is useful for local debugging).

Errors