Skip to main content
GET
/
api
/
v0
/
template
search templates
curl --request GET \
  --url https://console.vast.ai/api/v0/template/ \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "templates_found": 5,
  "templates": [
    {
      "id": 123,
      "name": "<string>",
      "image": "<string>"
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://vastai-80aa3a82-ltxv2-serverless.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

API key must be provided in the Authorization header

Query Parameters

query
string

Search query string to match against template fields.

select_filters
object

Filters to apply on the search results.

order_by
string

Column to order the results by.

Response

Successfully retrieved templates

success
boolean
required
Example:

true

templates_found
integer
required

Number of templates found.

Example:

5

templates
object[]
required

List of templates matching the search criteria.