Get version list API
Get your live model and every version in your Drivetrain workspace, using a GET request.
Use this API to list your live model and every version, and find the names you pass to versions in Get metrics bulk data API.
Method
GET
URL
https://{your_subdomain}.drivetrain.ai/drive/api/v1/public/versions
Headers
apikey (required). See Authentication and API keys.
Role
The key's user must have the Admin role.
This endpoint takes no parameters.
Example request
curl 'https://{your_subdomain}.drivetrain.ai/drive/api/v1/public/versions' \
--header 'apikey: {your_apikey}'Example response
{
"data": [
{ "name": "Current", "displayName": "FY26 Operating Plan" },
{ "name": "Budget_2026", "displayName": "Budget 2026" },
{ "name": "Q1_Forecast", "displayName": "Q1 Forecast" }
]
}Response fields
The first entry is always your live model. The other versions follow in the order they were created, including locked versions.
name
string
Version backend name. Current for your live model. For other versions, the version's name with spaces replaced by underscores.
displayName
string
For Current, your model's name (Current Plan if the model has no name). For other versions, name with underscores replaced by spaces.
Actual isn't listed, but Get metrics bulk data API accepts it and uses it by default.
Errors
401 Unauthorized
Missing or invalid apikey, or API access isn't part of your subscription.
403 Forbidden
The key's user doesn't have the Admin role.
A workspace with no versions returns 200 OK with only the Current entry.
Last updated
Was this helpful?