OS Templates
Generated on 18 Mar 2026
https://api.paperspace.com/v1
Endpoints
GET List OS templates
/os-templates
Fetches a list of OS templates.
Query Parameters
after
optional
Fetch the next page of results after this cursor.
limit
1 – 120 optional
The number of items to fetch after this page.
orderBy
optional
Order results by one of these fields.
Default:nameorder
optional
The order to sort the results by.
Default:descname
optional
Request: /os-templates
curl -X GET \
"https://api.paperspace.com/v1/os-templates"Responses
200
Successful response
application/json
hasMore
required
Whether there are more pages of results available.
items
required
The items on this page.
Show child properties
agentType
required
The type of agent installed on the template.
availableMachineTypes
required
The machine types the template is available on.
Show child properties
isAvailable
required
Whether the template is available on this machine type.
machineTypeLabel
required
The label of the machine type.
defaultSizeGb
required Nullable
The default size of the template in gigabytes.
dtCreated
required
The date the template was created.
id
required
The ID of the template.
name
required
The name of the template.
operatingSystemLabel
required
The operating system installed on the template.
nextPage
optional
The cursor required to fetch the next page of results. i.e. ?after=nextPage. This is null when there is no next page.
default
Error response
application/json
code
required
details
optional
message
required
Response
{
"hasMore": true,
"items": [
{
"agentType": "string",
"availableMachineTypes": [],
"defaultSizeGb": 0,
"dtCreated": "2019-08-24T14:15:22Z",
"id": "string",
"name": "string",
"operatingSystemLabel": "string"
}
],
"nextPage": "string"
}{
"code": "string",
"message": "string"
}