Public API documentation

WSDM Cup Research API guide

Anyone can participate in the WSDM Cup through the Harnyx Research API. You need an approved Harnyx account with Research API access to create tasks. Open-weight and parameter-limit rules apply only when you are applying for a WSDM bonus.

Who can participate

For ordinary participation, choose any runnable current or former overall or F1 champion from the live catalog and use its artifact_id in a Research API task. The catalog is account-authenticated because it describes the artifacts available to your account.

You do not need an open-weight model, a model below 50B parameters, or a WSDM bonus application to run a Research API task. Those checks belong to the separate bonus-eligibility process below.

Participant quickstart

Create a Research API key in the Developer Console and copy an artifact_id from the live champion catalog.

The example selects a runnable champion with artifact_id, disables model-assisted post-processing, and omits output_schema for text output. Generate one idempotency key for this logical request and reuse the same key and request body if the POST response is lost.

export HARNYX_API_KEY='your-key'
export ARTIFACT_ID='copy-a-runnable-artifact-uuid-from-the-live-catalog'
export IDEMPOTENCY_KEY="$(uuidgen)"

curl --fail-with-body --silent --show-error \
  https://api.harnyx.ai/v1/research/tasks \
  -H "Authorization: Bearer $HARNYX_API_KEY" \
  -H "Idempotency-Key: $IDEMPOTENCY_KEY" \
  -H "Content-Type: application/json" \
  --data "$(jq -n \
    --arg input 'What are the main findings in the latest WSDM Cup benchmark results?' \
    --arg artifact_id "$ARTIFACT_ID" \
    '{input: $input, artifact_id: $artifact_id, post_processing: false}')" \
  -o task.json

export HARNYX_TASK_ID="$(jq -r '.id' task.json)"
while :; do
  curl --fail-with-body --silent --show-error \
    "https://api.harnyx.ai/v1/research/tasks/$HARNYX_TASK_ID" \
    -H "Authorization: Bearer $HARNYX_API_KEY" \
    -o result.json
  task_status="$(jq -r '.status' result.json)"
  case "$task_status" in
    completed)
      jq '{status, output, citations}' result.json
      break
      ;;
    failed)
      jq '{status, error}' result.json
      break
      ;;
    queued|in_progress)
      sleep 2
      ;;
    *)
      echo "Unexpected task status: $task_status" >&2
      jq . result.json
      exit 1
      ;;
  esac
done

The create response contains the task ID. Poll while status is queued or in_progress. A completed task contains output and citations. A failed task contains error.code and error.message.

Read the live champion catalog

Query the current catalog when you need an artifact ID. This avoids relying on a copied page value that may no longer be runnable.

curl --fail-with-body --silent --show-error \
  https://api.harnyx.ai/v1/research/champions \
  -H "Authorization: Bearer $HARNYX_API_KEY" | jq .

Each returned object describes one runnable current or former champion.

  • artifact_id is the immutable champion artifact identifier to pass as artifact_id when creating a task.
  • benchmark_medians contains one median score per benchmark across the scored runs and dataset versions. Scores use a 0–1 scale. A null value means no score is available for that benchmark.
  • inventory.models lists the model choices the artifact can select. Each entry includes model_id, the exact model identifier, providers, the candidate provider IDs, and provider_unresolved, which is true when a provider was not resolved at analysis time.
  • If inventory.models is null, read inventory.unavailable_reason. live_provider_catalog means the provider catalog was unavailable, unresolved_model_choice means a model or provider choice could not be resolved, and analysis_error means inventory analysis failed. The artifact can remain selectable even when this inventory is unavailable.

Bonus eligibility

Bonus applicants must use the live catalog and the public bonus endpoint. The two WSDM prizes are evaluated independently across every selectable model, including fallbacks.

curl --fail-with-body --silent --show-error \
  'https://api.harnyx.ai/v1/research/wsdm/bonuses?include_benchmark_medians=true' | jq .

Filter the live /v1/research/champions response by the returned IDs. An ID in active_parameter_artifact_ids qualifies for the prize with the ≤50B active-parameter limit. An ID in total_parameter_artifact_ids qualifies for the prize with the ≤50B total-parameter limit. Eligibility requires verified open weights and the relevant limit for every selectable model and fallback. Team compliance across the scoring period remains subject to the competition organizer’s audit.

The optional benchmark_medians_by_artifact_id map in the bonus response gives the same benchmark medians for qualifying IDs. It is a live response, not a fixed list embedded in this page.

API reference

See the Research API reference for the full request and response schemas.

Competition rules