Templates

List a template's skill versions

Every write of the template's skill, newest first, cursor-paginated — the 50 newest are kept per template, older ones are pruned on the next write. Restoring a version is an ordinary PATCH /template/{id} { skill } with its text, which records a new version. Requires edit access or ownership: 404 when the caller cannot see the template, 403 when they can see it below edit.

get/template/{id}/skill-version

Request

  • Base URL: https://api.elaichi.ai
  • URL: https://api.elaichi.ai/template/{id}/skill-version
  • Auth: HTTP bearer

Path parameters

idstring required

Template id (tpl_…).

Query parameters

limitinteger

Page size. Defaults to 50. Values above 200 are silently clamped to 200 rather than rejected; a value below 1, or a non-integer, is a 400. Ignored by the endpoints documented as unpaginated.

cursorstring

Opaque cursor — pass the next_cursor from a previous response. Ignored by unpaginated endpoints.

Headers

X-Organization-Idstring

Target organization (org_…). Required for cookie/session auth on org-scoped routes; optional for API tokens, which carry their organization, and rejected when it names a different one.

Response

OK

next_cursorstring nullable required
prev_cursorstring nullable required

Changes

No recorded changes to this operation across all 1 revision of this API.