CrunchDAO runner API

The runner API from CrunchDAO — 9 operation(s) for runner.

Operations 9

PUT /v1/runner/runs/{runId}/error Report a run's trace. #
POST /v1/runner/runs/{runId}/traces Collect the traces. #
POST /v1/runner/runs/{runId}/trace #
POST /v1/runner/runs/{runId}/result Submit a run's result. #
POST /v1/runner/runs/{runId}/current #
GET /v1/runner/runs/{runId}/model Get a run's model file URLs. #
GET /v1/runner/runs/{runId}/data Get a run's data. #
GET /v1/runner/runs/{runId}/code Get a run's code. #
GET /v1/runner/ping Check connectivity. #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/crunchdao-runner-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

crunchdao-runner-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Tournament activity Runner API
  description: CrunchDAO Tournament Platform API Endpoints
  version: v2
servers:
- url: http://api.hub.crunchdao.com
  description: Generated server url
security: []
tags:
- name: runner
paths:
  /v1/runner/runs/{runId}/error:
    x-service-id: competition-service
    put:
      tags:
      - runner
      summary: Report a run's trace.
      operationId: reportRunnerError
      parameters:
      - name: runId
        in: path
        required: true
        style: simple
        explode: false
        schema:
          type: integer
          format: int64
      - name: X-Run-Token
        in: header
        required: true
        style: simple
        explode: false
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RunnerReportErrorForm'
        required: true
      responses:
        '200':
          description: OK
  /v1/runner/runs/{runId}/traces:
    x-service-id: competition-service
    post:
      tags:
      - runner
      summary: Collect the traces.
      operationId: collectRunnerTraces
      parameters:
      - name: runId
        in: path
        required: true
        style: simple
        explode: false
        schema:
          type: integer
          format: int64
      - name: X-Run-Token
        in: header
        required: true
        style: simple
        explode: false
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RunnerCollectTracesForm'
        required: true
      responses:
        '202':
          description: Accepted
  /v1/runner/runs/{runId}/trace:
    x-service-id: competition-service
    post:
      tags:
      - runner
      operationId: reportRunnerTrace
      parameters:
      - name: runId
        in: path
        required: true
        style: simple
        explode: false
        schema:
          type: integer
          format: int64
      - name: X-Run-Token
        in: header
        required: true
        style: simple
        explode: false
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LegacyRunnerReportTraceForm'
        required: true
      responses:
        '200':
          description: OK
      deprecated: true
  /v1/runner/runs/{runId}/result:
    x-service-id: competition-service
    post:
      tags:
      - runner
      summary: Submit a run's result.
      operationId: submitRunnerPrediction
      parameters:
      - name: runId
        in: path
        required: true
        style: simple
        explode: false
        schema:
          type: integer
          format: int64
      - name: X-Run-Token
        in: header
        required: true
        style: simple
        explode: false
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RunnerSubmitForm'
        required: true
      responses:
        '200':
          description: OK
  /v1/runner/runs/{runId}/current:
    x-service-id: competition-service
    post:
      tags:
      - runner
      operationId: reportRunnerCurrent
      parameters:
      - name: runId
        in: path
        required: true
        style: simple
        explode: false
        schema:
          type: integer
          format: int64
      requestBody:
        content:
          application/json:
            schema:
              type: object
        required: true
      responses:
        '200':
          description: OK
      deprecated: true
  /v1/runner/runs/{runId}/model:
    x-service-id: competition-service
    get:
      tags:
      - runner
      summary: Get a run's model file URLs.
      operationId: getRunnerModel
      parameters:
      - name: runId
        in: path
        required: true
        style: simple
        explode: false
        schema:
          type: integer
          format: int64
      - name: X-Run-Token
        in: header
        required: true
        style: simple
        explode: false
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                additionalProperties:
                  type: string
                  format: uri
  /v1/runner/runs/{runId}/data:
    x-service-id: competition-service
    get:
      tags:
      - runner
      summary: Get a run's data.
      operationId: showRunnerData
      parameters:
      - name: runId
        in: path
        required: true
        style: simple
        explode: false
        schema:
          type: integer
          format: int64
      - name: X-Run-Token
        in: header
        required: true
        style: simple
        explode: false
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DataRelease'
  /v1/runner/runs/{runId}/code:
    x-service-id: competition-service
    get:
      tags:
      - runner
      summary: Get a run's code.
      operationId: showRunnerCode
      parameters:
      - name: runId
        in: path
        required: true
        style: simple
        explode: false
        schema:
          type: integer
          format: int64
      - name: X-Run-Token
        in: header
        required: true
        style: simple
        explode: false
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                additionalProperties:
                  type: string
                  format: uri
  /v1/runner/ping:
    x-service-id: competition-service
    get:
      tags:
      - runner
      summary: Check connectivity.
      operationId: testRunnerPing
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: string
components:
  schemas:
    DataReleaseTargetResolution:
      type: string
      enum:
      - ALREADY
      - PENDING
      - RESOLVED
    JsonNode:
      type: object
    DataRelease:
      type: object
      properties:
        id:
          type: integer
          format: int64
        number:
          type: integer
          format: int64
        name:
          type: string
        custom:
          type: boolean
        sized:
          type: boolean
        hasSmallVariant:
          type: boolean
        hasLargeVariant:
          type: boolean
        embargo:
          type: integer
          format: int32
        numberOfFeatures:
          type: integer
          format: int32
        hash:
          type: string
        splitKeyType:
          $ref: '#/components/schemas/DataReleaseSplitKey'
        resolvable:
          type: boolean
        splits:
          type: array
          items:
            $ref: '#/components/schemas/DataReleaseSplit'
        targetResolution:
          type: object
          additionalProperties:
            $ref: '#/components/schemas/DataReleaseTargetResolution'
        createdAt:
          type: string
          format: date-time
        dataFiles:
          type: object
          additionalProperties:
            $ref: '#/components/schemas/DataFile'
    LegacyRunnerReportTraceForm:
      type: object
      properties:
        moon:
          type: string
        content:
          type: string
    DataReleaseSplit:
      type: object
      properties:
        key:
          type: object
          anyOf:
          - type: integer
            format: int64
          - type: string
          example: 1
        group:
          $ref: '#/components/schemas/DataReleaseSplitGroup'
        reduced:
          $ref: '#/components/schemas/DataReleaseSplitReduced'
    RunnerCollectTracesForm:
      type: object
      properties:
        spans:
          type: array
          items:
            $ref: '#/components/schemas/RunnerCollectTracesFormSpan'
        metrics:
          type: array
          items:
            $ref: '#/components/schemas/RunnerCollectTracesFormMetric'
      required:
      - metrics
      - spans
    RunnerSubmitForm:
      type: object
      properties:
        useInitialModel:
          type: boolean
        deterministic:
          type: boolean
        predictionFiles:
          type: object
          additionalProperties:
            type: string
            format: uuid
        modelFiles:
          type: object
          additionalProperties:
            type: string
            format: uuid
      required:
      - modelFiles
      - predictionFiles
    DataFile:
      type: object
      properties:
        name:
          type: string
        description:
          type: string
        url:
          type: string
        size:
          type: integer
          format: int64
        signed:
          type: boolean
        compressed:
          type: boolean
    RunnerCollectTracesFormSpan:
      type: object
      properties:
        id:
          type: integer
          format: int32
        parentId:
          type: integer
          format: int32
        description:
          type: string
        status:
          type: string
          enum:
          - STARTED
          - ENDED
          - FAILED
        startedAt:
          type: string
          format: date-time
        endedAt:
          type: string
          format: date-time
        error:
          type: string
        attributes:
          $ref: '#/components/schemas/JsonNode'
    RunnerReportErrorForm:
      type: object
      properties:
        trace:
          type: string
    DataReleaseSplitReduced:
      type: string
      enum:
      - X
      - XY
    RunnerCollectTracesFormMetric:
      type: object
      properties:
        timestamp:
          type: string
          format: date-time
        cpu:
          type: number
          format: float
        ram:
          type: integer
          format: int64
        disk:
          type: integer
          format: int64
        gpu:
          type: number
          format: float
        vram:
          type: integer
          format: int64
      required:
      - timestamp
    DataReleaseSplitGroup:
      type: string
      enum:
      - TRAIN
      - TEST
    DataReleaseSplitKey:
      type: string
      enum:
      - INTEGER
      - STRING
  securitySchemes:
    apiKey:
      type: apiKey
      name: apiKey
      in: query
      scheme: token
    accessToken:
      type: http
      in: header
      scheme: Bearer
externalDocs:
  description: docs.crunchdao.com
  url: https://docs.crunchdao.com