PostHog · Schema

TaskStagedArtifactPrepareUploadResponse

A/B TestingAnalyticsFeature FlagsOpen SourceProduct AnalyticsSession Recording

Properties

Name Type Description
id string Stable identifier for the prepared staged artifact within this task
name string Artifact file name
type string Artifact classification (plan, context, etc.)
source string Source of the artifact, such as agent_output or user_attachment
size integer Expected upload size in bytes
content_type string Optional MIME type
storage_path string S3 object key reserved for the staged artifact
expires_in integer Presigned POST expiry in seconds
presigned_post object Presigned S3 POST configuration for uploading the file
View JSON Schema on GitHub

JSON Schema

posthog-taskstagedartifactprepareuploadresponse-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/TaskStagedArtifactPrepareUploadResponse",
  "title": "TaskStagedArtifactPrepareUploadResponse",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Stable identifier for the prepared staged artifact within this task"
    },
    "name": {
      "type": "string",
      "description": "Artifact file name"
    },
    "type": {
      "type": "string",
      "description": "Artifact classification (plan, context, etc.)"
    },
    "source": {
      "type": "string",
      "description": "Source of the artifact, such as agent_output or user_attachment"
    },
    "size": {
      "type": "integer",
      "description": "Expected upload size in bytes"
    },
    "content_type": {
      "type": "string",
      "description": "Optional MIME type"
    },
    "storage_path": {
      "type": "string",
      "description": "S3 object key reserved for the staged artifact"
    },
    "expires_in": {
      "type": "integer",
      "description": "Presigned POST expiry in seconds"
    },
    "presigned_post": {
      "allOf": [
        {
          "$ref": "#/components/schemas/S3PresignedPost"
        }
      ],
      "description": "Presigned S3 POST configuration for uploading the file"
    }
  },
  "required": [
    "expires_in",
    "id",
    "name",
    "presigned_post",
    "size",
    "storage_path",
    "type"
  ]
}