Skip to Content
SeyloDocs
API referenceTemplates

Read a template's files

GET
/api/v1/templates.source

Returns a template's meta.yaml and index.ts, for reading a built-in template or editing one added on this panel.

Any signed-in caller. Available to MCP clients and the assistant.

Authorization

cookieseylo_session<token>

Query Parameters

slug*string
Match^[a-z0-9][a-z0-9-]*$
Length1 <= length <= 60

Response Body

Success.

application/json
  1. response
metaYaml*string
source*string
builtIn*boolean
Example Request
curl -X GET 'https://example.com/api/v1/templates.source?slug=string'
Example Response
{  "metaYaml": "string",  "source": "string",  "builtIn": true}