Skip to main content
GET
Presigned URL for the enterprise blueprint YAML

Permissions

Requires a service user or personal access token with the ManageAccountSnapshots permission at the enterprise level.

Behavior

Returns a presigned URL for downloading the enterprise blueprint’s YAML file. The URL points to the latest version of the blueprint. The URL is valid for 10 minutes. The expires_at field gives the expiry time as a Unix timestamp. The download is served as an attachment named {blueprint_id}.yaml.

Errors

  • 404 Not Found: The blueprint does not exist, is deleted, or is not the enterprise blueprint of this account.
  • 404 Not Found with detail Blueprint has no saved contents yet: The blueprint has no stored version.

Authorizations

Authorization
string
header
required

Service User credential (prefix: cog_)

Path Parameters

blueprint_id
string
required

Response

Successful Response

Reusable presigned-URL response (10-minute TTL).

expires_at
integer
required

Unix timestamp at which the URL expires.

url
string
required

Presigned GET URL (HTTPS).