Get Version Content
Versions
Get Version Content
GET /v0/artifacts//versions//content — Stream raw content for a specific version
GET
Get Version Content
Stream the raw content bytes for a specific version of an artifact. The response body is the raw content with a
Example body (Markdown artifact):
Content-Type header matching the artifact’s MIME type. This endpoint is publicly accessible — no authentication required.
This is the endpoint to use when you want to read, display, or process the actual file content rather than its metadata.
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
publicId | string | Yes | The public ID of the artifact |
vid | string | Yes | The version ID whose content to retrieve |
Example Request
Response
The response is raw bytes, not a JSON envelope. TheContent-Type header reflects the MIME type of the stored content.
Example headers:
Error Codes
Errors are returned as JSON with the standard error envelope.| Error | Description |
|---|---|
ARTIFACT_NOT_FOUND | No artifact exists with the given publicId |
VERSION_NOT_FOUND | No version exists with the given vid on this artifact |