PostHog · Schema

TaskRunArtifactUpload

A/B TestingAnalyticsFeature FlagsOpen-SourceProduct AnalyticsSession Recording

Properties

Name Type Description
name string File name to associate with the artifact
type object Classification for the artifact * `plan` - plan * `context` - context * `reference` - reference * `output` - output * `artifact` - artifact * `tree_snapshot` - tree_snapshot * `user_attachment` - user
source string Optional source label for the artifact, such as agent_output or user_attachment
content string Artifact contents encoded according to content_encoding
content_encoding object Encoding used for content. Use base64 for binary files and utf-8 for text payloads. * `utf-8` - utf-8 * `base64` - base64
content_type string Optional MIME type for the artifact
View JSON Schema on GitHub

JSON Schema

posthog-taskrunartifactupload-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/TaskRunArtifactUpload",
  "title": "TaskRunArtifactUpload",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "File name to associate with the artifact",
      "maxLength": 255
    },
    "type": {
      "allOf": [
        {
          "$ref": "#/components/schemas/TaskRunArtifactTypeEnum"
        }
      ],
      "description": "Classification for the artifact\n\n* `plan` - plan\n* `context` - context\n* `reference` - reference\n* `output` - output\n* `artifact` - artifact\n* `tree_snapshot` - tree_snapshot\n* `user_attachment` - user_attachment"
    },
    "source": {
      "type": "string",
      "default": "",
      "description": "Optional source label for the artifact, such as agent_output or user_attachment",
      "maxLength": 64
    },
    "content": {
      "type": "string",
      "description": "Artifact contents encoded according to content_encoding"
    },
    "content_encoding": {
      "allOf": [
        {
          "$ref": "#/components/schemas/ContentEncodingEnum"
        }
      ],
      "default": "utf-8",
      "description": "Encoding used for content. Use base64 for binary files and utf-8 for text payloads.\n\n* `utf-8` - utf-8\n* `base64` - base64"
    },
    "content_type": {
      "type": "string",
      "description": "Optional MIME type for the artifact",
      "maxLength": 255
    }
  },
  "required": [
    "content",
    "name",
    "type"
  ]
}

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/posthog-taskrunartifactupload"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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.