action stream_io_api_list_roles { label: "List roles" description: "Lists all available roles" provider: stream_io_api method: GET path: "/roles" encoding: json output: { type: "object" required: ["duration", "roles"] properties: { duration: { type: "string" description: "Duration of the request in human-readable format" } roles: { type: "array" items: { type: "object" required: ["name", "custom", "scopes", "created_at", "updated_at"] properties: { created_at: { type: "string" format: "date-time" description: "Date/time of creation" } custom: { type: "boolean" description: "Whether this is a custom role or built-in" } name: { type: "string" description: "Unique role name" } scopes: { type: "array" description: "List of scopes where this role is currently present. `.app` means that role is present in app-level grants" items: { type: "string" } } updated_at: { type: "string" format: "date-time" description: "Date/time of the last update" } } } } } } }