Skip to main content

Download Project Data

Use API exports when you need reproducible analysis outside the Web UI.

Web UI

  1. Open the project.
  2. Review runs and jobs.
  3. Download available reports, logs, SUT artifacts, and result tables.

Placeholder: project-wide bundle download is expected to become the preferred UI path. Until then, use API exports for complete data.

API

Benchmark results:

curl -fsS "$METRUM_API_URL/v_benchmark_results?org_id=eq.$METRUM_ORG_ID&project_name=eq.$PROJECT_NAME&select=*" \
-H "X-Org-Id: $METRUM_ORG_ID" \
-H "Authorization: Bearer $METRUM_JWT_TOKEN" \
-H "Accept: text/csv" \
-o "benchmark-results-$PROJECT_NAME.csv"

Some deployments protect org-scoped result views behind current Web UI export routes or result-list RPCs. If direct view access returns an org-scope permission error even with the org_id filter and X-Org-Id header, use the Web UI export for that project or ask the operator to apply the current schema bundle.

metrumbench-llm details:

curl -fsS "$METRUM_API_URL/v_benchmark_results?org_id=eq.$METRUM_ORG_ID&project_name=eq.$PROJECT_NAME&select=job_id,tool_code" \
-H "X-Org-Id: $METRUM_ORG_ID" \
-H "Authorization: Bearer $METRUM_JWT_TOKEN" \
-o /tmp/metrum-benchmark-jobs.json

export METRUMBENCH_LLM_JOB_IDS="$(
jq -r '[.[] | select(.tool_code=="metrumbench-llm") | .job_id] | join(",")' \
/tmp/metrum-benchmark-jobs.json
)"

curl -fsS "$METRUM_API_URL/v_metrumbench_llm_outputs?job_id=in.($METRUMBENCH_LLM_JOB_IDS)&select=*" \
-H "Authorization: Bearer $METRUM_JWT_TOKEN" \
-H "Accept: text/csv" \
-o "metrumbench-llm-outputs-$PROJECT_NAME.csv"

KYAI scores:

curl -fsS "$METRUM_API_URL/v_kyai_results?select=*" \
-H "Authorization: Bearer $METRUM_JWT_TOKEN" \
-H "Accept: text/csv" \
-o "kyai-results.csv"

Multiple projects:

curl -fsS "$METRUM_API_URL/v_benchmark_results?org_id=eq.$METRUM_ORG_ID&project_name=in.(project-a,project-b,project-c)&select=*" \
-H "X-Org-Id: $METRUM_ORG_ID" \
-H "Authorization: Bearer $METRUM_JWT_TOKEN" \
-H "Accept: text/csv" \
-o "benchmark-results-project-set.csv"