Skill Exports
Export skills, skill plugins, and skill marketplaces as zip files.
Skill Exports object
Attributes
object
Stringid
Stringtarget
Enumstatus
Enumfile
ObjectNullablefile_link
ObjectNullablecreated_by
ObjectNullablecreated_at
Datestarted_at
DateNullablecompleted_at
DateNullable{"object": "skill.export","target": "skill","status": "pending","file": {"object": "file","id": "fil_9jKlMnPqRsTuVwXy","status": "active","file_name": "company-logo.png","file_size": 245760,"file_type": "image/png","title": "Company Logo","purpose": "organization_logo","created_by": {"type": "organization_actor","organization_actor": {"object": "organization.actor","id": "omem_5fGhJkLmNpQrStUv","type": "member","organization_id": "org_7hNkPqRsTuVwXyZa","name": "Alex Chen","email": "[email protected]","image_url": "https://avatar-cdn.metorial.com/aimg_1234567890","teams": [{"id": "tm_3eFgHjKlMnPqRsTu","name": "Engineering","slug": "engineering","assignment_id": "tmas_8jKlMnPqRsTuVwXy"},{"id": "tm_3eFgHjKlMnPqRsTu","name": "Engineering","slug": "engineering","assignment_id": "tmas_8jKlMnPqRsTuVwXy"}]},"consumer": {"object": "consumer"}}},"file_link": {"object": "file.file_link","id": "flk_5mNpQrStUvWxYzAb","file_id": "fil_9jKlMnPqRsTuVwXy","url": "https://files.metorial.com/files/fil_9jKlMnPqRsTuVwXy/a8f3k2m9"},"created_by": {"type": "organization_actor","organization_actor": {"object": "organization.actor","id": "omem_5fGhJkLmNpQrStUv","type": "member","organization_id": "org_7hNkPqRsTuVwXyZa","name": "Alex Chen","email": "[email protected]","image_url": "https://avatar-cdn.metorial.com/aimg_1234567890","teams": [{"id": "tm_3eFgHjKlMnPqRsTu","name": "Engineering","slug": "engineering","assignment_id": "tmas_8jKlMnPqRsTuVwXy"},{"id": "tm_3eFgHjKlMnPqRsTu","name": "Engineering","slug": "engineering","assignment_id": "tmas_8jKlMnPqRsTuVwXy"}]},"consumer": {"object": "consumer"}}}
List skill exports
Returns a paginated list of skill exports.
Query Parameters
limit
NumberOptionalafter
StringOptionalbefore
StringOptionalcursor
StringOptionalorder
EnumOptionalid
UnionOptionaltarget
UnionOptionalstatus
UnionOptionalGEThttp://api.metorial.com/skill-exports
curl -X GET "https://api.metorial.com/skill-exports" \-H "Authorization: Bearer metorial_sk_..."
Get skill export
Retrieves a skill export.
URL Parameters
skill_export_id
StringThe unique identifier for the skill_export
GEThttp://api.metorial.com/skill-exports/:skill_export_id
curl -X GET "https://api.metorial.com/skill-exports/ski_Rm4Mnheq2bfEPhBhP7SY" \-H "Authorization: Bearer metorial_sk_..."
Create skill export
Creates a skill, plugin, or marketplace export.
Request Body
target
Enumskill_id
StringOptionalskill_plugin_id
StringOptionalskill_marketplace_id
StringOptionalPOSThttp://api.metorial.com/skill-exports
curl -X POST "https://api.metorial.com/skill-exports" \-H "Content-Type: application/json" \-H "Authorization: Bearer metorial_sk_..." \-d '{"target": "skill","skill_id": "example_skill_id","skill_plugin_id": "example_skill_plugin_id","skill_marketplace_id": "example_skill_marketplace_id"}'