Skip to navigation

Issue a short-lived link to a result Asset

A link that shows one of your result assets (purpose: result) to a person, with no API key, for five minutes: for a hosted agent that must hand a result over without relaying its bytes. Send {"purpose": "result_preview"}; any other purpose is a 400. Show the url once and never store it: it carries the link’s secret, which is stored only as a digest. The link serves only GET and HEAD, under Cache-Control: private, no-store, Referrer-Policy: no-referrer and X-Robots-Tag: noindex; an unknown, expired or deleted link answers one plain 404. An input asset, another account’s asset and one that does not exist all answer 404 ASSET_NOT_FOUND. Every call issues a new link. Served only where preview links are enabled for your environment.

Authentication

X-API-Keystring

API key for one environment of your account. Keep server-side; never expose in browser clients.

Path parameters

asset_idstringRequired

Request

This endpoint expects an object.
purposestringRequired

Response

A link that shows the result image for five minutes
expires_atdatetime
purposestring
urlstring

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
429
Too Many Requests Error
503
Service Unavailable Error