Inspect

Update artifact

Partially update a published artifact. Returns 400 when `url` or `type` is set on a `file` or `session_replay` artifact or the URL has credentials or a local/private host, and 409 when another artifact already uses the URL.

Base URL
PATCH
/api/v2/artifacts/{artifact_id}

Partially update a published artifact. Returns 400 when url or type is set on a file or session_replay artifact or the URL has credentials or a local/private host, and 409 when another artifact already uses the URL.

Authorization

bearerAuth artifacts:write
headerAuthorizationBearer <token>

API key authentication. Use your API key as the bearer token.

Scope: artifacts:write

Path Parameters

artifact_id*string

Request Body

application/json
  1. body

Provide at least one field to update. url and type can only be changed on link artifacts.

Properties1 <= properties
title?Artifacts.ArtifactTitle
Length1 <= length <= 200
description?Artifacts.ArtifactDescription
Length10 <= length <= 2000
url?Artifacts.ArtifactUrl

HTTP(S) URL without credentials or local/private host literals. Stored in WHATWG-canonical form.

Formaturi
Lengthlength <= 2048
type?Artifacts.LinkArtifactType

Types of artifacts that point at an external resource. Only these types can be created or re-categorized through the API; file and session_replay artifacts are produced by sessions.

Value in"link""doc""ticket""message""channel""dashboard""pdf""design""feature_flag"

Response Body

Artifact updated

application/json
  1. response
data*||

An artifact, discriminated by type: file and session_replay have their own shapes; every other type is a LinkArtifact.

Example Request
curl -X PATCH 'https://app.inspect.com/api/v2/artifacts/x7k2m9q4p1za' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "data": {    "id": "x7k2m9q4p1za",    "title": "Cell rollout runbook",    "description": "Steps for approving canary and production cell deployments.",    "created_at": "2026-10-28T15:42:11.204Z",    "type": "doc",    "url": "https://www.notion.so/acme/Cell-rollout-runbook-1f2e3d4c5b6a"  }}