GET
/
api
/
v1
/
permissions
/
Python (SDK)
import os
from syllable_sdk import SyllableSDK


with SyllableSDK(
    api_key_header=os.getenv("SYLLABLESDK_API_KEY_HEADER", ""),
) as ss_client:

    res = ss_client.permissions.list()

    # Handle response
    print(res)
[
  {
    "name": "Agents",
    "description": "View agents, create and edit agent configurations, and delete agents.",
    "permissions": [
      {
        "name": "agents_read",
        "display_name": "View",
        "description": "Fetch agent information"
      }
    ]
  }
]

Authorizations

Syllable-API-Key
string
header
required

Response

200 - application/json

Successful Response

The response is of type PermissionGroupResponse · object[].