Parallel · Schema

TaskRun

Status of a task run.

CompanyArtificial IntelligenceWeb SearchAgentsDeep ResearchWeb ExtractionData EnrichmentWeb MonitoringLLM ToolsA2AAI AgentsMCPAgent SkillsContent ExtractionEntity Resolution

Properties

Name Type Description
run_id string ID of the task run.
interaction_id string Identifier for this interaction. Pass this value as `previous_interaction_id` to reuse context for a future request.
status string Status of the run.
is_active boolean Whether the run is currently active, i.e. status is one of {'cancelling', 'queued', 'running'}.
warnings object Warnings for the run, if any.
error object Error for the run, present only if status is 'failed'.
processor string Processor used for the run.
metadata object User-provided metadata stored with the run.
taskgroup_id object ID of the taskgroup to which the run belongs.
created_at object Timestamp of the creation of the task, as an RFC 3339 string.
modified_at object Timestamp of the last modification to the task, as an RFC 3339 string.
View JSON Schema on GitHub

JSON Schema

parallel-ai-task-run-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/parallel-ai/json-schema/parallel-ai-task-run-schema.json",
  "title": "TaskRun",
  "description": "Status of a task run.",
  "x-generated": "2026-11-17",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/parallel-ai-tasks-api-openapi.yml#/components/schemas/TaskRun",
  "properties": {
    "run_id": {
      "type": "string",
      "title": "Run ID",
      "description": "ID of the task run."
    },
    "interaction_id": {
      "type": "string",
      "title": "Interaction ID",
      "description": "Identifier for this interaction. Pass this value as `previous_interaction_id` to reuse context for a future request."
    },
    "status": {
      "type": "string",
      "enum": [
        "queued",
        "action_required",
        "running",
        "completed",
        "failed",
        "cancelling",
        "cancelled"
      ],
      "title": "Status",
      "description": "Status of the run."
    },
    "is_active": {
      "type": "boolean",
      "title": "Is Active",
      "description": "Whether the run is currently active, i.e. status is one of {'cancelling', 'queued', 'running'}."
    },
    "warnings": {
      "anyOf": [
        {
          "items": {
            "$ref": "#/$defs/Warning"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Warnings",
      "description": "Warnings for the run, if any."
    },
    "error": {
      "anyOf": [
        {
          "$ref": "#/$defs/Error"
        },
        {
          "type": "null"
        }
      ],
      "description": "Error for the run, present only if status is 'failed'."
    },
    "processor": {
      "type": "string",
      "title": "Processor",
      "description": "Processor used for the run."
    },
    "metadata": {
      "anyOf": [
        {
          "additionalProperties": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "integer"
              },
              {
                "type": "number"
              },
              {
                "type": "boolean"
              }
            ]
          },
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Metadata",
      "description": "User-provided metadata stored with the run."
    },
    "taskgroup_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Taskgroup ID",
      "description": "ID of the taskgroup to which the run belongs."
    },
    "created_at": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Created At",
      "description": "Timestamp of the creation of the task, as an RFC 3339 string."
    },
    "modified_at": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Modified At",
      "description": "Timestamp of the last modification to the task, as an RFC 3339 string."
    }
  },
  "type": "object",
  "required": [
    "run_id",
    "interaction_id",
    "status",
    "is_active",
    "processor",
    "created_at",
    "modified_at"
  ],
  "$defs": {
    "Error": {
      "properties": {
        "ref_id": {
          "type": "string",
          "title": "Reference ID",
          "description": "Reference ID for the error."
        },
        "message": {
          "type": "string",
          "title": "Message",
          "description": "Human-readable message."
        },
        "detail": {
          "anyOf": [
            {
              "additionalProperties": true,
              "type": "object"
            },
            {
              "type": "null"
            }
          ],
          "title": "Detail",
          "description": "Optional detail supporting the error."
        }
      },
      "type": "object",
      "required": [
        "ref_id",
        "message"
      ],
      "title": "Error",
      "description": "An error message."
    },
    "Warning": {
      "properties": {
        "type": {
          "type": "string",
          "enum": [
            "spec_validation_warning",
            "input_validation_warning",
            "warning"
          ],
          "title": "Type",
          "description": "Type of warning. Note that adding new warning types is considered a backward-compatible change."
        },
        "message": {
          "type": "string",
          "title": "Message",
          "description": "Human-readable message."
        },
        "detail": {
          "anyOf": [
            {
              "additionalProperties": true,
              "type": "object"
            },
            {
              "type": "null"
            }
          ],
          "title": "Detail",
          "description": "Optional detail supporting the warning."
        }
      },
      "type": "object",
      "required": [
        "type",
        "message"
      ],
      "title": "Warning",
      "description": "Human-readable message for a task."
    }
  }
}

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/parallel-ai-task-run"
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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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