Bernstein · Schema
TaskResponse
Serialised task returned by every task endpoint.
Artificial IntelligenceGovernanceOpen SourcePythonCLI
Properties
| Name | Type | Description |
|---|---|---|
| id | string | |
| title | string | |
| description | string | |
| role | string | |
| tenant_id | string | |
| priority | integer | |
| scope | string | |
| complexity | string | |
| eu_ai_act_risk | string | |
| approval_required | boolean | |
| risk_level | string | |
| estimated_minutes | object | |
| status | string | |
| depends_on | array | |
| parent_task_id | object | |
| depends_on_repo | object | |
| owned_files | array | |
| assigned_agent | object | |
| result_summary | object | |
| cell_id | object | |
| repo | object | |
| task_type | string | |
| upgrade_details | object | |
| model | object | |
| effort | object | |
| cli | object | |
| batch_eligible | boolean | |
| completion_signals | array | |
| slack_context | object | |
| metadata | object | |
| created_at | number | |
| claimed_at | object | |
| completed_at | object | |
| closed_at | object | |
| deadline | object | |
| progress_log | array | |
| version | integer | |
| parent_session_id | object | |
| retry_count | integer | |
| max_retries | integer | |
| retry_delay_s | number | |
| terminal_reason | object | |
| max_output_tokens | object | |
| meta_messages | array | |
| max_turns | object | |
| artifact_spec | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/bernstein-run/json-schema/bernstein-run-task-response-schema.json",
"title": "TaskResponse",
"description": "Serialised task returned by every task endpoint.",
"x-generated": "2026-11-02",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/bernstein-run-openapi.yaml#/components/schemas/TaskResponse",
"properties": {
"id": {
"type": "string",
"title": "Id"
},
"title": {
"type": "string",
"title": "Title"
},
"description": {
"type": "string",
"title": "Description"
},
"role": {
"type": "string",
"title": "Role"
},
"tenant_id": {
"type": "string",
"title": "Tenant Id"
},
"priority": {
"type": "integer",
"title": "Priority"
},
"scope": {
"type": "string",
"title": "Scope"
},
"complexity": {
"type": "string",
"title": "Complexity"
},
"eu_ai_act_risk": {
"type": "string",
"title": "Eu Ai Act Risk"
},
"approval_required": {
"type": "boolean",
"title": "Approval Required"
},
"risk_level": {
"type": "string",
"title": "Risk Level"
},
"estimated_minutes": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Estimated Minutes"
},
"status": {
"type": "string",
"title": "Status"
},
"depends_on": {
"items": {
"type": "string"
},
"type": "array",
"title": "Depends On"
},
"parent_task_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Parent Task Id"
},
"depends_on_repo": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Depends On Repo"
},
"owned_files": {
"items": {
"type": "string"
},
"type": "array",
"title": "Owned Files"
},
"assigned_agent": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Assigned Agent"
},
"result_summary": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Result Summary"
},
"cell_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Cell Id"
},
"repo": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Repo"
},
"task_type": {
"type": "string",
"title": "Task Type"
},
"upgrade_details": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"title": "Upgrade Details"
},
"model": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Model"
},
"effort": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Effort"
},
"cli": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Cli"
},
"batch_eligible": {
"type": "boolean",
"title": "Batch Eligible",
"default": false
},
"completion_signals": {
"items": {
"additionalProperties": {
"type": "string"
},
"type": "object"
},
"type": "array",
"title": "Completion Signals"
},
"slack_context": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"title": "Slack Context"
},
"metadata": {
"additionalProperties": true,
"type": "object",
"title": "Metadata"
},
"created_at": {
"type": "number",
"title": "Created At"
},
"claimed_at": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Claimed At"
},
"completed_at": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Completed At"
},
"closed_at": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Closed At"
},
"deadline": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Deadline"
},
"progress_log": {
"items": {
"$ref": "#/$defs/ProgressEntry"
},
"type": "array",
"title": "Progress Log"
},
"version": {
"type": "integer",
"title": "Version",
"default": 1
},
"parent_session_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Parent Session Id"
},
"retry_count": {
"type": "integer",
"title": "Retry Count",
"default": 0
},
"max_retries": {
"type": "integer",
"title": "Max Retries",
"default": 3
},
"retry_delay_s": {
"type": "number",
"title": "Retry Delay S",
"default": 0
},
"terminal_reason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Terminal Reason"
},
"max_output_tokens": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Max Output Tokens"
},
"meta_messages": {
"items": {
"type": "string"
},
"type": "array",
"title": "Meta Messages"
},
"max_turns": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Max Turns"
},
"artifact_spec": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"title": "Artifact Spec"
}
},
"type": "object",
"required": [
"id",
"title",
"description",
"role",
"tenant_id",
"priority",
"scope",
"complexity",
"eu_ai_act_risk",
"approval_required",
"risk_level",
"estimated_minutes",
"status",
"depends_on",
"parent_task_id",
"depends_on_repo",
"owned_files",
"assigned_agent",
"result_summary",
"cell_id",
"repo",
"task_type",
"upgrade_details",
"model",
"effort",
"created_at"
],
"$defs": {
"ProgressEntry": {
"properties": {
"timestamp": {
"type": "number",
"title": "Timestamp"
},
"message": {
"type": "string",
"title": "Message"
},
"percent": {
"type": "integer",
"title": "Percent"
}
},
"type": "object",
"required": [
"timestamp",
"message",
"percent"
],
"title": "ProgressEntry",
"description": "Single entry in a task's progress_log."
}
}
}
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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/bernstein-run-task-response"
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.