Skip to main content
GET
/
v0
/
artifacts
/
:publicId
/
content
Get Artifact Content
curl --request GET \
  --url https://api.example.com/v0/artifacts/:publicId/content
Streams the raw bytes of an artifact. The response Content-Type matches the artifact’s stored MIME type. This endpoint is public — no authentication required. Use this endpoint when you need the raw content rather than metadata. For agents reading markdown or HTML artifacts, this is the most direct path.

Path parameters

ParameterTypeRequiredDescription
publicIdstringYesUUID of the artifact
curl https://api.tokenrip.com/v0/artifacts/a1b2c3d4-e5f6-7890-abcd-ef1234567890/content

Example response

The response body is the raw artifact content with no JSON envelope. The Content-Type header reflects the artifact’s MIME type.
HTTP/1.1 200 OK
Content-Type: text/markdown; charset=utf-8
Content-Length: 4096

# Q2 Analysis

Revenue is up 12% this quarter...
For JSON metadata about the artifact (title, size, version count, etc.), use Get Artifact instead.