Create artifact
Publish a link artifact. If an artifact with the same canonical URL already exists, returns it unchanged with status 200 and `meta.created: false`. Returns 400 when the URL has credentials or a local/private host.
Publish a link artifact. If an artifact with the same canonical URL already exists, returns it unchanged with status 200 and meta.created: false. Returns 400 when the URL has credentials or a local/private host.
bearerAuth artifacts:writeAuthorizationBearer <token>API key authentication. Use your API key as the bearer token.
Scope: artifacts:write
application/json- body
type*Artifacts.LinkArtifactTypeTypes 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.
"link""doc""ticket""message""channel""dashboard""pdf""design""feature_flag"title*Artifacts.ArtifactTitle1 <= length <= 200url*Artifacts.ArtifactUrlHTTP(S) URL without credentials or local/private host literals. Stored in WHATWG-canonical form.
urilength <= 2048description*Artifacts.ArtifactDescription10 <= length <= 2000An artifact with the same canonical URL already existed and is returned unchanged
application/json- response
data*||An artifact, discriminated by type: file and session_replay have their own shapes; every other type is a LinkArtifact.
meta*curl -X POST 'https://app.inspect.com/api/v2/artifacts' \ -H 'Content-Type: application/json' \ -d '{ "type": "doc", "title": "Cell rollout runbook", "url": "https://www.notion.so/acme/Cell-rollout-runbook-1f2e3d4c5b6a", "description": "Steps for approving canary and production cell deployments."}'{ "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" }, "meta": { "created": true }}