@@ -1281,6 +1281,53 @@ def admin_roles_removeAssignments(
12811281 kwargs .update ({"user_ids" : user_ids })
12821282 return self .api_call ("admin.roles.removeAssignments" , params = kwargs )
12831283
1284+ def admin_slackbot_skills_list (
1285+ self ,
1286+ * ,
1287+ category : Optional [str ] = None ,
1288+ cursor : Optional [str ] = None ,
1289+ limit : Optional [int ] = None ,
1290+ creator_ids : Optional [Union [str , Sequence [str ]]] = None ,
1291+ publish_status : Optional [str ] = None ,
1292+ auto_enabled_status : Optional [str ] = None ,
1293+ sort : Optional [str ] = None ,
1294+ sort_dir : Optional [str ] = None ,
1295+ ** kwargs ,
1296+ ) -> SlackResponse :
1297+ """Lists metadata for skills owned by the organization, including invite-only skills.
1298+
1299+ https://docs.slack.dev/reference/methods/admin.slackbot.skills.list
1300+
1301+ Args:
1302+ category: Only return skills in this category.
1303+ cursor: Continuation from the previous page. Keep all filters and sorting unchanged. Pages can be empty while a
1304+ continuation remains; continue until next_cursor is empty. Changes during traversal may move results;
1305+ pagination is not a snapshot.
1306+ limit: The maximum number of skills to return. Fewer may be returned even when more remain.
1307+ creator_ids: Only return skills created by these users. Accepts U or W user IDs.
1308+ publish_status: Filter by publication to the org catalog.
1309+ auto_enabled_status: Filter by org deployment, independently of publication.
1310+ sort: Sort across the inventory. Name uses case-insensitive ordering. Unedited skills use their creation date
1311+ for date_updated sorting.
1312+ sort_dir: Sort direction; file ID breaks ties.
1313+ """
1314+ kwargs .update (
1315+ {
1316+ "category" : category ,
1317+ "cursor" : cursor ,
1318+ "limit" : limit ,
1319+ "publish_status" : publish_status ,
1320+ "auto_enabled_status" : auto_enabled_status ,
1321+ "sort" : sort ,
1322+ "sort_dir" : sort_dir ,
1323+ }
1324+ )
1325+ if isinstance (creator_ids , (list , tuple )):
1326+ kwargs .update ({"creator_ids" : "," .join (creator_ids )})
1327+ else :
1328+ kwargs .update ({"creator_ids" : creator_ids })
1329+ return self .api_call ("admin.slackbot.skills.list" , params = kwargs )
1330+
12841331 def admin_users_session_reset (
12851332 self ,
12861333 * ,
0 commit comments