Skip to content

Get a release

Returns one published release of a product and its artifacts. The version is an exact version or latest.

GET /v1/products/{product}/releases/{version}

Use cases

  • Show the newest release and its download links on a download page.
  • Show the notes and the files of one version.
  • Read the SHA-256 and the signature of a file before your application installs it.

To find out whether a newer version than the running one exists, use Check for an update.

Versions

{version} is an exact version, such as 2.1.0 or 2.1.0-beta.1, or the word latest.

  • An exact version returns that release. Send the version without a v prefix. The channel and constraint parameters do not change the result.
  • latest returns the newest release in the channel and the constraint. The rules are in Newest release. Without a channel, latest uses stable.
  • A version with build metadata, such as 2.1.0+42, can have the plus sign as is or encoded as %2B.

When no published release matches, the answer has the status 200. valid is false, and reason is release_not_found:

{
  "valid": false,
  "reason": "release_not_found",
  "release": null
}

A draft and a yanked release get the same answer, even with a valid license key.

License checks

Get a release checks the license key when the request sends one. A refused license answers with the status 200. valid is false, reason names the refusal, and release is null.

The reason is product_mismatch, suspended, expired or release_not_covered. See License checks.

A license that expired under the Perpetual fallback rule gets only the releases that were published on or before its expiry date. A backdated release counts as published on its backdated date.

  • latest returns the newest of these releases.
  • An exact version of a release that was published later answers with the reason release_not_covered.

Get a release changes no license and records no activity.

Authentication

Send the license key of the customer. A product with the open distribution setting does not require a key. See Authentication.

Request

{product} is the ID of the product. {version} is an exact version or latest. See Versions. The request has no body.

HeaderRequiredDescription
Seatify-License-KeyFor a licensed productThe license key of the customer. For an open product, a key that the request sends must be valid.
Seatify-NonceNoA new random value that the signature includes. See Signed responses.
Seatify-Signing-KeyNoThe key ID of the signing key in your application. See Signed responses.
ParameterTypeRequiredDescription
channelstringNoThe channel for latest. The release is from this channel or a more stable channel. The dev channel returns only dev releases. The default is stable. An exact version ignores it.
constraintstringNoFor latest. A major version, such as 2, or a major and minor version, such as 2.1. The constraint 2 allows only 2.x.y versions. The constraint 2.1 allows only 2.1.y versions. An exact version ignores it.

Response

FieldTypeDescription
validbooleantrue when the response has a release.
reasonstring or nullThe reason when there is no release. It is null when valid is true. See Versions and License checks.
releaseobject or nullThe release. See Release. It is null when valid is false.

Release

FieldTypeDescription
idstringThe ID of the release.
versionstringThe version of the release, such as 2.1.0 or 2.1.0-beta.1.
channelstringThe channel of the release: stable, rc, beta, alpha or dev.
namestring or nullThe name of the release.
notesstring or nullThe release notes.
published_atstringThe time when the release was first published.
artifactsarrayThe files of the release. See Artifact. Only files whose upload has finished are listed.

Artifact

FieldTypeDescription
idstringThe ID of the artifact.
filenamestringThe name of the file.
filetypestring or nullThe file type from the extension of the filename, such as dmg or tar.gz. It is null when the filename has no extension.
platformstring or nullThe platform of the file, such as darwin.
archstring or nullThe architecture of the file, such as arm64.
content_typestringThe content type of the file.
sizeintegerThe size of the file in bytes.
sha256stringThe SHA-256 of the file in lower-case hex.
signaturestringThe Ed25519 signature of the file in base64. See Verifying files.
signing_key_idstringThe ID of the signing key that made the signature.
vendor_signaturestring or nullThe signature for your update framework, such as a Tauri or Sparkle signature.
urlstringThe download URL of the file. See Download an artifact.

Errors

StatusReasonDescription
400The channel must be stable, rc, beta, alpha or dev.channel has another value. This also applies to an exact version.
400The constraint must be a major version, or a major and minor version, such as 2 or 2.1.constraint is not a major version or a major and minor version. This also applies to an exact version.
400The signing key is not known.Your organization has no signing key with the ID in Seatify-Signing-Key.
400The nonce must be at most 255 characters.The value of Seatify-Nonce is too long.
401A license key is required.The product is licensed, and the request has no Seatify-License-Key header, or the header is empty.
401The license key is not valid.No license in your account has this key. This applies to an open product too.
404The product was not found.No product has this ID.
429There are too many requests. Try again later.See Rate limits.

A version that is not found is not an error. See Versions.

The error of a query parameter is in the errors field, under the name of the parameter. See Errors.

Example

Get the newest stable release of a product.

curl https://dist.seatify.dev/v1/products/$PRODUCT_ID/releases/latest \
  -H "Seatify-License-Key: $LICENSE_KEY"
{
  "valid": true,
  "reason": null,
  "release": {
    "id": "<release id>",
    "version": "1.4.0",
    "channel": "stable",
    "name": null,
    "notes": "Updates through Sparkle.",
    "published_at": "2026-09-21T23:00:00Z",
    "artifacts": [
      {
        "id": "<artifact id>",
        "filename": "BEACON-1.4.0.zip",
        "filetype": "zip",
        "platform": "darwin",
        "arch": "universal",
        "content_type": "application/zip",
        "size": 53,
        "sha256": "<sha256>",
        "signature": "<signature>",
        "signing_key_id": "<signing key id>",
        "vendor_signature": "<vendor signature>",
        "url": "https://dist.seatify.dev/v1/products/<product id>/releases/1.4.0/artifacts/BEACON-1.4.0.zip"
      },
      {
        "id": "<artifact id>",
        "filename": "BEACON-1.4.0-arm64-setup.exe",
        "filetype": "exe",
        "platform": "windows",
        "arch": "arm64",
        "content_type": "application/vnd.microsoft.portable-executable",
        "size": 50,
        "sha256": "<sha256>",
        "signature": "<signature>",
        "signing_key_id": "<signing key id>",
        "vendor_signature": "<vendor signature>",
        "url": "https://dist.seatify.dev/v1/products/<product id>/releases/1.4.0/artifacts/BEACON-1.4.0-arm64-setup.exe"
      }
    ]
  }
}