provider tasks POST /api/projects/{project_id}/tasks/{task_id}/runs/{run_id}/living_artifacts/
@utdk/posthog /api/projects/{project_id}/tasks/{task_id}/runs/{run_id}/living_artifacts/
Create a living artifact for a task run
Create a stable, editable artifact handle from direct markdown/text content or an existing run artifact. Slack adapters deliver into the mapped Slack thread; document artifacts use external connector storage when available.
project_id path required
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
string
run_id path required
string
task_id path required
string

Try it

Authentication
Configure credentials for PostHog API
tasksRunsLivingArtifactsCreate
POST/api/projects/{project_id}/tasks/{task_id}/runs/{run_id}/living_artifacts/
Create a stable, editable artifact handle from direct markdown/text content or an existing run artifact. Slack adapters deliver into the mapped Slack thread; document artifacts use external connector storage when available.

Parameters

required

Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.

required
required

Input

required

Human-readable artifact name, used as the title.

Artifact format or delivery surface to create, such as document, spreadsheet, slack_canvas, or file. * `slack_message` - slack_message * `slack_canvas` - slack_canvas * `document` - document * `spreadsheet` - spreadsheet * `dashboard` - dashboard * `file` - file * `github_pr` - github_pr

Optional preferred external storage or delivery adapter. Slack adapters deliver into the mapped Slack thread; omitted Slack-run documents use Slack canvas, omitted Slack-run files and spreadsheets use Slack file upload, and document_connector uses a connected external document provider. * `slack_message` - slack_message * `slack_canvas` - slack_canvas * `slack_file` - slack_file * `document_connector` - document_connector * `github_pr` - github_pr

Markdown or text content for the initial artifact version.

Base64-encoded binary content for Slack file uploads or other external adapters. Prefer source_artifact_id or source_storage_path for large files that were already uploaded as run artifacts.

MIME type for content_base64 or source-backed artifacts, such as application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.

Existing run artifact id to use as the initial content source.

Existing run artifact storage_path to use as the initial content source.

Optional metadata to persist with the living artifact.

Configure credentials above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import posthog from '@utdk/posthog';

await posthog.tasksRunsLivingArtifactsCreate({
  "artifact_type": "document"
})