Endpoint
Query parameters
The product slug to look up versions for.Example:
terraform-enterprise, vaultThe legacy alias ptfe-releases is automatically mapped to terraform-enterprise.The full document path in the format
doc#<path/to/document>.The path after # should be the complete path including any product base path prefix.Examples:doc#docs/internalsdoc#cdktf/api-reference/python/classes
Example requests
Response
Returns a JSON object with aversions array. The array is empty if no versions contain the requested document.
200
200 (no matching versions)
Response fields
Array of version strings where the requested document exists. Returns an empty array when no versions match — this mirrors the behavior of the existing content API.Version strings follow one of two formats:
- Semver-style:
v1.9.x - Date-based (for Terraform Enterprise):
v20220610-01
Error responses
| Status | Body | Cause |
|---|---|---|
400 | Missing \product` query parameter…` | The product parameter was not provided. |
400 | Missing \fullPath` query parameter…` | The fullPath parameter was not provided. |
404 | Not found | The product slug is not in the product configuration. |