Skip to main content
Runs are individual API Performance eval results. Use runs commands to inspect recent results and debug specific failures. Run responses include a source object when the run belongs to a configured API Performance source. The source.type identifies the surface Lightsage evaluated, such as rest_api, python_sdk, node_sdk, or cli. Source metadata is limited to public setup fields, such as package names or install commands. Secret environment variable values are never returned.

Commands

List recent runs

Filter by time window:
Example response:

Retrieve a run

The retrieve response includes run detail, prompt text, model output, execution logs, tool calls, and raw debugging fields when available.

Diagnose failures

Diagnose recent runs and return structured failure patterns:
Include example failed runs:
Useful flags: