Bernstein · Schema

TaskArtifactPost

Body for POST /tasks/{task_id}/artifacts (#2553). An agent-posted, journal-anchored artifact. ``artifact_type`` selects the payload shape: ``report`` uses ``body`` (markdown); ``table`` uses ``columns`` and ``rows``; ``link`` uses ``url`` and ``link_kind`` (``preview`` / ``dashboard`` / ``document``). ``poster`` is the claim identity: a caller may only post against a task whose claim it holds. There is deliberately no progress field. Progress is a chain-computed projection of journaled work, never postable.

Artificial IntelligenceGovernanceOpen SourcePythonCLI

Properties

Name Type Description
key string
artifact_type string
poster string
body string
columns array
rows array
url string
link_kind string
sarif_result object
tool string
tool_version string
pinned_ruleset_or_feed_digest string
invocation_argv_hash string
target string
View JSON Schema on GitHub

JSON Schema

bernstein-run-task-artifact-post-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/bernstein-run/json-schema/bernstein-run-task-artifact-post-schema.json",
  "title": "TaskArtifactPost",
  "description": "Body for POST /tasks/{task_id}/artifacts (#2553).\n\nAn agent-posted, journal-anchored artifact. ``artifact_type`` selects the\npayload shape: ``report`` uses ``body`` (markdown); ``table`` uses\n``columns`` and ``rows``; ``link`` uses ``url`` and ``link_kind``\n(``preview`` / ``dashboard`` / ``document``). ``poster`` is the claim\nidentity: a caller may only post against a task whose claim it holds.\n\nThere is deliberately no progress field. Progress is a chain-computed\nprojection of journaled work, never postable.",
  "x-generated": "2026-11-02",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/bernstein-run-openapi.yaml#/components/schemas/TaskArtifactPost",
  "properties": {
    "key": {
      "type": "string",
      "maxLength": 128,
      "minLength": 1,
      "pattern": "^[A-Za-z0-9][A-Za-z0-9_.\\-]{0,127}$",
      "title": "Key"
    },
    "artifact_type": {
      "type": "string",
      "pattern": "^(report|table|link|finding)$",
      "title": "Artifact Type"
    },
    "poster": {
      "type": "string",
      "maxLength": 1000,
      "minLength": 1,
      "title": "Poster"
    },
    "body": {
      "type": "string",
      "maxLength": 1048576,
      "title": "Body",
      "default": ""
    },
    "columns": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Columns"
    },
    "rows": {
      "items": {
        "items": {
          "type": "string"
        },
        "type": "array"
      },
      "type": "array",
      "title": "Rows"
    },
    "url": {
      "type": "string",
      "maxLength": 4096,
      "title": "Url",
      "default": ""
    },
    "link_kind": {
      "type": "string",
      "maxLength": 64,
      "title": "Link Kind",
      "default": ""
    },
    "sarif_result": {
      "additionalProperties": true,
      "type": "object",
      "title": "Sarif Result"
    },
    "tool": {
      "type": "string",
      "maxLength": 1000,
      "title": "Tool",
      "default": ""
    },
    "tool_version": {
      "type": "string",
      "maxLength": 128,
      "title": "Tool Version",
      "default": ""
    },
    "pinned_ruleset_or_feed_digest": {
      "type": "string",
      "maxLength": 256,
      "title": "Pinned Ruleset Or Feed Digest",
      "default": ""
    },
    "invocation_argv_hash": {
      "type": "string",
      "maxLength": 256,
      "title": "Invocation Argv Hash",
      "default": ""
    },
    "target": {
      "type": "string",
      "maxLength": 4096,
      "title": "Target",
      "default": ""
    }
  },
  "type": "object",
  "required": [
    "key",
    "artifact_type",
    "poster"
  ]
}

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-task-artifact-post"
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.