Skill Versions
Inspect version history and snapshots for a skill.
Skill Versions object
Attributes
object
Stringid
Stringskill_id
Stringstore_id
Stringstore_version_id
Stringversion_number
Numbercreated_at
Date{"object": "skill.version"}
List skill versions
Returns a paginated list of versions for a specific skill.
URL Parameters
skill_id
StringThe unique identifier for the skill
Query Parameters
limit
NumberOptionalafter
StringOptionalbefore
StringOptionalcursor
StringOptionalorder
EnumOptionalGEThttp://api.metorial.com/skills/:skill_id/versions
curl -X GET "https://api.metorial.com/skills/ski_Rm4Mnheq2bfEPhBhP7SY/versions" \-H "Authorization: Bearer metorial_sk_..."
Get skill version by ID
Retrieves a specific skill version by its ID.
URL Parameters
skill_id
StringThe unique identifier for the skill
skill_version_id
StringThe unique identifier for the skill_version
GEThttp://api.metorial.com/skills/:skill_id/versions/:skill_version_id
curl -X GET "https://api.metorial.com/skills/ski_Rm4Mnheq2bfEPhBhP7SY/versions/ski_Rm4Mnheq2bfEPhBhP7SY" \-H "Authorization: Bearer metorial_sk_..."
Get skill version snapshot
Retrieves the store-backed snapshot for a specific skill version.
URL Parameters
skill_id
StringThe unique identifier for the skill
skill_version_id
StringThe unique identifier for the skill_version
GEThttp://api.metorial.com/skills/:skill_id/versions/:skill_version_id/snapshot
curl -X GET "https://api.metorial.com/skills/ski_Rm4Mnheq2bfEPhBhP7SY/versions/ski_Rm4Mnheq2bfEPhBhP7SY/snapshot" \-H "Authorization: Bearer metorial_sk_..."