Get Template

Retrieve one flows template, together with each runnable version’s inputs and outputs. versions is empty when no published version is runnable through this API. Works for any template you can open, including templates shared with you by link or published to Explore from another workspace, which GET /v1/flows/templates does not list.

Path parameters

template_idstringRequired

The ID of the template, as shown in the ElevenLabs app or by GET /v1/flows/templates.

Headers

xi-api-keystringOptional

Query parameters

versions_per_templateintegerOptional1-10Defaults to 10

How many of each template’s published versions to return, newest first. has_more_versions tells you when a template has more.

Response

Successful Response
idstring

Pass as template_id on POST /v1/flows/templates/{template_id}/runs.

namestring
The template's name.
versionslist of objects

The published versions this caller can run, newest first. A version whose graph uses a model that is not available to you through the API is left out, as is one whose stored snapshot is gone; either way the list can be empty while the template still has versions the ElevenLabs app can run.

has_more_versionsboolean

Whether this template has further published versions beyond the versions_per_template returned here. Fetch GET /v1/flows/templates/{template_id} with a larger versions_per_template to see more of them.

descriptionstring or nullOptional
The template's description, if it has one.

Errors

422
Unprocessable Entity Error