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)

Output

OK

By default dci renders the result as a table. Use --output json to get the full structure described below — see Output formats.

FieldTypeDescription
itemsarray of object
items[].idstringUnique identifier of the template.
items[].namestringHuman-readable display name of the template.
items[].descriptionstringShort summary of what the template does and which use case it addresses.
items[].instructionsstringStep-by-step operator guidance for configuring a flow created from this template. null when no instructions have been authored.
items[].createTimestring (date-time)ISO 8601 (UTC) creation timestamp.
items[].updateTimestring (date-time)ISO 8601 (UTC) last-modified timestamp. null if never modified.
pageTokenstringOpaque cursor for the next page. null when there are no more results.
rowCountintegerTotal number of templates matching the current query.
Raw JSON schema
{
"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."
}
}
}

Errors

On failure, dci prints a single error message — with a hint when one is available — and exits with a typed code your scripts can branch on. See Errors and exit codes for the full contract.

HTTP statusExit codeError codeMeaning
40030VALIDATION_ERRORThe arguments or request body were rejected. Review the command's flags and payload.
40110AUTHENTICATION_FAILEDNot signed in, or the API token is invalid. Run dci login or check DCI_API_KEY.
40311PERMISSION_DENIEDThe DoiT user or the active customer context does not have access.
50040API_SERVER_ERRORThe API failed to process the request. Retryable; contact DoiT support if it persists.

Aliases: listcloudflowtemplates