List

List information about all templates available to either the current authenticated user or the team, if the user belongs to a team. The list method takes an optional first argument to limit the returned template objects.

Examples

# HTTP request:
https://api.paperspace.io
GET /templates/getTemplates
x-api-key: 1ba4f98e7c0...
# Returns 200 on success

Parameters

Name

Type

Attributes

Description

id

string

<optional>

Optional template id to match on

name

string

<optional>

Optional name to match on

label

string

<optional>

Optional label to match on

os

string

<optional>

Optional os to match on

dtCreated

string

<optional>

Optional datetime created value to match on

teamId

string

<optional>

Optional teamId to match on

userId

string

<optional>

Optional userId to match on

region

string

<optional>

Optional region to match on

Returns

[ template, ... ] - JSON array of template objects

Type array

Last updated