Skill Exports

Export skills, skill plugins, and skill marketplaces as zip files.

Skill Exports object

Attributes

object

String

id

String

target

Enum

status

Enum

file

ObjectNullable

file_link

ObjectNullable

created_by

ObjectNullable

created_at

Date

started_at

DateNullable

completed_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

NumberOptional

after

StringOptional

before

StringOptional

cursor

StringOptional

order

EnumOptional

id

UnionOptional

target

UnionOptional

status

UnionOptional
GEThttp://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

String

The 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

Enum

skill_id

StringOptional

skill_plugin_id

StringOptional

skill_marketplace_id

StringOptional
POSThttp://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"
}'