Bernstein · Schema

A2ATaskResponse

Serialised A2A task in responses. ``receipt`` carries the lineage receipt for an inbound task (#2609): the execution evidence a caller verifies offline with ``bernstein a2a verify --receipt``. It is ``None`` on read paths, and on write paths when the node could not provision receipt key material - an absent receipt means "unattested", which a caller should treat as unverified rather than trusted.

Artificial IntelligenceGovernanceOpen SourcePythonCLI

Properties

Name Type Description
id string
bernstein_task_id object
sender string
message string
status string
artifacts array
created_at number
updated_at number
receipt object
View JSON Schema on GitHub

JSON Schema

bernstein-run-a2-atask-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/bernstein-run/json-schema/bernstein-run-a2-atask-response-schema.json",
  "title": "A2ATaskResponse",
  "description": "Serialised A2A task in responses.\n\n``receipt`` carries the lineage receipt for an inbound task (#2609): the\nexecution evidence a caller verifies offline with ``bernstein a2a verify\n--receipt``. It is ``None`` on read paths, and on write paths when the\nnode could not provision receipt key material - an absent receipt means\n\"unattested\", which a caller should treat as unverified rather than\ntrusted.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/bernstein-run-a2a-api-openapi.yml#/components/schemas/A2ATaskResponse",
  "properties": {
    "id": {
      "type": "string",
      "title": "Id"
    },
    "bernstein_task_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Bernstein Task Id"
    },
    "sender": {
      "type": "string",
      "title": "Sender"
    },
    "message": {
      "type": "string",
      "title": "Message"
    },
    "status": {
      "type": "string",
      "title": "Status"
    },
    "artifacts": {
      "items": {
        "$ref": "#/$defs/A2AArtifactResponse"
      },
      "type": "array",
      "title": "Artifacts"
    },
    "created_at": {
      "type": "number",
      "title": "Created At"
    },
    "updated_at": {
      "type": "number",
      "title": "Updated At"
    },
    "receipt": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Receipt"
    }
  },
  "type": "object",
  "required": [
    "id",
    "bernstein_task_id",
    "sender",
    "message",
    "status",
    "artifacts",
    "created_at",
    "updated_at"
  ],
  "$defs": {
    "A2AArtifactResponse": {
      "properties": {
        "name": {
          "type": "string",
          "title": "Name"
        },
        "content_type": {
          "type": "string",
          "title": "Content Type"
        },
        "data": {
          "type": "string",
          "title": "Data"
        },
        "created_at": {
          "type": "number",
          "title": "Created At"
        }
      },
      "type": "object",
      "required": [
        "name",
        "content_type",
        "data",
        "created_at"
      ],
      "title": "A2AArtifactResponse",
      "description": "Single artifact in responses."
    }
  }
}

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/bernstein-run-a2-atask-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.