Skills
Skills your Bash may use: upload one, give it new versions, list them.
GET/v1/skills/{skill_id}/versionsEvery version, each with a content hash.
Request3 fields
Path
skill_idstringrequiredThe skill's id (skl_...).
- Type
string
Query
limitintegerHow many items per page, 1 to 100. Default 20.
- Type
integer
cursorstringWhere to go on from: the next_cursor of the page before, unchanged. Absent: the first page.
- Type
string
Answers 2002 fields
dataobject[]The items on this page.
object"skill_version"Always skill_version.
- Type
"skill_version"
hashstringThe version's content hash.
- Type
string
parent_hashstring | nullThe version it replaced; null for the first.
- Type
string | null
created_atstringWhen it was uploaded, as an ISO 8601 date and time in UTC.
- Type
string
next_cursorstring | nullSend it as cursor for the next page; null on the last page.
- Type
string | null
No sample in your language for this route, so here it is over HTTP.
curl "$VESTRA_BASE_URL/v1/skills/{skill_id}/versions" \ -H "Authorization: Bearer $VESTRA_API_KEY"