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
The ID of the template, as shown in the ElevenLabs app or by GET /v1/flows/templates.
The ID of the template, as shown in the ElevenLabs app or by GET /v1/flows/templates.
Query parameters
How many of each template's published versions to return, newest first. has_more_versions tells you when a template has more.
How many of each template's published versions to return, newest first. has_more_versions tells you when a template has more.
Headers
Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.
Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.
Response
Successful Response
Example response
{
"id": "tmpl_abc123",
"name": "Product shot",
"versions": [
{
"version_id": "ver_01hxyz",
"inputs": [
{
"id": "prompt"
}
],
"outputs": [
{
"id": "prompt"
}
]
}
]
}