PostHog · Schema
TaskRunArtifactFinalizeUpload
A/B TestingAnalyticsFeature FlagsOpen SourceProduct AnalyticsSession Recording
Properties
| Name | Type | Description |
|---|---|---|
| id | string | Stable identifier returned by the prepare upload endpoint |
| name | string | File name associated 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 |
| storage_path | string | S3 object key returned by the prepare step |
| content_type | string | Optional MIME type recorded for the artifact |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/TaskRunArtifactFinalizeUpload",
"title": "TaskRunArtifactFinalizeUpload",
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Stable identifier returned by the prepare upload endpoint"
},
"name": {
"type": "string",
"description": "File name associated 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
},
"storage_path": {
"type": "string",
"description": "S3 object key returned by the prepare step",
"maxLength": 500
},
"content_type": {
"type": "string",
"description": "Optional MIME type recorded for the artifact",
"maxLength": 255
}
},
"required": [
"id",
"name",
"storage_path",
"type"
]
}