Surge AI Tasks API

The Tasks API from Surge AI — 5 operation(s) for tasks.

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/surge-ai-tasks-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 email required.

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

OpenAPI Specification

surge-ai-tasks-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Surge AI Projects Tasks API
  description: Surge AI is a human-data platform for labeling, RLHF/SFT data collection, rubrics, and evaluation. This OpenAPI documents the REST endpoints used by the official surge-python SDK (https://github.com/surge-ai/surge-python), covering projects, tasks, and teams. Authentication uses API key Basic auth via the SURGE_API_KEY.
  version: 1.0.0
  contact:
    name: Surge AI documentation
    url: https://app.surgehq.ai/docs/api
servers:
- url: https://app.surgehq.ai/api
  description: Production
security:
- basicAuth: []
tags:
- name: Tasks
paths:
  /projects/{project_id}/tasks:
    parameters:
    - $ref: '#/components/parameters/ProjectId'
    get:
      tags:
      - Tasks
      summary: List tasks within a project
      operationId: listTasks
      responses:
        '200':
          description: Tasks
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Task'
    post:
      tags:
      - Tasks
      summary: Create a single task within a project
      operationId: createTask
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TaskCreate'
      responses:
        '200':
          description: Task created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Task'
  /projects/{project_id}/tasks/create_tasks:
    parameters:
    - $ref: '#/components/parameters/ProjectId'
    post:
      tags:
      - Tasks
      summary: Create multiple tasks (bulk)
      operationId: createTasksBulk
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/TaskCreate'
      responses:
        '200':
          description: Tasks created
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Task'
  /tasks/{task_id}:
    parameters:
    - in: path
      name: task_id
      required: true
      schema:
        type: string
    get:
      tags:
      - Tasks
      summary: Retrieve a task
      operationId: getTask
      responses:
        '200':
          description: Task details
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Task'
  /tasks/{task_id}/create-response:
    parameters:
    - in: path
      name: task_id
      required: true
      schema:
        type: string
    post:
      tags:
      - Tasks
      summary: Create a response for a task
      operationId: createTaskResponse
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              additionalProperties: true
      responses:
        '200':
          description: Response recorded
  /tasks/{task_id}/gold-standards:
    parameters:
    - in: path
      name: task_id
      required: true
      schema:
        type: string
    post:
      tags:
      - Tasks
      summary: Set gold standards for a task
      operationId: setTaskGoldStandards
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              additionalProperties: true
      responses:
        '200':
          description: Gold standards stored
components:
  schemas:
    TaskCreate:
      type: object
      required:
      - fields
      properties:
        fields:
          type: object
          additionalProperties: true
    Task:
      type: object
      properties:
        id:
          type: string
        project_id:
          type: string
        fields:
          type: object
          additionalProperties: true
        responses:
          type: array
          items:
            type: object
            additionalProperties: true
  parameters:
    ProjectId:
      in: path
      name: project_id
      required: true
      schema:
        type: string
  securitySchemes:
    basicAuth:
      type: http
      scheme: basic
      description: HTTP Basic auth with the API key as username (set via SURGE_API_KEY).