Oxen evaluations API

The evaluations API from Oxen — 2 operation(s) for evaluations.

Operations 2

POST /api/repos/{namespace}/{repo_name}/evaluations/*resource_path Create an evaluation #
GET /api/repos/{namespace}/{repo_name}/evaluations/{evaluation_id} Get evaluation status #

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/oxen-evaluations-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

oxen-evaluations-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: oxen Ai Evaluations API
  version: 0.243.1
servers:
- url: https://hub.oxen.ai
  variables: {}
security: []
tags:
- name: evaluations
paths:
  /api/repos/{namespace}/{repo_name}/evaluations/*resource_path:
    post:
      callbacks: {}
      description: Run model inference over a dataset in the repository. The resource path (branch and file) is encoded in the URL, e.g. `POST /api/repos/{ns}/{repo}/evaluations/main/datasets/training.parquet`.
      operationId: OxenApiWeb.Controllers.EvaluationController.create_evaluation
      parameters: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateEvaluationRequest'
        description: Create evaluation request
        required: false
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EvaluationResponse'
          description: Evaluation created
        '400':
          content:
            application/json:
              schema:
                type: object
          description: Invalid parameters
      security:
      - authorization: []
      summary: Create an evaluation
      tags:
      - evaluations
  /api/repos/{namespace}/{repo_name}/evaluations/{evaluation_id}:
    get:
      callbacks: {}
      description: Fetch a single evaluation by ID. Use this to poll for progress (`evaluation.progress.processed` / `evaluation.progress.total`) and completion (`evaluation.status`).
      operationId: OxenApiWeb.Controllers.EvaluationController.get_evaluation
      parameters:
      - description: Evaluation ID
        example: d0c8585d-1234-5678-abcd-ef0123456789
        in: path
        name: evaluation_id
        required: true
        schema:
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EvaluationResponse'
          description: Evaluation details
        '404':
          content:
            application/json:
              schema:
                type: object
          description: Evaluation not found
      security:
      - authorization: []
      summary: Get evaluation status
      tags:
      - evaluations
components:
  schemas:
    Evaluation:
      description: An evaluation resource representing a model inference run over a dataset.
      properties:
        cancelled_at:
          format: date_time
          type:
          - string
          - 'null'
        completed_at:
          format: date_time
          type:
          - string
          - 'null'
        completion_tokens_used:
          description: Completion tokens consumed
          type: integer
        created_by:
          description: User who created the evaluation
          properties:
            id:
              type: string
            image:
              type:
              - string
              - 'null'
            name:
              type:
              - string
              - 'null'
            username:
              type: string
          type:
          - object
          - 'null'
        credits_used:
          description: Credits consumed
          format: float
          type: number
        error_message:
          description: Error details if status is errored
          type:
          - string
          - 'null'
        id:
          description: Evaluation ID
          format: uuid
          type: string
        input_type:
          enum:
          - text
          - image
          - video
          type: string
        inserted_at:
          format: date_time
          type: string
        is_sample:
          type: boolean
        model:
          additionalProperties: true
          description: Model used for this evaluation
          type:
          - object
          - 'null'
        name:
          description: Evaluation name
          type:
          - string
          - 'null'
        output_type:
          enum:
          - text
          - image
          - video
          - embeddings
          type: string
        progress:
          description: Processing progress
          properties:
            processed:
              description: Number of rows processed so far
              type: integer
            total:
              description: Total number of rows to process
              type: integer
          type: object
        prompt:
          description: Prompt template used for inference
          type: string
        prompt_tokens_used:
          description: Prompt tokens consumed
          type: integer
        repository_id:
          type: string
        resource:
          description: Source data resource
          properties:
            path:
              description: Path inside the repository
              type: string
            version:
              description: Commit ID or version
              type: string
          type:
          - object
          - 'null'
        sample_count:
          type: integer
        started_at:
          format: date_time
          type:
          - string
          - 'null'
        status:
          description: Current status
          enum:
          - queued
          - running
          - committing
          - completed
          - errored
          - cancelled
          type: string
        target_branch:
          type:
          - string
          - 'null'
        target_column:
          type:
          - string
          - 'null'
        target_path:
          type:
          - string
          - 'null'
        tokens_used:
          description: Total tokens (prompt + completion)
          type: integer
      title: Evaluation
      type: object
    CreateEvaluationRequest:
      description: 'Request payload to create an evaluation.


        The resource path (branch + file path) is specified in the URL after `/evaluations/`,

        for example: `POST /api/repos/{namespace}/{repo}/evaluations/main/datasets/training.parquet`.

        '
      properties:
        auto_commit:
          default: false
          description: If true, automatically commit the results when the evaluation completes
          type: boolean
        batch_size:
          default: 10
          description: Number of rows to process per inference batch
          type: integer
        commit_message:
          description: Commit message used when auto_commit is true
          type:
          - string
          - 'null'
        input_type:
          description: Type of input data
          enum:
          - text
          - image
          - video
          type: string
        is_sample:
          default: false
          description: If true, only evaluate a subset of rows. If false, evaluate all rows.
          type: boolean
        model_id:
          description: ID of the model to run inference with
          format: uuid
          type: string
        name:
          description: Human-readable name for the evaluation
          type: string
        output_type:
          description: Type of output produced by the model
          enum:
          - text
          - image
          - video
          - embeddings
          type: string
        prompt:
          description: Prompt template sent to the model. Use `{column_name}` placeholders to inject values from each row.
          type: string
        sample_count:
          default: 10
          description: Number of rows to sample when is_sample is true
          type: integer
        target_branch:
          description: Branch where evaluation results are committed
          type: string
        target_column:
          description: Column where the model output will be written
          type: string
        target_path:
          description: File path for the output data frame
          type: string
      required:
      - prompt
      - input_type
      - output_type
      - model_id
      - target_column
      title: CreateEvaluationRequest
      type: object
    EvaluationResponse:
      description: Standard response wrapper for a single evaluation.
      properties:
        evaluation:
          anyOf:
          - $ref: '#/components/schemas/Evaluation'
          description: Evaluation resource
        status:
          description: High-level status string (for example, 'success').
          type: string
        status_message:
          description: Human-readable status message (for example, 'resource_found').
          type: string
      title: EvaluationResponse
      type: object
  securitySchemes:
    authorization:
      scheme: bearer
      type: http