Skip to content

Create From Template

POST
/api/templates/{template_id}/create
curl --request POST \
--url http://localhost:8000/api/templates/example/create \
--header 'Authorization: Bearer <token>'

Create a new workbook from a template (scoped to the caller’s workspace).

template_id
required
Template Id
string
x-workspace-id
Any of:
string

Successful Response

Media typeapplication/json
Examplegenerated
example

Validation Error

Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
ctx
Context
object
input
Input
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
Examplegenerated
{
"detail": [
{
"ctx": {},
"input": "example",
"loc": [
"example"
],
"msg": "example",
"type": "example"
}
]
}