Skip to main content

Download a PaletteAI profile version by file name

GET 

/v2/download/profile/ai/:versionid/:type/:slug

Returns a short-lived signed download URL: a 302 redirect by default, or a JSON body {"url": "...", "expires_at": "..."} when the request sends Accept: application/json. Downloads a file for one PaletteAI profile version: the profile archive (download_url) or its signature (signature_bin_url). versionid is the profile version id (profileVersionId in PaletteAI profile responses) and is unique on its own. The artifact.url fields in PaletteAI profile responses already point here. Requires a token. Gated and private profiles also require your organization to be entitled to one of the profile's entitledClasses. The trailing slug is the file name shown in the browser and on error pages; it does not change which file is returned. Errors are returned as the v2 JSON error envelope when the request accepts application/json or application/problem+json, otherwise as an HTML page.

Request​

Responses​

Signed download URL; returned when the Accept header asks for application/json (browsers get a 302 instead)