For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Dashboard
User GuideDeveloper GuidesAPI Reference
User GuideDeveloper GuidesAPI Reference
    • Overview
  • Runtype API
      • GETPreview asset
      • GETGet asset
Dashboard
LogoLogo
Runtype APIAssets

Get asset

GET
/v1/assets/:orgId/:assetId
GET
/v1/assets/:orgId/:assetId
$curl https://api.runtype.com/v1/assets/orgId/assetId \
> -H "Authorization: <apiKey>"

Serve an asset from R2 storage with proper headers. Public assets served immediately; private assets require signed URL.

Was this page helpful?
Previous

Get current user info

Next
Built with

Authentication

AuthorizationBearer
API key or Clerk session token

Path parameters

orgIdstringRequired
assetIdstringRequired

Query parameters

sigstringOptional

HMAC-SHA256 signature for private assets

expstringOptional
Expiration timestamp for signed URL

Response

Asset content. The Content-Type reflects the stored asset (e.g. image/png, image/jpeg), defaulting to application/octet-stream.

Errors

403
Forbidden Error
404
Not Found Error
500
Internal Server Error
503
Service Unavailable Error