curl --location --request GET 'http://127.0.0.1:5678/api/role/list?all=false' \
--header 'Authorization: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHBpcmVkIjoxNzI5MTQ2NzQzLCJ1c2VyX2lkIjo0fQ.Rhk2XHTo-x55Ry2zHfcE2M9XcgdFo1DkTPDhhwg8Bk4'
{
"code": 0,
"data": [
{
"id": 0,
"created_at": 0,
"updated_at": 0,
"key": "string",
"name": "string",
"context": [
{
"role": "string",
"content": "string"
}
],
"hello_msg": "string",
"icon": "string",
"enable": true,
"sort": 0,
"model_id": 0,
"model_name": "string"
}
],
"message": "string"
}