Shares
A share, or grant, gives one person or everyone in a permission group access to a resource you own: a skill, a custom HTTP tool, an MCP server, an agent or a workspace. What a grant gives depends on the resource type, as described under resource_type in Share a resource. Only the owner of a resource can list, create or revoke its shares.
A resource is addressed by its type and id. Sharing with a grantee who already has a grant updates that grant instead of adding a second one, and revoking a grant removes the access it gave.
The share object
One grant of access to a resource.
Attributes
-
idstringUnique identifier for the grant (a UUID).
-
resource_typestringType of the shared resource.
Possible values-
skill -
tool -
mcp_server -
agent -
workspace
-
-
resource_idstringId of the shared resource. For skills this is always the skill's
id, even when you shared it by name. -
grantee_typestringWhether the grant is for one person or for a permission group.
Possible values-
user -
group
-
-
grantee_idintegerId of the user or permission group that received access.
-
permissionstringPermission recorded on the grant.
Possible values-
use -
edit
-
-
granted_by_user_idnullable integerId of the user who created or last changed the grant.
-
created_atstringWhen the grant was created (UTC, ISO 8601).
{
"id": "6e2b9d4f-1a7c-4f35-b8e0-2d9c5a1f7e46",
"resource_type": "skill",
"resource_id": "b7e3d2a1-5c4f-4e8b-a9d6-1f2e3c4b5a69",
"grantee_type": "user",
"grantee_id": 57,
"permission": "use",
"granted_by_user_id": 42,
"created_at": "2026-09-03T08:20:15.674302"
}