Skip to main content

list-cloudflow-templates

dci list-cloudflow-templates [flags]

Returns the catalogue of available CloudFlow templates (blueprints). Templates are read-only. To create a flow from a template, use POST /flows with a templateId.

Flags

--max-results: (integer default:50)

--page-token: (string)

Responses

200 (application/json)

OK

{
"type": "object",
"description": "Cursor-paginated list of CloudFlow templates.",
"required": [
"items"
],
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"description": "A read-only CloudFlow template (blueprint). Use `POST /flows` with `templateId` to create a new flow initialised from this template.",
"required": [
"id",
"name",
"createTime"
],
"properties": {
"id": {
"type": "string",
"description": "Unique identifier of the template."
},
"name": {
"type": "string",
"description": "Human-readable display name of the template."
},
"description": {
"type": "string",
"description": "Short summary of what the template does and which use case it addresses."
},
"instructions": {
"type": "string",
"nullable": true,
"description": "Step-by-step operator guidance for configuring a flow created from this template. `null` when no instructions have been authored."
},
"createTime": {
"type": "string",
"format": "date-time",
"description": "ISO 8601 (UTC) creation timestamp."
},
"updateTime": {
"type": "string",
"format": "date-time",
"nullable": true,
"description": "ISO 8601 (UTC) last-modified timestamp. `null` if never modified."
}
}
}
},
"pageToken": {
"type": "string",
"nullable": true,
"description": "Opaque cursor for the next page. `null` when there are no more results."
},
"rowCount": {
"type": "integer",
"nullable": true,
"description": "Total number of templates matching the current query."
}
}
}

400 (application/json)

Bad Request - The server cannot process the request, often due to a malformed request.

{
"type": "object",
"description": "Standard error response structure.",
"properties": {
"error": {
"type": "string",
"description": "Detailed error message."
}
}
}

401 (application/json)

Unauthorized - Invalid API key.

{
"type": "object",
"description": "Standard error response structure.",
"properties": {
"error": {
"type": "string",
"description": "Detailed error message."
}
}
}

403 (application/json)

Forbidden - The client is not authorized to perform the request.

{
"type": "object",
"description": "Standard error response structure.",
"properties": {
"error": {
"type": "string",
"description": "Detailed error message."
}
}
}

500 (application/json)

Internal Server Error - Something went wrong with the DoiT API server.

{
"type": "object",
"description": "Standard error response structure.",
"properties": {
"error": {
"type": "string",
"description": "Detailed error message."
}
}
}

Aliases: list-cloudflow-templates, listcloudflowtemplates