Evaluation Items

EvaluationItemsResource

Methods

retrieve(, ) ->
get/v5/evaluation-items/{evaluation_item_id}

Get Evaluation Item

list() -> SyncCursorPage[]
get/v5/evaluation-items

List Evaluation Items

export() ->
post/v5/evaluation-items/export

Export Evaluation Items

Parameters
evaluation_id: str

The ID of the evaluation to export items from.

export_format: Optional[Literal["json", "jsonl", "csv"]]
(default: "csv")

The format of the exported evaluation items. json returns a single JSON array, while jsonl returns one JSON object per line.

"json"
"jsonl"
"csv"
export_method: Optional[Literal["signed_url", "direct"]]
(default: "direct")

The method for exporting evaluation items. signed_url returns a pre-signed URL, while direct returns the raw content.

"signed_url"
"direct"
include_archived: Optional[]

If true, include archived evaluation items in the export.

Returns
class EvaluationItemExportResponse:

Response model for exporting evaluation items. This class represents the response when users export evaluation items. It contains either a signed URL to download the exported data from object storage, or the actual content bytes when direct download is used (in environments where object storage is not configured).

filename: str

The name of the exported file

content: Optional[object]
(format: binary)

The raw file content as bytes, used when direct download is enabled

signed_url: Optional[str]

Pre-signed URL to download the file from object storage, if applicable

Request example
200Example

Domain types

class Component: ...
class Container: ...
class EvaluationItem: ...