PostHog · Schema
TaskRunArtifactPrepareUploadResponse
A/B TestingAnalyticsFeature FlagsOpen SourceProduct AnalyticsSession Recording
Properties
| Name | Type | Description |
|---|---|---|
| id | string | Stable identifier for the prepared artifact within this run |
| 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 artifact |
| expires_in | integer | Presigned POST expiry in seconds |
| presigned_post | object | Presigned S3 POST configuration for uploading the file |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/TaskRunArtifactPrepareUploadResponse",
"title": "TaskRunArtifactPrepareUploadResponse",
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Stable identifier for the prepared artifact within this run"
},
"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 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"
]
}