Skip to main content
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": "<string>",
    "description": "<string>",
    "permissions": [
      {
        "name": "<string>",
        "display_name": "<string>",
        "description": "Fetch agent information"
      }
    ]
  }
]

Authorizations

Syllable-API-Key
string
header
required

Response

200 - application/json

Successful Response

name
string
required

Name of the permission group

Example:

"Agents"

description
string
required

Description of the permission group

Example:

"View agents, create and edit agent configurations, and delete agents."

permissions
PermissionResponse · object[]
required

Permissions in the group