The items to predict
GET /v1/suites/{suite_id}/items
The items of a suite, in a stable order, so you can learn what to predict without being told out of band. Each item carries an item_id, which you return verbatim in your predictions, and an input, which is everything needed to predict it. Answers are never included, for any suite. Page with cursor until next_cursor is null.
Credential. An API key (jean_live_…) or a dashboard session token.
curl --fail-with-body "https://api-833252724876.us-central1.run.app/v1/suites/suite%3Asmoke-v1/items" \
-H "Authorization: Bearer $JEAN_API_KEY"
Path
| Name | Type | Required | Notes |
|---|---|---|---|
suite_id | string | yes |
Query
| Name | Type | Required | Notes |
|---|---|---|---|
cursor | string or null | no | next_cursor from the previous page. |
limit | integer | no | Range: 1–1000. Default 500. |
Response · 200
{
"suite_id": "string",
"suite_version": "1",
"items": [
{
"item_id": "item-00",
"input": {
"prompt": "what is the answer for item-00?"
}
}
],
"n_items": 200,
"next_cursor": "500"
}
Errors
| Status | Meaning |
|---|---|
401 | Unauthenticated, invalid token or revoked key. |
403 | Forbidden, session required or org required. |
404 | No such resource in this org. |
422 | Validation failed. |
429 | Quota or rate limit exceeded; error.details says which, and when. |
500 | Internal error; quote error.request_id when reporting it. |
Every one carries the same envelope.