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[]

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

export_method: Optional[]

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

include_archived: Optional[]

If true, include archived evaluation items in the export.

Returns
filename: str

The name of the exported file

content: Optional[str]

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: ...
class EvaluationItemExport: ...

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).

Literal["json", "jsonl", "csv"]
Literal["signed_url", "direct"]
class TaskError: ...