VirtuousAI
ReferenceTemplates

List Templates

GET
/api/v1/templates

Query Parameters

template_type?|
status?|
limit?integer
Default100
Range1 <= value <= 100
offset?integer
Default0
Range0 <= value

Header Parameters

authorization?|
X-API-Key?|
vai_token?|

Response Body

application/json

application/json

curl -X GET "https://loading/api/v1/templates"
{
  "templates": [
    {
      "createdAt": "2019-08-24T14:15:22Z",
      "definition": {},
      "description": "string",
      "displayName": "string",
      "iconUrl": "string",
      "id": "string",
      "inputDefaults": {},
      "inputJsonSchema": {},
      "isActive": true,
      "kind": "string",
      "slug": "string",
      "status": "draft",
      "templateType": "connection",
      "updatedAt": "2019-08-24T14:15:22Z",
      "version": 0
    }
  ],
  "total": 0
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}