List compute versions
Experimental endpoint: this API is in active development and may change at any time without notice. Returns all compute versions the token has access to, ordered by creation time (newest first). Optionally filter by compute service ID. Supports cursor-based pagination.
⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️
Returns all compute versions the token has access to, ordered by creation time (newest first). Optionally filter by compute service ID. Supports cursor-based pagination.
GET
/v1/versionsAuthorizationBearer <token>
OAuth2 authentication
In: header
Scope: workspace:admin, offline_access
Query Parameters
cursor?|
Cursor for pagination
limit?number
Limit for pagination
Default
100computeServiceId?string
Match
^(cps_)?([cC][^\s-]{8,}|[a-z0-9]+)$Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://api.prisma.io/v1/versions"{
"data": [
{
"id": "string",
"type": "compute-version",
"url": "http://example.com",
"foundryVersionId": "string",
"createdAt": "2019-08-24T14:15:22Z"
}
],
"pagination": {
"nextCursor": "string",
"hasMore": true
}
}{
"error": {
"code": "string",
"message": "string",
"hint": "string"
}
}{
"error": {
"code": "string",
"message": "string",
"hint": "string"
}
}{
"error": {
"code": "string",
"message": "string",
"hint": "string"
}
}{
"error": {
"code": "string",
"message": "string",
"hint": "string"
}
}