Toolboxes

Get one toolbox skill version with its text

Same access rule as the list. A version id that belongs to a different toolbox is a 404.

get/toolbox/{id}/skill-version/{versionId}

Request

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

Path parameters

idstring required

Stored toolbox id (tbx_…).

versionIdstring required

Version id (skv_…).

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

idstring

Version id (skv_…).

kind'written' | 'reaffirmed' | 'cleared' | 'copied'

written: new text. reaffirmed: the same text saved again ("still accurate"). cleared: the skill was removed. copied: a toolbox stamped from a template started with its skill.

excerptstring nullable

The opening of the text as one plain line, at most 200 code points. Null for cleared.

char_countinteger

Length in Unicode code points; 0 for cleared.

authorstring nullable

Who made this write (usr_…).

author_labelstring nullable

Their name, else email. Null beside a non-null author: no longer a member.

origin_template_idstring nullable

copied rows: the template it came from.

origin_template_namestring nullable

Its current name; null once deleted.

created_atstring date-time
is_currentboolean

True on the newest version — the text the resource holds now.

matches_currentboolean

True when this version's text equals the resource's current skill (restoring it would change nothing). Not the same as is_current: a later "still accurate" save repeats an older version's text, and both match.

skillstring nullable

The full text of this version; null for cleared.

Changes

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