MetorialDocs

Skill Access

Inspect who has been granted access to an instance skill.

The Skill Access object

skill_access.json
{
  "object": "skill.access",
  "skill_id": "example_skill_id",
  "grants": [
    {
      "object": "skill.access_grant",
      "level": "read",
      "subject": {
        "type": "consumer_profile"
      },
      "source": {
        "type": "direct",
        "skill_group": {}
      }
    },
    {
      "object": "skill.access_grant",
      "level": "read",
      "subject": {
        "type": "consumer_profile"
      },
      "source": {
        "type": "direct",
        "skill_group": {}
      }
    }
  ]
}
object"skill.access"required
skill_idstringrequired

Endpoints

Get skill access

GET/skills/:skill_id/access

Returns the access grants of a specific skill.

Path parameters

skill_idstringrequired

The unique identifier for the skill

Example request

curl -X GET "https://api.metorial.com/skills/ski_Rm4Mnheq2bfEPhBhP7SY/access" \
  -H "Authorization: Bearer metorial_sk_io2h4..."