v1

latestOpenAPI 3.1.02026-07-175793186.0 KB
sessions

Export session MLflow traces

Write full MLflow trace JSON/JSONL artifacts and a distilled GEPA evidence bundle.

post/api/v1/sessions/{session_id}/trace-export

Path parameters

session_idstring required

Identifier of the session whose traces to export.

Identifier of the session whose traces to export.

Request body

format'json' | 'jsonl' | 'both'

Trace artifact format to write.

mlflow_session_idstring nullable

Optional MLflow trace session id hint. The server validates the hint against authorized runtime session ids for the resolved durable session before export.

Response

Successful Response

okboolean

Whether trace export completed.

session_idstring required

Durable session identifier.

trace_countinteger required

Number of MLflow traces exported.

json_pathstring nullable

Path to the full JSON trace artifact.

jsonl_pathstring nullable

Path to the full JSONL trace artifact.

distilled_bundle_pathstring nullable

Path to the distilled GEPA evidence bundle.

skipped_trace_idsstring[]

Trace identifiers that could not be resolved/exported.

errorsstring[]

Non-fatal export errors.

summaryobject

Distilled trace export summary.