answerline-dev · Schema

BatchTaskRequest

Artificial IntelligenceVisibilityMarketingAnalytics

Properties

Name Type Description
taskType string Engine that should handle this task.
payload object Request body specific to the engine. Needs at least `prompt` (`query` for Google Search).
priority integer Priority of the task, from 1 to 10; tasks with higher numbers run first. Default: 1.
idempotencyKey string Distinct string that stops the same task from being created twice. No two tasks in your account may share it: the key stays bound while its task is kept (4 to 5 days), and a failed task frees it 24 ho
webhook object Settings for the webhook that reports a finished task.
View JSON Schema on GitHub

JSON Schema

answerline-dev-batch-task-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/answerline-dev/json-schema/answerline-dev-batch-task-request-schema.json",
  "title": "BatchTaskRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/answerline-dev-async-api-openapi.yml#/components/schemas/BatchTaskRequest",
  "type": "object",
  "required": [
    "taskType",
    "payload"
  ],
  "properties": {
    "taskType": {
      "type": "string",
      "enum": [
        "AIMODE",
        "GOOGLE",
        "GOOGLE_NEWS",
        "GEMINI",
        "CHATGPT",
        "COPILOT",
        "PERPLEXITY",
        "GROK"
      ],
      "description": "Engine that should handle this task."
    },
    "payload": {
      "type": "object",
      "description": "Request body specific to the engine. Needs at least `prompt` (`query` for Google Search)."
    },
    "priority": {
      "type": "integer",
      "description": "Priority of the task, from 1 to 10; tasks with higher numbers run first. Default: 1.",
      "minimum": 1,
      "maximum": 10,
      "default": 1
    },
    "idempotencyKey": {
      "type": "string",
      "description": "Distinct string that stops the same task from being created twice. No two tasks in your account may share it: the key stays bound while its task is kept (4 to 5 days), and a failed task frees it 24 hours after failing."
    },
    "webhook": {
      "type": "object",
      "description": "Settings for the webhook that reports a finished task.",
      "properties": {
        "url": {
          "type": "string",
          "format": "uri",
          "description": "Endpoint that gets the webhook POST request once the task finishes."
        }
      },
      "required": [
        "url"
      ],
      "additionalProperties": false
    }
  },
  "additionalProperties": false
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • 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 JSON Schema
curl "https://apis.io/api/v1/json-schemas/answerline-dev-batch-task-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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.