Public API documentation Read as Markdown ↗

Harnyx Research API reference (generated)

Generated from FastAPI OpenAPI.

Authentication and hosts

Account-authenticated operations use https://api.harnyx.ai with Authorization: Bearer <HARNYX_API_KEY>. Signing in to Developer Console does not authenticate browser requests to that public API host.

Anyone can read the WSDM Cup bonus lists without a credential. The machine-readable contract is available at research.openapi.json.

Domains

research

champions

GET /v1/research/champions

List runnable current and former champions, candidate model IDs and median benchmark scores.

Auth: PlatformApiKey

Responses 200 Successful Response Content-Type: application/json Body: array[ResearchChampion]

1st level2nd level3rd levelReqNotes
artifact_idreqstring (format: uuid)
benchmark_mediansreqBenchmarkMedians
browsecompreqnumber (nullable)
deepsearchqareqnumber (nullable)
dracoreqnumber (nullable)
inventoryreqModelInventory
modelsreqarray[ChampionModel] (nullable)
model_idreqstring
provider_unresolvedreqboolean
providersreqarray[string]
unavailable_reasonreqstring (enum: [live_provider_catalog, unresolved_model_choice, analysis_error]; nullable)

401 Platform API-key authentication failed. Content-Type: application/json Body: ErrorResponse

Response headers

HeaderNotes
WWW-Authenticatestring — Bearer authentication challenge when API-key authentication fails.
1st level2nd level3rd levelReqNotes
billingoptErrorBillingDTO (nullable)
actual_cost_providerreqstring (enum: [openrouter, ai_gateway, deepseek, cloudflare])
actual_cost_usdreqnumber
usageoptDecisionUsage (nullable)
input_tokensoptinteger (nullable)
output_tokensoptinteger (nullable)
error_codereqstring
messagereqstring

tasks

GET /v1/research/tasks

List Research Tasks

Auth: PlatformApiKey

Parameters

ParamInReqNotes
cursorqueryoptstring (nullable)
limitqueryoptinteger (default: 50)

Responses 200 Successful Response Content-Type: application/json Body: ResearchTaskPage

1st level2nd level3rd levelReqNotes
itemsreqarray[ResearchTaskSummary]
created_atreqstring (format: date-time)
finished_atreqstring (format: date-time; nullable)
idreqstring (format: uuid)
input_previewreqstring
statusreqResearchTaskStatus
next_cursorreqstring (nullable)

400 Invalid Research Task cursor. Content-Type: application/json Body: ErrorResponse

1st level2nd level3rd levelReqNotes
billingoptErrorBillingDTO (nullable)
actual_cost_providerreqstring (enum: [openrouter, ai_gateway, deepseek, cloudflare])
actual_cost_usdreqnumber
usageoptDecisionUsage (nullable)
input_tokensoptinteger (nullable)
output_tokensoptinteger (nullable)
error_codereqstring
messagereqstring

401 Platform API-key authentication failed. Content-Type: application/json Body: ErrorResponse

Response headers

HeaderNotes
WWW-Authenticatestring — Bearer authentication challenge when API-key authentication fails.
1st level2nd level3rd levelReqNotes
billingoptErrorBillingDTO (nullable)
actual_cost_providerreqstring (enum: [openrouter, ai_gateway, deepseek, cloudflare])
actual_cost_usdreqnumber
usageoptDecisionUsage (nullable)
input_tokensoptinteger (nullable)
output_tokensoptinteger (nullable)
error_codereqstring
messagereqstring

422 Request validation failed (error_code: validation_failed). Content-Type: application/json Body: ErrorResponse

1st level2nd level3rd levelReqNotes
billingoptErrorBillingDTO (nullable)
actual_cost_providerreqstring (enum: [openrouter, ai_gateway, deepseek, cloudflare])
actual_cost_usdreqnumber
usageoptDecisionUsage (nullable)
input_tokensoptinteger (nullable)
output_tokensoptinteger (nullable)
error_codereqstring
messagereqstring

POST /v1/research/tasks

Create Research Task

Auth: PlatformApiKey

Headers

HeaderReqNotes
Idempotency-Keyoptstring (nullable)

Request Content-Type: application/json Body: ResearchTaskCreateRequest

1st level2nd level3rd levelReqNotes
artifact_idoptstring (format: uuid; nullable)
include_raw_tool_callsoptboolean (default: False)
inputreqstring
input_file_idsoptarray[string] (default: [])
output_schemaoptJsonObject-Input (nullable)
post_processingoptboolean (default: True)
streamoptboolean (default: False)

Responses 200 Current task state, recorded tool-call progress and the settled result as named SSE events. Content-Type: text/event-stream Body: oneOf: ResearchTaskStateEvent OR ResearchToolCallEvent

(no documented fields)

202 Research Task accepted. Content-Type: application/json Body: ResearchTaskResponse

Response headers

HeaderNotes
Locationstring — Relative URL for polling the accepted Research Task.
1st level2nd level3rd levelReqNotes
citationsreqarray[ResearchTaskCitation (nullable)] (nullable)
excerptsreqarray[string]
titlereqstring (nullable)
urlreqstring
created_atreqstring (format: date-time)
credits_chargedreqstring (nullable)
errorreqResearchTaskFailure (nullable)
codereqResearchTaskFailureCode
messagereqstring
finished_atreqstring (format: date-time; nullable)
idreqstring (format: uuid)
inputreqstring
noteoptstring (nullable)
outputreqanyOf: string OR JsonValue-Output OR null
output_schemaoptJsonObject-Output (nullable)
statusreqResearchTaskStatus

400 Invalid request or Idempotency-Key. Content-Type: application/json Body: ErrorResponse

1st level2nd level3rd levelReqNotes
billingoptErrorBillingDTO (nullable)
actual_cost_providerreqstring (enum: [openrouter, ai_gateway, deepseek, cloudflare])
actual_cost_usdreqnumber
usageoptDecisionUsage (nullable)
input_tokensoptinteger (nullable)
output_tokensoptinteger (nullable)
error_codereqstring
messagereqstring

401 Platform API-key authentication failed. Content-Type: application/json Body: ErrorResponse

Response headers

HeaderNotes
WWW-Authenticatestring — Bearer authentication challenge when API-key authentication fails.
1st level2nd level3rd levelReqNotes
billingoptErrorBillingDTO (nullable)
actual_cost_providerreqstring (enum: [openrouter, ai_gateway, deepseek, cloudflare])
actual_cost_usdreqnumber
usageoptDecisionUsage (nullable)
input_tokensoptinteger (nullable)
output_tokensoptinteger (nullable)
error_codereqstring
messagereqstring

409 Idempotency conflict, account task limit, or invalid account status. Content-Type: application/json Body: ErrorResponse

1st level2nd level3rd levelReqNotes
billingoptErrorBillingDTO (nullable)
actual_cost_providerreqstring (enum: [openrouter, ai_gateway, deepseek, cloudflare])
actual_cost_usdreqnumber
usageoptDecisionUsage (nullable)
input_tokensoptinteger (nullable)
output_tokensoptinteger (nullable)
error_codereqstring
messagereqstring

422 Request validation failed (error_code: validation_failed). Content-Type: application/json Body: ErrorResponse

1st level2nd level3rd levelReqNotes
billingoptErrorBillingDTO (nullable)
actual_cost_providerreqstring (enum: [openrouter, ai_gateway, deepseek, cloudflare])
actual_cost_usdreqnumber
usageoptDecisionUsage (nullable)
input_tokensoptinteger (nullable)
output_tokensoptinteger (nullable)
error_codereqstring
messagereqstring

input-uploads

POST /v1/research/tasks/input-uploads

Reserve an input file and obtain the headers and URL for its conditional S3 PUT.

Auth: PlatformApiKey

Request Content-Type: application/json Body: InputUploadRequest

1st level2nd level3rd levelReqNotes
filenamereqstring
sha256reqstring
size_bytesreqinteger

Responses 201 Successful Response Content-Type: application/json Body: InputUploadResponse

1st level2nd level3rd levelReqNotes
file_idreqstring (format: uuid)
headersreqobject
upload_urlreqstring

400 Invalid request. Content-Type: application/json Body: ErrorResponse

1st level2nd level3rd levelReqNotes
billingoptErrorBillingDTO (nullable)
actual_cost_providerreqstring (enum: [openrouter, ai_gateway, deepseek, cloudflare])
actual_cost_usdreqnumber
usageoptDecisionUsage (nullable)
input_tokensoptinteger (nullable)
output_tokensoptinteger (nullable)
error_codereqstring
messagereqstring

401 Platform API-key authentication failed. Content-Type: application/json Body: ErrorResponse

Response headers

HeaderNotes
WWW-Authenticatestring — Bearer authentication challenge when API-key authentication fails.
1st level2nd level3rd levelReqNotes
billingoptErrorBillingDTO (nullable)
actual_cost_providerreqstring (enum: [openrouter, ai_gateway, deepseek, cloudflare])
actual_cost_usdreqnumber
usageoptDecisionUsage (nullable)
input_tokensoptinteger (nullable)
output_tokensoptinteger (nullable)
error_codereqstring
messagereqstring

409 Inactive account. Content-Type: application/json Body: ErrorResponse

1st level2nd level3rd levelReqNotes
billingoptErrorBillingDTO (nullable)
actual_cost_providerreqstring (enum: [openrouter, ai_gateway, deepseek, cloudflare])
actual_cost_usdreqnumber
usageoptDecisionUsage (nullable)
input_tokensoptinteger (nullable)
output_tokensoptinteger (nullable)
error_codereqstring
messagereqstring

422 Request validation failed (error_code: validation_failed). Content-Type: application/json Body: ErrorResponse

1st level2nd level3rd levelReqNotes
billingoptErrorBillingDTO (nullable)
actual_cost_providerreqstring (enum: [openrouter, ai_gateway, deepseek, cloudflare])
actual_cost_usdreqnumber
usageoptDecisionUsage (nullable)
input_tokensoptinteger (nullable)
output_tokensoptinteger (nullable)
error_codereqstring
messagereqstring

503 Input storage unavailable. Content-Type: application/json Body: ErrorResponse

1st level2nd level3rd levelReqNotes
billingoptErrorBillingDTO (nullable)
actual_cost_providerreqstring (enum: [openrouter, ai_gateway, deepseek, cloudflare])
actual_cost_usdreqnumber
usageoptDecisionUsage (nullable)
input_tokensoptinteger (nullable)
output_tokensoptinteger (nullable)
error_codereqstring
messagereqstring

{task_id}

GET /v1/research/tasks/{task_id}

Get Research Task

Auth: PlatformApiKey

Parameters

ParamInReqNotes
task_idpathreqstring (format: uuid)
include_raw_tool_callsqueryoptboolean (default: False)

Responses 200 Current task state, recorded tool-call progress and the settled result as named SSE events. Content-Type: application/json Body: ResearchTaskResponse

1st level2nd level3rd levelReqNotes
citationsreqarray[ResearchTaskCitation (nullable)] (nullable)
excerptsreqarray[string]
titlereqstring (nullable)
urlreqstring
created_atreqstring (format: date-time)
credits_chargedreqstring (nullable)
errorreqResearchTaskFailure (nullable)
codereqResearchTaskFailureCode
messagereqstring
finished_atreqstring (format: date-time; nullable)
idreqstring (format: uuid)
inputreqstring
noteoptstring (nullable)
outputreqanyOf: string OR JsonValue-Output OR null
output_schemaoptJsonObject-Output (nullable)
statusreqResearchTaskStatus

Content-Type: text/event-stream Body: oneOf: ResearchTaskStateEvent OR ResearchToolCallEvent

1st level2nd level3rd levelReqNotes
citationsreqarray[ResearchTaskCitation (nullable)] (nullable)
excerptsreqarray[string]
titlereqstring (nullable)
urlreqstring
created_atreqstring (format: date-time)
credits_chargedreqstring (nullable)
errorreqResearchTaskFailure (nullable)
codereqResearchTaskFailureCode
messagereqstring
finished_atreqstring (format: date-time; nullable)
idreqstring (format: uuid)
inputreqstring
noteoptstring (nullable)
outputreqanyOf: string OR JsonValue-Output OR null
output_schemaoptJsonObject-Output (nullable)
statusreqResearchTaskStatus

401 Platform API-key authentication failed. Content-Type: application/json Body: ErrorResponse

Response headers

HeaderNotes
WWW-Authenticatestring — Bearer authentication challenge when API-key authentication fails.
1st level2nd level3rd levelReqNotes
billingoptErrorBillingDTO (nullable)
actual_cost_providerreqstring (enum: [openrouter, ai_gateway, deepseek, cloudflare])
actual_cost_usdreqnumber
usageoptDecisionUsage (nullable)
input_tokensoptinteger (nullable)
output_tokensoptinteger (nullable)
error_codereqstring
messagereqstring

404 Research task not found (error_code: not_found). Content-Type: application/json Body: ErrorResponse

1st level2nd level3rd levelReqNotes
billingoptErrorBillingDTO (nullable)
actual_cost_providerreqstring (enum: [openrouter, ai_gateway, deepseek, cloudflare])
actual_cost_usdreqnumber
usageoptDecisionUsage (nullable)
input_tokensoptinteger (nullable)
output_tokensoptinteger (nullable)
error_codereqstring
messagereqstring

422 Request validation failed (error_code: validation_failed). Content-Type: application/json Body: ErrorResponse

1st level2nd level3rd levelReqNotes
billingoptErrorBillingDTO (nullable)
actual_cost_providerreqstring (enum: [openrouter, ai_gateway, deepseek, cloudflare])
actual_cost_usdreqnumber
usageoptDecisionUsage (nullable)
input_tokensoptinteger (nullable)
output_tokensoptinteger (nullable)
error_codereqstring
messagereqstring

wsdm

bonuses

GET /v1/research/wsdm/bonuses

List runnable champion IDs whose selectable models have verified open weights and at most 50B active or 50B total parameters. Each list is evaluated independently, including fallbacks. Team compliance across the scoring period is subject to the organizer’s audit.

Auth: None.

Parameters

ParamInReqNotes
include_benchmark_mediansqueryoptboolean (default: False) — Include benchmark medians for artifacts qualifying for either prize.

Responses 200 Successful Response Content-Type: application/json Body: anyOf: WsdmBonusesWithMedians OR WsdmBonuses

(no documented fields)

422 Invalid benchmark median query parameter. Content-Type: application/json Body: ErrorResponse

1st level2nd level3rd levelReqNotes
billingoptErrorBillingDTO (nullable)
actual_cost_providerreqstring (enum: [openrouter, ai_gateway, deepseek, cloudflare])
actual_cost_usdreqnumber
usageoptDecisionUsage (nullable)
input_tokensoptinteger (nullable)
output_tokensoptinteger (nullable)
error_codereqstring
messagereqstring

Models

Model: BenchmarkMedians

1st level2nd level3rd levelReqNotes
browsecompreqnumber (nullable)
deepsearchqareqnumber (nullable)
dracoreqnumber (nullable)
JSON schema
{
  "properties": {
    "browsecomp": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Browsecomp"
    },
    "deepsearchqa": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Deepsearchqa"
    },
    "draco": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Draco"
    }
  },
  "required": [
    "draco",
    "deepsearchqa",
    "browsecomp"
  ],
  "title": "BenchmarkMedians",
  "type": "object"
}

Model: ChampionModel

1st level2nd level3rd levelReqNotes
model_idreqstring
provider_unresolvedreqboolean
providersreqarray[string]
JSON schema
{
  "properties": {
    "model_id": {
      "title": "Model Id",
      "type": "string"
    },
    "provider_unresolved": {
      "title": "Provider Unresolved",
      "type": "boolean"
    },
    "providers": {
      "items": {
        "type": "string"
      },
      "title": "Providers",
      "type": "array"
    }
  },
  "required": [
    "model_id",
    "providers",
    "provider_unresolved"
  ],
  "title": "ChampionModel",
  "type": "object"
}

Model: DecisionUsage

1st level2nd level3rd levelReqNotes
input_tokensoptinteger (nullable)
output_tokensoptinteger (nullable)
JSON schema
{
  "additionalProperties": false,
  "properties": {
    "input_tokens": {
      "anyOf": [
        {
          "minimum": 0.0,
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Input Tokens"
    },
    "output_tokens": {
      "anyOf": [
        {
          "minimum": 0.0,
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Output Tokens"
    }
  },
  "title": "DecisionUsage",
  "type": "object"
}

Model: ErrorBillingDTO

1st level2nd level3rd levelReqNotes
actual_cost_providerreqstring (enum: [openrouter, ai_gateway, deepseek, cloudflare])
actual_cost_usdreqnumber
usageoptDecisionUsage (nullable)
input_tokensoptinteger (nullable)
output_tokensoptinteger (nullable)
JSON schema
{
  "additionalProperties": false,
  "properties": {
    "actual_cost_provider": {
      "enum": [
        "openrouter",
        "ai_gateway",
        "deepseek",
        "cloudflare"
      ],
      "title": "Actual Cost Provider",
      "type": "string"
    },
    "actual_cost_usd": {
      "minimum": 0.0,
      "title": "Actual Cost Usd",
      "type": "number"
    },
    "usage": {
      "anyOf": [
        {
          "$ref": "#/components/schemas/DecisionUsage"
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "required": [
    "actual_cost_usd",
    "actual_cost_provider"
  ],
  "title": "ErrorBillingDTO",
  "type": "object"
}

Model: ErrorResponse

1st level2nd level3rd levelReqNotes
billingoptErrorBillingDTO (nullable)
actual_cost_providerreqstring (enum: [openrouter, ai_gateway, deepseek, cloudflare])
actual_cost_usdreqnumber
usageoptDecisionUsage (nullable)
input_tokensoptinteger (nullable)
output_tokensoptinteger (nullable)
error_codereqstring
messagereqstring
JSON schema
{
  "properties": {
    "billing": {
      "anyOf": [
        {
          "$ref": "#/components/schemas/ErrorBillingDTO"
        },
        {
          "type": "null"
        }
      ]
    },
    "error_code": {
      "title": "Error Code",
      "type": "string"
    },
    "message": {
      "title": "Message",
      "type": "string"
    }
  },
  "required": [
    "error_code",
    "message"
  ],
  "title": "ErrorResponse",
  "type": "object"
}

Model: InputUploadRequest

1st level2nd level3rd levelReqNotes
filenamereqstring
sha256reqstring
size_bytesreqinteger
JSON schema
{
  "additionalProperties": false,
  "properties": {
    "filename": {
      "maxLength": 255,
      "minLength": 1,
      "title": "Filename",
      "type": "string"
    },
    "sha256": {
      "pattern": "^[0-9a-f]{64}$",
      "title": "Sha256",
      "type": "string"
    },
    "size_bytes": {
      "maximum": 1073741824.0,
      "minimum": 0.0,
      "title": "Size Bytes",
      "type": "integer"
    }
  },
  "required": [
    "filename",
    "size_bytes",
    "sha256"
  ],
  "title": "InputUploadRequest",
  "type": "object"
}

Model: InputUploadResponse

1st level2nd level3rd levelReqNotes
file_idreqstring (format: uuid)
headersreqobject
upload_urlreqstring
JSON schema
{
  "properties": {
    "file_id": {
      "format": "uuid",
      "title": "File Id",
      "type": "string"
    },
    "headers": {
      "additionalProperties": {
        "type": "string"
      },
      "title": "Headers",
      "type": "object"
    },
    "upload_url": {
      "title": "Upload Url",
      "type": "string"
    }
  },
  "required": [
    "file_id",
    "upload_url",
    "headers"
  ],
  "title": "InputUploadResponse",
  "type": "object"
}

Model: JsonObject-Input

(no documented fields)

JSON schema
{
  "additionalProperties": {
    "$ref": "#/components/schemas/JsonValue-Input"
  },
  "type": "object"
}

Model: JsonObject-Output

(no documented fields)

JSON schema
{
  "additionalProperties": {
    "$ref": "#/components/schemas/JsonValue-Output"
  },
  "type": "object"
}

Model: JsonValue-Input

(no documented fields)

JSON schema
{
  "anyOf": [
    {
      "type": "string"
    },
    {
      "type": "integer"
    },
    {
      "type": "number"
    },
    {
      "type": "boolean"
    },
    {
      "items": {
        "$ref": "#/components/schemas/JsonValue-Input"
      },
      "type": "array"
    },
    {
      "additionalProperties": {
        "$ref": "#/components/schemas/JsonValue-Input"
      },
      "type": "object"
    },
    {
      "type": "null"
    }
  ]
}

Model: JsonValue-Output

(no documented fields)

JSON schema
{
  "anyOf": [
    {
      "type": "string"
    },
    {
      "type": "integer"
    },
    {
      "type": "number"
    },
    {
      "type": "boolean"
    },
    {
      "items": {
        "$ref": "#/components/schemas/JsonValue-Output"
      },
      "type": "array"
    },
    {
      "additionalProperties": {
        "$ref": "#/components/schemas/JsonValue-Output"
      },
      "type": "object"
    },
    {
      "type": "null"
    }
  ]
}

Model: ModelInventory

1st level2nd level3rd levelReqNotes
modelsreqarray[ChampionModel] (nullable)
model_idreqstring
provider_unresolvedreqboolean
providersreqarray[string]
unavailable_reasonreqstring (enum: [live_provider_catalog, unresolved_model_choice, analysis_error]; nullable)
JSON schema
{
  "properties": {
    "models": {
      "anyOf": [
        {
          "items": {
            "$ref": "#/components/schemas/ChampionModel"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Models"
    },
    "unavailable_reason": {
      "anyOf": [
        {
          "enum": [
            "live_provider_catalog",
            "unresolved_model_choice",
            "analysis_error"
          ],
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Unavailable Reason"
    }
  },
  "required": [
    "models",
    "unavailable_reason"
  ],
  "title": "ModelInventory",
  "type": "object"
}

Model: ResearchChampion

1st level2nd level3rd levelReqNotes
artifact_idreqstring (format: uuid)
benchmark_mediansreqBenchmarkMedians
browsecompreqnumber (nullable)
deepsearchqareqnumber (nullable)
dracoreqnumber (nullable)
inventoryreqModelInventory
modelsreqarray[ChampionModel] (nullable)
model_idreqstring
provider_unresolvedreqboolean
providersreqarray[string]
unavailable_reasonreqstring (enum: [live_provider_catalog, unresolved_model_choice, analysis_error]; nullable)
JSON schema
{
  "properties": {
    "artifact_id": {
      "format": "uuid",
      "title": "Artifact Id",
      "type": "string"
    },
    "benchmark_medians": {
      "$ref": "#/components/schemas/BenchmarkMedians"
    },
    "inventory": {
      "$ref": "#/components/schemas/ModelInventory"
    }
  },
  "required": [
    "artifact_id",
    "inventory",
    "benchmark_medians"
  ],
  "title": "ResearchChampion",
  "type": "object"
}

Model: ResearchTaskCitation

1st level2nd level3rd levelReqNotes
excerptsreqarray[string]
titlereqstring (nullable)
urlreqstring
JSON schema
{
  "additionalProperties": false,
  "properties": {
    "excerpts": {
      "items": {
        "type": "string"
      },
      "title": "Excerpts",
      "type": "array"
    },
    "title": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Title"
    },
    "url": {
      "title": "Url",
      "type": "string"
    }
  },
  "required": [
    "url",
    "title",
    "excerpts"
  ],
  "title": "ResearchTaskCitation",
  "type": "object"
}

Model: ResearchTaskCreateRequest

1st level2nd level3rd levelReqNotes
artifact_idoptstring (format: uuid; nullable)
include_raw_tool_callsoptboolean (default: False)
inputreqstring
input_file_idsoptarray[string] (default: [])
output_schemaoptJsonObject-Input (nullable)
post_processingoptboolean (default: True)
streamoptboolean (default: False)
JSON schema
{
  "additionalProperties": false,
  "properties": {
    "artifact_id": {
      "anyOf": [
        {
          "format": "uuid",
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "description": "Runnable current or former overall or F1 champion. Omit to use the administrator pin.",
      "title": "Artifact Id"
    },
    "include_raw_tool_calls": {
      "default": false,
      "title": "Include Raw Tool Calls",
      "type": "boolean"
    },
    "input": {
      "minLength": 1,
      "title": "Input",
      "type": "string"
    },
    "input_file_ids": {
      "default": [],
      "description": "Uploaded files to expose under input/.",
      "items": {
        "format": "uuid",
        "type": "string"
      },
      "title": "Input File Ids",
      "type": "array"
    },
    "output_schema": {
      "anyOf": [
        {
          "$ref": "#/components/schemas/JsonObject-Input"
        },
        {
          "type": "null"
        }
      ],
      "description": "JSON Schema Draft 2020-12 for structured output. `$ref` and `$dynamicRef` values must be local fragments beginning with `#`; external references are rejected. Schemas may contain at most 80,000 compact JSON characters."
    },
    "post_processing": {
      "default": true,
      "description": "Allow model-assisted repair when output fails the requested schema.",
      "title": "Post Processing",
      "type": "boolean"
    },
    "stream": {
      "default": false,
      "title": "Stream",
      "type": "boolean"
    }
  },
  "required": [
    "input"
  ],
  "title": "ResearchTaskCreateRequest",
  "type": "object"
}

Model: ResearchTaskFailure

1st level2nd level3rd levelReqNotes
codereqResearchTaskFailureCode
messagereqstring
JSON schema
{
  "additionalProperties": false,
  "properties": {
    "code": {
      "$ref": "#/components/schemas/ResearchTaskFailureCode"
    },
    "message": {
      "title": "Message",
      "type": "string"
    }
  },
  "required": [
    "code",
    "message"
  ],
  "title": "ResearchTaskFailure",
  "type": "object"
}

Model: ResearchTaskFailureCode

(no documented fields)

JSON schema
{
  "enum": [
    "insufficient_credits",
    "execution_timeout",
    "invalid_output",
    "execution_failed"
  ],
  "title": "ResearchTaskFailureCode",
  "type": "string"
}

Model: ResearchTaskPage

1st level2nd level3rd levelReqNotes
itemsreqarray[ResearchTaskSummary]
created_atreqstring (format: date-time)
finished_atreqstring (format: date-time; nullable)
idreqstring (format: uuid)
input_previewreqstring
statusreqResearchTaskStatus
next_cursorreqstring (nullable)
JSON schema
{
  "additionalProperties": false,
  "properties": {
    "items": {
      "items": {
        "$ref": "#/components/schemas/ResearchTaskSummary"
      },
      "title": "Items",
      "type": "array"
    },
    "next_cursor": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Next Cursor"
    }
  },
  "required": [
    "items",
    "next_cursor"
  ],
  "title": "ResearchTaskPage",
  "type": "object"
}

Model: ResearchTaskResponse

1st level2nd level3rd levelReqNotes
citationsreqarray[ResearchTaskCitation (nullable)] (nullable)
excerptsreqarray[string]
titlereqstring (nullable)
urlreqstring
created_atreqstring (format: date-time)
credits_chargedreqstring (nullable)
errorreqResearchTaskFailure (nullable)
codereqResearchTaskFailureCode
messagereqstring
finished_atreqstring (format: date-time; nullable)
idreqstring (format: uuid)
inputreqstring
noteoptstring (nullable)
outputreqanyOf: string OR JsonValue-Output OR null
output_schemaoptJsonObject-Output (nullable)
statusreqResearchTaskStatus
JSON schema
{
  "additionalProperties": false,
  "properties": {
    "citations": {
      "anyOf": [
        {
          "items": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ResearchTaskCitation"
              },
              {
                "type": "null"
              }
            ]
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Citations"
    },
    "created_at": {
      "format": "date-time",
      "title": "Created At",
      "type": "string"
    },
    "credits_charged": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Credits Charged"
    },
    "error": {
      "anyOf": [
        {
          "$ref": "#/components/schemas/ResearchTaskFailure"
        },
        {
          "type": "null"
        }
      ]
    },
    "finished_at": {
      "anyOf": [
        {
          "format": "date-time",
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Finished At"
    },
    "id": {
      "format": "uuid",
      "title": "Id",
      "type": "string"
    },
    "input": {
      "description": "Complete Research Task input.",
      "minLength": 1,
      "title": "Input",
      "type": "string"
    },
    "note": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "description": "Optional public supplementary content that may explain, qualify, support, or correct the answer. It shares the citations array and is outside output_schema; it cannot replace or repair an invalid output.",
      "title": "Note"
    },
    "output": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "$ref": "#/components/schemas/JsonValue-Output"
        },
        {
          "type": "null"
        }
      ],
      "description": "Task output: text, structured JSON, or null. Use status to distinguish a pending result from a completed structured null. Structured responses may contain at most 80,000 compact JSON characters; oversized structured responses cause terminal invalid_output failure.",
      "title": "Output"
    },
    "output_schema": {
      "anyOf": [
        {
          "$ref": "#/components/schemas/JsonObject-Output"
        },
        {
          "type": "null"
        }
      ],
      "description": "Structured output schema requested for this Research Task."
    },
    "status": {
      "$ref": "#/components/schemas/ResearchTaskStatus"
    }
  },
  "required": [
    "id",
    "input",
    "status",
    "created_at",
    "finished_at",
    "output",
    "citations",
    "error",
    "credits_charged"
  ],
  "title": "ResearchTaskResponse",
  "type": "object"
}

Model: ResearchTaskStateEvent

1st level2nd level3rd levelReqNotes
taskreqResearchTaskResponse
citationsreqarray[ResearchTaskCitation (nullable)] (nullable)
excerptsreqarray[string]
titlereqstring (nullable)
urlreqstring
created_atreqstring (format: date-time)
credits_chargedreqstring (nullable)
errorreqResearchTaskFailure (nullable)
codereqResearchTaskFailureCode
messagereqstring
finished_atreqstring (format: date-time; nullable)
idreqstring (format: uuid)
inputreqstring
noteoptstring (nullable)
outputreqanyOf: string OR JsonValue-Output OR null
output_schemaoptJsonObject-Output (nullable)
statusreqResearchTaskStatus
task_idreqstring (format: uuid)
typereqstring (enum: [task.snapshot, task.completed, task.failed])
JSON schema
{
  "additionalProperties": false,
  "properties": {
    "task": {
      "$ref": "#/components/schemas/ResearchTaskResponse"
    },
    "task_id": {
      "format": "uuid",
      "title": "Task Id",
      "type": "string"
    },
    "type": {
      "enum": [
        "task.snapshot",
        "task.completed",
        "task.failed"
      ],
      "title": "Type",
      "type": "string"
    }
  },
  "required": [
    "type",
    "task_id",
    "task"
  ],
  "title": "ResearchTaskStateEvent",
  "type": "object"
}

Model: ResearchTaskStatus

(no documented fields)

JSON schema
{
  "enum": [
    "queued",
    "in_progress",
    "completed",
    "failed"
  ],
  "title": "ResearchTaskStatus",
  "type": "string"
}

Model: ResearchTaskSummary

1st level2nd level3rd levelReqNotes
created_atreqstring (format: date-time)
finished_atreqstring (format: date-time; nullable)
idreqstring (format: uuid)
input_previewreqstring
statusreqResearchTaskStatus
JSON schema
{
  "additionalProperties": false,
  "properties": {
    "created_at": {
      "format": "date-time",
      "title": "Created At",
      "type": "string"
    },
    "finished_at": {
      "anyOf": [
        {
          "format": "date-time",
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Finished At"
    },
    "id": {
      "format": "uuid",
      "title": "Id",
      "type": "string"
    },
    "input_preview": {
      "description": "First 500 characters of the Research Task input. Exact reads return the complete input.",
      "maxLength": 500,
      "minLength": 1,
      "title": "Input Preview",
      "type": "string"
    },
    "status": {
      "$ref": "#/components/schemas/ResearchTaskStatus"
    }
  },
  "required": [
    "id",
    "input_preview",
    "status",
    "created_at",
    "finished_at"
  ],
  "title": "ResearchTaskSummary",
  "type": "object"
}

Model: ResearchToolCallEvent

1st level2nd level3rd levelReqNotes
call_idreqstring
finished_atreqstring (format: date-time; nullable)
outcomereqToolCallOutcome (nullable)
rawoptResearchToolCallRaw (nullable)
requestreqJsonValue-Output (nullable)
responsereqJsonValue-Output (nullable)
started_atreqstring (format: date-time)
task_idreqstring (format: uuid)
toolreqstring (enum: [search_web, search_ai, fetch_page, embed_text, rerank, decision_query, llm_chat, test_tool, tooling_info])
typereqstring (enum: [tool_call.started, tool_call.completed, tool_call.failed])
JSON schema
{
  "additionalProperties": false,
  "properties": {
    "call_id": {
      "title": "Call Id",
      "type": "string"
    },
    "finished_at": {
      "anyOf": [
        {
          "format": "date-time",
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Finished At"
    },
    "outcome": {
      "anyOf": [
        {
          "$ref": "#/components/schemas/ToolCallOutcome"
        },
        {
          "type": "null"
        }
      ]
    },
    "raw": {
      "anyOf": [
        {
          "$ref": "#/components/schemas/ResearchToolCallRaw"
        },
        {
          "type": "null"
        }
      ]
    },
    "started_at": {
      "format": "date-time",
      "title": "Started At",
      "type": "string"
    },
    "task_id": {
      "format": "uuid",
      "title": "Task Id",
      "type": "string"
    },
    "tool": {
      "enum": [
        "search_web",
        "search_ai",
        "fetch_page",
        "embed_text",
        "rerank",
        "decision_query",
        "llm_chat",
        "test_tool",
        "tooling_info"
      ],
      "title": "Tool",
      "type": "string"
    },
    "type": {
      "enum": [
        "tool_call.started",
        "tool_call.completed",
        "tool_call.failed"
      ],
      "title": "Type",
      "type": "string"
    }
  },
  "required": [
    "type",
    "task_id",
    "call_id",
    "tool",
    "started_at",
    "finished_at",
    "outcome"
  ],
  "title": "ResearchToolCallEvent",
  "type": "object"
}

Model: ResearchToolCallRaw

1st level2nd level3rd levelReqNotes
requestreqJsonValue-Output (nullable)
responsereqJsonValue-Output (nullable)
JSON schema
{
  "additionalProperties": false,
  "properties": {
    "request": {
      "anyOf": [
        {
          "$ref": "#/components/schemas/JsonValue-Output"
        },
        {
          "type": "null"
        }
      ]
    },
    "response": {
      "anyOf": [
        {
          "$ref": "#/components/schemas/JsonValue-Output"
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "required": [
    "request",
    "response"
  ],
  "title": "ResearchToolCallRaw",
  "type": "object"
}

Model: ToolCallOutcome

(no documented fields)

JSON schema
{
  "description": "High-level outcome for a tool invocation.",
  "enum": [
    "ok",
    "provider_error",
    "budget_exceeded",
    "internal_error",
    "timeout"
  ],
  "title": "ToolCallOutcome",
  "type": "string"
}

Model: WsdmBonuses

1st level2nd level3rd levelReqNotes
active_parameter_artifact_idsreqarray[string]
total_parameter_artifact_idsreqarray[string]
JSON schema
{
  "properties": {
    "active_parameter_artifact_ids": {
      "items": {
        "format": "uuid",
        "type": "string"
      },
      "title": "Active Parameter Artifact Ids",
      "type": "array"
    },
    "total_parameter_artifact_ids": {
      "items": {
        "format": "uuid",
        "type": "string"
      },
      "title": "Total Parameter Artifact Ids",
      "type": "array"
    }
  },
  "required": [
    "active_parameter_artifact_ids",
    "total_parameter_artifact_ids"
  ],
  "title": "WsdmBonuses",
  "type": "object"
}

Model: WsdmBonusesWithMedians

1st level2nd level3rd levelReqNotes
active_parameter_artifact_idsreqarray[string]
benchmark_medians_by_artifact_idreqobject
total_parameter_artifact_idsreqarray[string]
JSON schema
{
  "properties": {
    "active_parameter_artifact_ids": {
      "items": {
        "format": "uuid",
        "type": "string"
      },
      "title": "Active Parameter Artifact Ids",
      "type": "array"
    },
    "benchmark_medians_by_artifact_id": {
      "additionalProperties": {
        "$ref": "#/components/schemas/BenchmarkMedians"
      },
      "propertyNames": {
        "format": "uuid"
      },
      "title": "Benchmark Medians By Artifact Id",
      "type": "object"
    },
    "total_parameter_artifact_ids": {
      "items": {
        "format": "uuid",
        "type": "string"
      },
      "title": "Total Parameter Artifact Ids",
      "type": "array"
    }
  },
  "required": [
    "active_parameter_artifact_ids",
    "total_parameter_artifact_ids",
    "benchmark_medians_by_artifact_id"
  ],
  "title": "WsdmBonusesWithMedians",
  "type": "object"
}