Preview. One template, with the version that new sandboxes start from and its newest build.
GET
header
AuthorizationBearer <token>Your Munito API key.
template*stringThe name or the id of the template.
Length
length <= 64The template.
application/json- response
id*stringobject?stringDefault
"template"name*stringstatus*TemplateStatusbuilding until a version is ready, then ready. failed when no version ever built. A failed new version leaves a ready template ready.
Value in
"building""ready""failed"version?|The version that new sandboxes start from, or null before one is ready.
image?|The image of that version.
digest?|The digest of that version's manifest.
size_bytes?|The bytes of the files of that version.
build*The newest version, which can still build.
created_at*integerUnix seconds.
updated_at*integerUnix seconds.
curl -X GET 'https://api.munito.ai/sandboxes/v1/templates/string'Example Response
{
"id": "string",
"object": "template",
"name": "string",
"status": "building",
"version": 0,
"image": "string",
"digest": "string",
"size_bytes": 0,
"build": {
"version": 0,
"image": "string",
"status": "building",
"digest": "string",
"error": {
"code": "string",
"message": "string"
},
"log": "",
"started_at": 0,
"ended_at": 0
},
"created_at": 0,
"updated_at": 0
}