Documentation Index Fetch the complete documentation index at: https://docs.hybridbox.io/llms.txt
Use this file to discover all available pages before exploring further.
Аутентификация
Аутентифицировать, завершать и проверять сеанс выполнения.
В примерах используется режим кода A2A. MCP предоставляет тот же режим кода через инструмент execute.
Функции
auth.authorizations.grant
auth.authorizations.grant(account_id: str, grant_kind: "capability" | "account_owner" | "super_admin", subject_id: str, subject_type: "user" | "group" | "service_account", capability_key?: str | null, resource_id?: str | null, resource_type?: "client" | "account" | "workspace" | "domain" | "dns_record" | "mailbox" | "redirect" | "forwarding" | "credential" | "tenant" | "route" | "proxy" | null) -> Session
Аутентификация: auth.authorizations.grant.
Свойство Значение Свойство Значение Требуемое разрешение auth.manageТребуется аутентификация даРежим выполнения syncВозможность auth.manageТип ресурса accountПоле ID ресурса account_idПубличный маршрут API POST /v1/public/accounts/{account_id}/auth/authorizations
Имя Тип Обязательный account_idstrда grant_kind"capability" | "account_owner" | "super_admin"да subject_idstrда subject_type"user" | "group" | "service_account"да capability_keystr | nullнет resource_idstr | nullнет resource_type"client" | "account" | "workspace" | "domain" | "dns_record" | "mailbox" | "redirect" | "forwarding" | "credential" | "tenant" | "route" | "proxy" | nullнет
Поле Тип Обязательный grant_kindstrда idstrда subject_idstrда subject_typestrда capability_keystr | nullнет created_atstr | nullнет resource_idstr | nullнет resource_typestr | nullнет revoked_atstr | nullнет
Запрос: {
"request_id" : "example" ,
"session_id" : "session_123" ,
"code" : "auth.authorizations.grant(account_id= \" 3c90c3cc-0d44-4b50-8888-8dd25736052a \" , grant_kind= \" <string> \" , subject_id= \" 3c90c3cc-0d44-4b50-8888-8dd25736052a \" , subject_type= \" <string> \" , capability_key= \" <string> \" , resource_id= \" 3c90c3cc-0d44-4b50-8888-8dd25736052a \" , resource_type= \" <string> \" )"
}
Ответ: {
"request_id" : "example" ,
"status" : "completed" ,
"result" : {
"last_value" : "<string>"
},
"responses" : [
{
"index" : 0 ,
"function" : "auth.authorizations.grant" ,
"status" : "completed" ,
"result" : "<string>"
}
],
"complexity_score" : 1
}
Запрос: {
"jsonrpc" : "2.0" ,
"id" : "example" ,
"method" : "tools/call" ,
"params" : {
"name" : "hybridbox_execute" ,
"arguments" : {
"code" : "auth.authorizations.grant(account_id= \" 3c90c3cc-0d44-4b50-8888-8dd25736052a \" , grant_kind= \" <string> \" , subject_id= \" 3c90c3cc-0d44-4b50-8888-8dd25736052a \" , subject_type= \" <string> \" , capability_key= \" <string> \" , resource_id= \" 3c90c3cc-0d44-4b50-8888-8dd25736052a \" , resource_type= \" <string> \" )"
}
}
}
Ответ: {
"jsonrpc" : "2.0" ,
"id" : "example" ,
"result" : {
"content" : [
{
"type" : "text" ,
"text" : "{ \n \" request_id \" : \" example \" , \n \" status \" : \" completed \" , \n \" result \" : { \n \" last_value \" : \" <string> \"\n }, \n \" responses \" : [ \n { \n \" index \" : 0, \n \" function \" : \" auth.authorizations.grant \" , \n \" status \" : \" completed \" , \n \" result \" : \" <string> \"\n } \n ], \n \" complexity_score \" : 1 \n }"
}
],
"isError" : false
}
}
auth.authorizations.list
auth.authorizations.list(account_id: str, capability_key?: str | null, grant_kind?: "capability" | "account_owner" | "super_admin" | null, include_revoked?: bool, subject_id?: str | null, subject_type?: "user" | "group" | "service_account" | null) -> list[Session]
Аутентификация: auth.authorizations.list.
Свойство Значение Свойство Значение Требуемое разрешение auth.manageТребуется аутентификация даРежим выполнения syncВозможность auth.manageТип ресурса accountПоле ID ресурса account_idПубличный маршрут API GET /v1/public/accounts/{account_id}/auth/authorizations
Имя Тип Обязательный account_idstrда capability_keystr | nullнет grant_kind"capability" | "account_owner" | "super_admin" | nullнет include_revokedboolнет subject_idstr | nullнет subject_type"user" | "group" | "service_account" | nullнет
Поле Тип Обязательный grant_kindstrда idstrда subject_idstrда subject_typestrда capability_keystr | nullнет created_atstr | nullнет resource_idstr | nullнет resource_typestr | nullнет revoked_atstr | nullнет
Запрос: {
"request_id" : "example" ,
"session_id" : "session_123" ,
"code" : "auth.authorizations.list(account_id= \" 3c90c3cc-0d44-4b50-8888-8dd25736052a \" , capability_key= \" <string> \" , grant_kind= \" <string> \" , include_revoked=true, subject_id= \" 3c90c3cc-0d44-4b50-8888-8dd25736052a \" , subject_type= \" <string> \" )"
}
Ответ: {
"request_id" : "example" ,
"status" : "completed" ,
"result" : {
"last_value" : "<string>"
},
"responses" : [
{
"index" : 0 ,
"function" : "auth.authorizations.list" ,
"status" : "completed" ,
"result" : "<string>"
}
],
"complexity_score" : 1
}
Запрос: {
"jsonrpc" : "2.0" ,
"id" : "example" ,
"method" : "tools/call" ,
"params" : {
"name" : "hybridbox_execute" ,
"arguments" : {
"code" : "auth.authorizations.list(account_id= \" 3c90c3cc-0d44-4b50-8888-8dd25736052a \" , capability_key= \" <string> \" , grant_kind= \" <string> \" , include_revoked=true, subject_id= \" 3c90c3cc-0d44-4b50-8888-8dd25736052a \" , subject_type= \" <string> \" )"
}
}
}
Ответ: {
"jsonrpc" : "2.0" ,
"id" : "example" ,
"result" : {
"content" : [
{
"type" : "text" ,
"text" : "{ \n \" request_id \" : \" example \" , \n \" status \" : \" completed \" , \n \" result \" : { \n \" last_value \" : \" <string> \"\n }, \n \" responses \" : [ \n { \n \" index \" : 0, \n \" function \" : \" auth.authorizations.list \" , \n \" status \" : \" completed \" , \n \" result \" : \" <string> \"\n } \n ], \n \" complexity_score \" : 1 \n }"
}
],
"isError" : false
}
}
auth.authorizations.revoke
auth.authorizations.revoke(account_id: str, grant_id: str) -> {}
Аутентификация: auth.authorizations.revoke.
Свойство Значение Свойство Значение Требуемое разрешение auth.manageТребуется аутентификация даРежим выполнения syncВозможность auth.manageТип ресурса accountПоле ID ресурса account_idПубличный маршрут API DELETE /v1/public/accounts/{account_id}/auth/authorizations/{grant_id}
Имя Тип Обязательный account_idstrда grant_idstrда
Поле Тип Обязательный result{}да
Запрос: {
"request_id" : "example" ,
"session_id" : "session_123" ,
"code" : "auth.authorizations.revoke(account_id= \" 3c90c3cc-0d44-4b50-8888-8dd25736052a \" , grant_id= \" 3c90c3cc-0d44-4b50-8888-8dd25736052a \" )"
}
Ответ: {
"request_id" : "example" ,
"status" : "completed" ,
"result" : {
"last_value" : {}
},
"responses" : [
{
"index" : 0 ,
"function" : "auth.authorizations.revoke" ,
"status" : "completed" ,
"result" : {}
}
],
"complexity_score" : 1
}
Запрос: {
"jsonrpc" : "2.0" ,
"id" : "example" ,
"method" : "tools/call" ,
"params" : {
"name" : "hybridbox_execute" ,
"arguments" : {
"code" : "auth.authorizations.revoke(account_id= \" 3c90c3cc-0d44-4b50-8888-8dd25736052a \" , grant_id= \" 3c90c3cc-0d44-4b50-8888-8dd25736052a \" )"
}
}
}
Ответ: {
"jsonrpc" : "2.0" ,
"id" : "example" ,
"result" : {
"content" : [
{
"type" : "text" ,
"text" : "{ \n \" request_id \" : \" example \" , \n \" status \" : \" completed \" , \n \" result \" : { \n \" last_value \" : {} \n }, \n \" responses \" : [ \n { \n \" index \" : 0, \n \" function \" : \" auth.authorizations.revoke \" , \n \" status \" : \" completed \" , \n \" result \" : {} \n } \n ], \n \" complexity_score \" : 1 \n }"
}
],
"isError" : false
}
}
auth.groups.create
auth.groups.create(account_id: str, payload: {"account_id": str, "name": str, "attributes"?: {} | null, "description"?: str | null}) -> Session
Аутентификация: auth.groups.create.
Свойство Значение Свойство Значение Требуемое разрешение auth.manageТребуется аутентификация даРежим выполнения syncВозможность auth.manageТип ресурса accountПоле ID ресурса account_idПубличный маршрут API POST /v1/public/accounts/{account_id}/auth/groups
Имя Тип Обязательный account_idstrда namestrда attributes{} | nullнет descriptionstr | nullнет
Поле Тип Обязательный account_idstrда idstrда keycloak_namestrда namestrда attributes{}нет descriptionstr | nullнет keycloak_account_idstr | nullнет linked_scopes[{"resource_id": str, "resource_type": str}]нет parent_idstr | nullнет pathstr | nullнет permission_context{"assigned_bundle_keys"?: [str], "direct_capability_keys"?: [str], "owner_assignments"?: [{"account_id": str}], "resolved_capability_keys"?: [str], "status"?: str, "subject_id"?: str, "subject_type"?: str}нет subgroup_ids[str]нет
Запрос: {
"request_id" : "example" ,
"session_id" : "session_123" ,
"code" : "auth.groups.create(account_id= \" 3c90c3cc-0d44-4b50-8888-8dd25736052a \" , payload= \" <string> \" )"
}
Ответ: {
"request_id" : "example" ,
"status" : "completed" ,
"result" : {
"last_value" : "<string>"
},
"responses" : [
{
"index" : 0 ,
"function" : "auth.groups.create" ,
"status" : "completed" ,
"result" : "<string>"
}
],
"complexity_score" : 1
}
Запрос: {
"jsonrpc" : "2.0" ,
"id" : "example" ,
"method" : "tools/call" ,
"params" : {
"name" : "hybridbox_execute" ,
"arguments" : {
"code" : "auth.groups.create(account_id= \" 3c90c3cc-0d44-4b50-8888-8dd25736052a \" , payload= \" <string> \" )"
}
}
}
Ответ: {
"jsonrpc" : "2.0" ,
"id" : "example" ,
"result" : {
"content" : [
{
"type" : "text" ,
"text" : "{ \n \" request_id \" : \" example \" , \n \" status \" : \" completed \" , \n \" result \" : { \n \" last_value \" : \" <string> \"\n }, \n \" responses \" : [ \n { \n \" index \" : 0, \n \" function \" : \" auth.groups.create \" , \n \" status \" : \" completed \" , \n \" result \" : \" <string> \"\n } \n ], \n \" complexity_score \" : 1 \n }"
}
],
"isError" : false
}
}
auth.groups.delete
auth.groups.delete(account_id: str, group_id: str) -> {}
Аутентификация: auth.groups.delete.
Свойство Значение Свойство Значение Требуемое разрешение auth.manageТребуется аутентификация даРежим выполнения syncВозможность auth.manageТип ресурса accountПоле ID ресурса account_idПубличный маршрут API DELETE /v1/public/accounts/{account_id}/auth/groups/{group_id}
Имя Тип Обязательный account_idstrда group_idstrда
Поле Тип Обязательный result{}да
Запрос: {
"request_id" : "example" ,
"session_id" : "session_123" ,
"code" : "auth.groups.delete(account_id= \" 3c90c3cc-0d44-4b50-8888-8dd25736052a \" , group_id= \" 3c90c3cc-0d44-4b50-8888-8dd25736052a \" )"
}
Ответ: {
"request_id" : "example" ,
"status" : "completed" ,
"result" : {
"last_value" : {}
},
"responses" : [
{
"index" : 0 ,
"function" : "auth.groups.delete" ,
"status" : "completed" ,
"result" : {}
}
],
"complexity_score" : 1
}
Запрос: {
"jsonrpc" : "2.0" ,
"id" : "example" ,
"method" : "tools/call" ,
"params" : {
"name" : "hybridbox_execute" ,
"arguments" : {
"code" : "auth.groups.delete(account_id= \" 3c90c3cc-0d44-4b50-8888-8dd25736052a \" , group_id= \" 3c90c3cc-0d44-4b50-8888-8dd25736052a \" )"
}
}
}
Ответ: {
"jsonrpc" : "2.0" ,
"id" : "example" ,
"result" : {
"content" : [
{
"type" : "text" ,
"text" : "{ \n \" request_id \" : \" example \" , \n \" status \" : \" completed \" , \n \" result \" : { \n \" last_value \" : {} \n }, \n \" responses \" : [ \n { \n \" index \" : 0, \n \" function \" : \" auth.groups.delete \" , \n \" status \" : \" completed \" , \n \" result \" : {} \n } \n ], \n \" complexity_score \" : 1 \n }"
}
],
"isError" : false
}
}
auth.groups.get
auth.groups.get(account_id: str, group_id: str) -> Session
Аутентификация: auth.groups.get.
Свойство Значение Свойство Значение Требуемое разрешение auth.manageТребуется аутентификация даРежим выполнения syncВозможность auth.manageТип ресурса accountПоле ID ресурса account_idПубличный маршрут API GET /v1/public/accounts/{account_id}/auth/groups/{group_id}
Имя Тип Обязательный account_idstrда group_idstrда
Поле Тип Обязательный account_idstrда idstrда keycloak_namestrда namestrда attributes{}нет descriptionstr | nullнет keycloak_account_idstr | nullнет linked_scopes[{"resource_id": str, "resource_type": str}]нет parent_idstr | nullнет pathstr | nullнет permission_context{"assigned_bundle_keys"?: [str], "direct_capability_keys"?: [str], "owner_assignments"?: [{"account_id": str}], "resolved_capability_keys"?: [str], "status"?: str, "subject_id"?: str, "subject_type"?: str}нет subgroup_ids[str]нет
Запрос: {
"request_id" : "example" ,
"session_id" : "session_123" ,
"code" : "auth.groups.get(account_id= \" 3c90c3cc-0d44-4b50-8888-8dd25736052a \" , group_id= \" 3c90c3cc-0d44-4b50-8888-8dd25736052a \" )"
}
Ответ: {
"request_id" : "example" ,
"status" : "completed" ,
"result" : {
"last_value" : "<string>"
},
"responses" : [
{
"index" : 0 ,
"function" : "auth.groups.get" ,
"status" : "completed" ,
"result" : "<string>"
}
],
"complexity_score" : 1
}
Запрос: {
"jsonrpc" : "2.0" ,
"id" : "example" ,
"method" : "tools/call" ,
"params" : {
"name" : "hybridbox_execute" ,
"arguments" : {
"code" : "auth.groups.get(account_id= \" 3c90c3cc-0d44-4b50-8888-8dd25736052a \" , group_id= \" 3c90c3cc-0d44-4b50-8888-8dd25736052a \" )"
}
}
}
Ответ: {
"jsonrpc" : "2.0" ,
"id" : "example" ,
"result" : {
"content" : [
{
"type" : "text" ,
"text" : "{ \n \" request_id \" : \" example \" , \n \" status \" : \" completed \" , \n \" result \" : { \n \" last_value \" : \" <string> \"\n }, \n \" responses \" : [ \n { \n \" index \" : 0, \n \" function \" : \" auth.groups.get \" , \n \" status \" : \" completed \" , \n \" result \" : \" <string> \"\n } \n ], \n \" complexity_score \" : 1 \n }"
}
],
"isError" : false
}
}
auth.groups.invitations.create
auth.groups.invitations.create(account_id: str, group_id: str, email: str, locale?: str | null, note?: str | null) -> Session
Аутентификация: auth.groups.invitations.create.
Свойство Значение Свойство Значение Требуемое разрешение auth.manageТребуется аутентификация даРежим выполнения syncВозможность auth.manageТип ресурса accountПоле ID ресурса account_idПубличный маршрут API POST /v1/public/accounts/{account_id}/auth/groups/{group_id}/invitations
Имя Тип Обязательный account_idstrда group_idstrда emailstrда localestr | nullнет notestr | nullнет
Поле Тип Обязательный result{"assignments": [{"assignment_kind": str, "position": int, "capability_key"?: str | null, "grant_kind"?: str | null, "group_id"?: str | null, "id"?: str | null, "resource_id"?: str | null, "resource_type"?: str | null, "role_key"?: str | null}], "email": str, "id": str, "permission_context": {"assigned_bundle_keys"?: [str], "direct_capability_keys"?: [str], "owner_assignments"?: [{"account_id": str}], "resolved_capability_keys"?: [str], "status"?: str, "subject_id"?: str, "subject_type"?: str}, "status": str, "accepted_at"?: str | null, "accepted_subject_id"?: str | null, "created_at"?: str | null, "expires_at"?: str | null, "note"?: str | null} | {"accepted_subject_id": str, "assignment_count": int, "email": str, "grant_count": int, "group_membership_count": int, "permission_context": {"assigned_bundle_keys"?: [str], "direct_capability_keys"?: [str], "owner_assignments"?: [{"account_id": str}], "resolved_capability_keys"?: [str], "status"?: str, "subject_id"?: str, "subject_type"?: str}, "role_assignment_count": int, "mode"?: str, "status"?: str}да
Запрос: {
"request_id" : "example" ,
"session_id" : "session_123" ,
"code" : "auth.groups.invitations.create(account_id= \" 3c90c3cc-0d44-4b50-8888-8dd25736052a \" , group_id= \" 3c90c3cc-0d44-4b50-8888-8dd25736052a \" , email= \" user@example.com \" , locale= \" <string> \" , note= \" <string> \" )"
}
Ответ: {
"request_id" : "example" ,
"status" : "completed" ,
"result" : {
"last_value" : 123
},
"responses" : [
{
"index" : 0 ,
"function" : "auth.groups.invitations.create" ,
"status" : "completed" ,
"result" : 123
}
],
"complexity_score" : 1
}
Запрос: {
"jsonrpc" : "2.0" ,
"id" : "example" ,
"method" : "tools/call" ,
"params" : {
"name" : "hybridbox_execute" ,
"arguments" : {
"code" : "auth.groups.invitations.create(account_id= \" 3c90c3cc-0d44-4b50-8888-8dd25736052a \" , group_id= \" 3c90c3cc-0d44-4b50-8888-8dd25736052a \" , email= \" user@example.com \" , locale= \" <string> \" , note= \" <string> \" )"
}
}
}
Ответ: {
"jsonrpc" : "2.0" ,
"id" : "example" ,
"result" : {
"content" : [
{
"type" : "text" ,
"text" : "{ \n \" request_id \" : \" example \" , \n \" status \" : \" completed \" , \n \" result \" : { \n \" last_value \" : 123 \n }, \n \" responses \" : [ \n { \n \" index \" : 0, \n \" function \" : \" auth.groups.invitations.create \" , \n \" status \" : \" completed \" , \n \" result \" : 123 \n } \n ], \n \" complexity_score \" : 1 \n }"
}
],
"isError" : false
}
}
auth.groups.list
auth.groups.list(account_id: str) -> list[Session]
Аутентификация: auth.groups.list.
Свойство Значение Свойство Значение Требуемое разрешение auth.manageТребуется аутентификация даРежим выполнения syncВозможность auth.manageТип ресурса accountПоле ID ресурса account_idПубличный маршрут API GET /v1/public/accounts/{account_id}/auth/groups
Имя Тип Обязательный account_idstrда
Поле Тип Обязательный account_idstrда idstrда keycloak_namestrда namestrда attributes{}нет descriptionstr | nullнет keycloak_account_idstr | nullнет linked_scopes[{"resource_id": str, "resource_type": str}]нет parent_idstr | nullнет pathstr | nullнет permission_context{"assigned_bundle_keys"?: [str], "direct_capability_keys"?: [str], "owner_assignments"?: [{"account_id": str}], "resolved_capability_keys"?: [str], "status"?: str, "subject_id"?: str, "subject_type"?: str}нет subgroup_ids[str]нет
Запрос: {
"request_id" : "example" ,
"session_id" : "session_123" ,
"code" : "auth.groups.list(account_id= \" 3c90c3cc-0d44-4b50-8888-8dd25736052a \" )"
}
Ответ: {
"request_id" : "example" ,
"status" : "completed" ,
"result" : {
"last_value" : "<string>"
},
"responses" : [
{
"index" : 0 ,
"function" : "auth.groups.list" ,
"status" : "completed" ,
"result" : "<string>"
}
],
"complexity_score" : 1
}
Запрос: {
"jsonrpc" : "2.0" ,
"id" : "example" ,
"method" : "tools/call" ,
"params" : {
"name" : "hybridbox_execute" ,
"arguments" : {
"code" : "auth.groups.list(account_id= \" 3c90c3cc-0d44-4b50-8888-8dd25736052a \" )"
}
}
}
Ответ: {
"jsonrpc" : "2.0" ,
"id" : "example" ,
"result" : {
"content" : [
{
"type" : "text" ,
"text" : "{ \n \" request_id \" : \" example \" , \n \" status \" : \" completed \" , \n \" result \" : { \n \" last_value \" : \" <string> \"\n }, \n \" responses \" : [ \n { \n \" index \" : 0, \n \" function \" : \" auth.groups.list \" , \n \" status \" : \" completed \" , \n \" result \" : \" <string> \"\n } \n ], \n \" complexity_score \" : 1 \n }"
}
],
"isError" : false
}
}
auth.groups.members.add_group
auth.groups.members.add_group(account_id: str, group_id: str, child_group_id: str) -> Session
Аутентификация: auth.groups.members.add_group.
Свойство Значение Свойство Значение Требуемое разрешение auth.manageТребуется аутентификация даРежим выполнения syncВозможность auth.manageТип ресурса accountПоле ID ресурса account_idПубличный маршрут API POST /v1/public/accounts/{account_id}/auth/groups/{group_id}/members/groups
Имя Тип Обязательный account_idstrда group_idstrда child_group_idstrда
Поле Тип Обязательный group_edgesintда groups_seenintда total_edgesintда user_edgesintда group_idstr | nullнет
Запрос: {
"request_id" : "example" ,
"session_id" : "session_123" ,
"code" : "auth.groups.members.add_group(account_id= \" 3c90c3cc-0d44-4b50-8888-8dd25736052a \" , group_id= \" 3c90c3cc-0d44-4b50-8888-8dd25736052a \" , child_group_id= \" 3c90c3cc-0d44-4b50-8888-8dd25736052a \" )"
}
Ответ: {
"request_id" : "example" ,
"status" : "completed" ,
"result" : {
"last_value" : 123
},
"responses" : [
{
"index" : 0 ,
"function" : "auth.groups.members.add_group" ,
"status" : "completed" ,
"result" : 123
}
],
"complexity_score" : 1
}
Запрос: {
"jsonrpc" : "2.0" ,
"id" : "example" ,
"method" : "tools/call" ,
"params" : {
"name" : "hybridbox_execute" ,
"arguments" : {
"code" : "auth.groups.members.add_group(account_id= \" 3c90c3cc-0d44-4b50-8888-8dd25736052a \" , group_id= \" 3c90c3cc-0d44-4b50-8888-8dd25736052a \" , child_group_id= \" 3c90c3cc-0d44-4b50-8888-8dd25736052a \" )"
}
}
}
Ответ: {
"jsonrpc" : "2.0" ,
"id" : "example" ,
"result" : {
"content" : [
{
"type" : "text" ,
"text" : "{ \n \" request_id \" : \" example \" , \n \" status \" : \" completed \" , \n \" result \" : { \n \" last_value \" : 123 \n }, \n \" responses \" : [ \n { \n \" index \" : 0, \n \" function \" : \" auth.groups.members.add_group \" , \n \" status \" : \" completed \" , \n \" result \" : 123 \n } \n ], \n \" complexity_score \" : 1 \n }"
}
],
"isError" : false
}
}
auth.groups.members.add_user
auth.groups.members.add_user(account_id: str, group_id: str, user_id: str) -> Session
Аутентификация: auth.groups.members.add_user.
Свойство Значение Свойство Значение Требуемое разрешение auth.manageТребуется аутентификация даРежим выполнения syncВозможность auth.manageТип ресурса accountПоле ID ресурса account_idПубличный маршрут API POST /v1/public/accounts/{account_id}/auth/groups/{group_id}/members/users
Имя Тип Обязательный account_idstrда group_idstrда user_idstrда
Поле Тип Обязательный group_edgesintда groups_seenintда total_edgesintда user_edgesintда group_idstr | nullнет
Запрос: {
"request_id" : "example" ,
"session_id" : "session_123" ,
"code" : "auth.groups.members.add_user(account_id= \" 3c90c3cc-0d44-4b50-8888-8dd25736052a \" , group_id= \" 3c90c3cc-0d44-4b50-8888-8dd25736052a \" , user_id= \" 3c90c3cc-0d44-4b50-8888-8dd25736052a \" )"
}
Ответ: {
"request_id" : "example" ,
"status" : "completed" ,
"result" : {
"last_value" : 123
},
"responses" : [
{
"index" : 0 ,
"function" : "auth.groups.members.add_user" ,
"status" : "completed" ,
"result" : 123
}
],
"complexity_score" : 1
}
Запрос: {
"jsonrpc" : "2.0" ,
"id" : "example" ,
"method" : "tools/call" ,
"params" : {
"name" : "hybridbox_execute" ,
"arguments" : {
"code" : "auth.groups.members.add_user(account_id= \" 3c90c3cc-0d44-4b50-8888-8dd25736052a \" , group_id= \" 3c90c3cc-0d44-4b50-8888-8dd25736052a \" , user_id= \" 3c90c3cc-0d44-4b50-8888-8dd25736052a \" )"
}
}
}
Ответ: {
"jsonrpc" : "2.0" ,
"id" : "example" ,
"result" : {
"content" : [
{
"type" : "text" ,
"text" : "{ \n \" request_id \" : \" example \" , \n \" status \" : \" completed \" , \n \" result \" : { \n \" last_value \" : 123 \n }, \n \" responses \" : [ \n { \n \" index \" : 0, \n \" function \" : \" auth.groups.members.add_user \" , \n \" status \" : \" completed \" , \n \" result \" : 123 \n } \n ], \n \" complexity_score \" : 1 \n }"
}
],
"isError" : false
}
}
auth.groups.members.list
auth.groups.members.list(account_id: str, group_id: str, page?: int, page_size?: int, search?: str | null) -> Session
Аутентификация: auth.groups.members.list.
Свойство Значение Свойство Значение Требуемое разрешение auth.manageТребуется аутентификация даРежим выполнения syncВозможность auth.manageТип ресурса accountПоле ID ресурса account_idПубличный маршрут API GET /v1/public/accounts/{account_id}/auth/groups/{group_id}/members
Имя Тип Обязательный account_idstrда group_idstrда pageintнет page_sizeintнет searchstr | nullнет
Поле Тип Обязательный account_idstrда group_idstrда pageintда page_sizeintда totalintда groups[{"account_id": str, "id": str, "keycloak_name": str, "name": str, "attributes"?: {}, "description"?: str | null, "keycloak_account_id"?: str | null, "linked_scopes"?: [{"resource_id": str, "resource_type": str}], "parent_id"?: str | null, "path"?: str | null, "permission_context"?: {"assigned_bundle_keys"?: [str], "direct_capability_keys"?: [str], "owner_assignments"?: [{"account_id": str}], "resolved_capability_keys"?: [str], "status"?: str, "subject_id"?: str, "subject_type"?: str}, "subgroup_ids"?: [str]}]нет linked_scopes[{"resource_id": str, "resource_type": str}]нет members[{"resolved": bool, "subject_id": str, "subject_type": str, "group"?: {"account_id": str, "id": str, "keycloak_name": str, "name": str, "attributes"?: {}, "description"?: str | null, "keycloak_account_id"?: str | null, "linked_scopes"?: [{"resource_id": str, "resource_type": str}], "parent_id"?: str | null, "path"?: str | null, "permission_context"?: {"assigned_bundle_keys"?: [str], "direct_capability_keys"?: [str], "owner_assignments"?: [{"account_id": str}], "resolved_capability_keys"?: [str], "status"?: str, "subject_id"?: str, "subject_type"?: str}, "subgroup_ids"?: [str]} | null, "user"?: {"id": str, "email"?: str | null, "first_name"?: str | null, "last_name"?: str | null, "username"?: str | null} | null}]нет searchstr | nullнет users[{"id": str, "email"?: str | null, "first_name"?: str | null, "last_name"?: str | null, "username"?: str | null}]нет
Запрос: {
"request_id" : "example" ,
"session_id" : "session_123" ,
"code" : "auth.groups.members.list(account_id= \" 3c90c3cc-0d44-4b50-8888-8dd25736052a \" , group_id= \" 3c90c3cc-0d44-4b50-8888-8dd25736052a \" , page=123, page_size=123, search= \" <string> \" )"
}
Ответ: {
"request_id" : "example" ,
"status" : "completed" ,
"result" : {
"last_value" : 123
},
"responses" : [
{
"index" : 0 ,
"function" : "auth.groups.members.list" ,
"status" : "completed" ,
"result" : 123
}
],
"complexity_score" : 1
}
Запрос: {
"jsonrpc" : "2.0" ,
"id" : "example" ,
"method" : "tools/call" ,
"params" : {
"name" : "hybridbox_execute" ,
"arguments" : {
"code" : "auth.groups.members.list(account_id= \" 3c90c3cc-0d44-4b50-8888-8dd25736052a \" , group_id= \" 3c90c3cc-0d44-4b50-8888-8dd25736052a \" , page=123, page_size=123, search= \" <string> \" )"
}
}
}
Ответ: {
"jsonrpc" : "2.0" ,
"id" : "example" ,
"result" : {
"content" : [
{
"type" : "text" ,
"text" : "{ \n \" request_id \" : \" example \" , \n \" status \" : \" completed \" , \n \" result \" : { \n \" last_value \" : 123 \n }, \n \" responses \" : [ \n { \n \" index \" : 0, \n \" function \" : \" auth.groups.members.list \" , \n \" status \" : \" completed \" , \n \" result \" : 123 \n } \n ], \n \" complexity_score \" : 1 \n }"
}
],
"isError" : false
}
}
auth.groups.members.remove_group
auth.groups.members.remove_group(account_id: str, child_group_id: str, group_id: str) -> Session
Аутентификация: auth.groups.members.remove_group.
Свойство Значение Свойство Значение Требуемое разрешение auth.manageТребуется аутентификация даРежим выполнения syncВозможность auth.manageТип ресурса accountПоле ID ресурса account_idПубличный маршрут API DELETE /v1/public/accounts/{account_id}/auth/groups/{group_id}/members/groups/{child_group_id}
Имя Тип Обязательный account_idstrда child_group_idstrда group_idstrда
Поле Тип Обязательный group_edgesintда groups_seenintда total_edgesintда user_edgesintда group_idstr | nullнет
Запрос: {
"request_id" : "example" ,
"session_id" : "session_123" ,
"code" : "auth.groups.members.remove_group(account_id= \" 3c90c3cc-0d44-4b50-8888-8dd25736052a \" , child_group_id= \" 3c90c3cc-0d44-4b50-8888-8dd25736052a \" , group_id= \" 3c90c3cc-0d44-4b50-8888-8dd25736052a \" )"
}
Ответ: {
"request_id" : "example" ,
"status" : "completed" ,
"result" : {
"last_value" : 123
},
"responses" : [
{
"index" : 0 ,
"function" : "auth.groups.members.remove_group" ,
"status" : "completed" ,
"result" : 123
}
],
"complexity_score" : 1
}
Запрос: {
"jsonrpc" : "2.0" ,
"id" : "example" ,
"method" : "tools/call" ,
"params" : {
"name" : "hybridbox_execute" ,
"arguments" : {
"code" : "auth.groups.members.remove_group(account_id= \" 3c90c3cc-0d44-4b50-8888-8dd25736052a \" , child_group_id= \" 3c90c3cc-0d44-4b50-8888-8dd25736052a \" , group_id= \" 3c90c3cc-0d44-4b50-8888-8dd25736052a \" )"
}
}
}
Ответ: {
"jsonrpc" : "2.0" ,
"id" : "example" ,
"result" : {
"content" : [
{
"type" : "text" ,
"text" : "{ \n \" request_id \" : \" example \" , \n \" status \" : \" completed \" , \n \" result \" : { \n \" last_value \" : 123 \n }, \n \" responses \" : [ \n { \n \" index \" : 0, \n \" function \" : \" auth.groups.members.remove_group \" , \n \" status \" : \" completed \" , \n \" result \" : 123 \n } \n ], \n \" complexity_score \" : 1 \n }"
}
],
"isError" : false
}
}
auth.groups.members.remove_user
auth.groups.members.remove_user(account_id: str, group_id: str, user_id: str) -> Session
Аутентификация: auth.groups.members.remove_user.
Свойство Значение Свойство Значение Требуемое разрешение auth.manageТребуется аутентификация даРежим выполнения syncВозможность auth.manageТип ресурса accountПоле ID ресурса account_idПубличный маршрут API DELETE /v1/public/accounts/{account_id}/auth/groups/{group_id}/members/users/{user_id}
Имя Тип Обязательный account_idstrда group_idstrда user_idstrда
Поле Тип Обязательный group_edgesintда groups_seenintда total_edgesintда user_edgesintда group_idstr | nullнет
Запрос: {
"request_id" : "example" ,
"session_id" : "session_123" ,
"code" : "auth.groups.members.remove_user(account_id= \" 3c90c3cc-0d44-4b50-8888-8dd25736052a \" , group_id= \" 3c90c3cc-0d44-4b50-8888-8dd25736052a \" , user_id= \" 3c90c3cc-0d44-4b50-8888-8dd25736052a \" )"
}
Ответ: {
"request_id" : "example" ,
"status" : "completed" ,
"result" : {
"last_value" : 123
},
"responses" : [
{
"index" : 0 ,
"function" : "auth.groups.members.remove_user" ,
"status" : "completed" ,
"result" : 123
}
],
"complexity_score" : 1
}
Запрос: {
"jsonrpc" : "2.0" ,
"id" : "example" ,
"method" : "tools/call" ,
"params" : {
"name" : "hybridbox_execute" ,
"arguments" : {
"code" : "auth.groups.members.remove_user(account_id= \" 3c90c3cc-0d44-4b50-8888-8dd25736052a \" , group_id= \" 3c90c3cc-0d44-4b50-8888-8dd25736052a \" , user_id= \" 3c90c3cc-0d44-4b50-8888-8dd25736052a \" )"
}
}
}
Ответ: {
"jsonrpc" : "2.0" ,
"id" : "example" ,
"result" : {
"content" : [
{
"type" : "text" ,
"text" : "{ \n \" request_id \" : \" example \" , \n \" status \" : \" completed \" , \n \" result \" : { \n \" last_value \" : 123 \n }, \n \" responses \" : [ \n { \n \" index \" : 0, \n \" function \" : \" auth.groups.members.remove_user \" , \n \" status \" : \" completed \" , \n \" result \" : 123 \n } \n ], \n \" complexity_score \" : 1 \n }"
}
],
"isError" : false
}
}
auth.groups.update
auth.groups.update(account_id: str, group_id: str, attributes?: {} | null, description?: str | null, name?: str | null) -> Session
Аутентификация: auth.groups.update.
Свойство Значение Свойство Значение Требуемое разрешение auth.manageТребуется аутентификация даРежим выполнения syncВозможность auth.manageТип ресурса accountПоле ID ресурса account_idПубличный маршрут API PATCH /v1/public/accounts/{account_id}/auth/groups/{group_id}
Имя Тип Обязательный account_idstrда group_idstrда attributes{} | nullнет descriptionstr | nullнет namestr | nullнет
Поле Тип Обязательный account_idstrда idstrда keycloak_namestrда namestrда attributes{}нет descriptionstr | nullнет keycloak_account_idstr | nullнет linked_scopes[{"resource_id": str, "resource_type": str}]нет parent_idstr | nullнет pathstr | nullнет permission_context{"assigned_bundle_keys"?: [str], "direct_capability_keys"?: [str], "owner_assignments"?: [{"account_id": str}], "resolved_capability_keys"?: [str], "status"?: str, "subject_id"?: str, "subject_type"?: str}нет subgroup_ids[str]нет
Запрос: {
"request_id" : "example" ,
"session_id" : "session_123" ,
"code" : "auth.groups.update(account_id= \" 3c90c3cc-0d44-4b50-8888-8dd25736052a \" , group_id= \" 3c90c3cc-0d44-4b50-8888-8dd25736052a \" , attributes= \" <string> \" , description= \" <string> \" , name= \" <string> \" )"
}
Ответ: {
"request_id" : "example" ,
"status" : "completed" ,
"result" : {
"last_value" : "<string>"
},
"responses" : [
{
"index" : 0 ,
"function" : "auth.groups.update" ,
"status" : "completed" ,
"result" : "<string>"
}
],
"complexity_score" : 1
}
Запрос: {
"jsonrpc" : "2.0" ,
"id" : "example" ,
"method" : "tools/call" ,
"params" : {
"name" : "hybridbox_execute" ,
"arguments" : {
"code" : "auth.groups.update(account_id= \" 3c90c3cc-0d44-4b50-8888-8dd25736052a \" , group_id= \" 3c90c3cc-0d44-4b50-8888-8dd25736052a \" , attributes= \" <string> \" , description= \" <string> \" , name= \" <string> \" )"
}
}
}
Ответ: {
"jsonrpc" : "2.0" ,
"id" : "example" ,
"result" : {
"content" : [
{
"type" : "text" ,
"text" : "{ \n \" request_id \" : \" example \" , \n \" status \" : \" completed \" , \n \" result \" : { \n \" last_value \" : \" <string> \"\n }, \n \" responses \" : [ \n { \n \" index \" : 0, \n \" function \" : \" auth.groups.update \" , \n \" status \" : \" completed \" , \n \" result \" : \" <string> \"\n } \n ], \n \" complexity_score \" : 1 \n }"
}
],
"isError" : false
}
}
auth.invitations.create
auth.invitations.create(account_id: str, assignments: [{"capability_key"?: str | null, "grant_kind"?: "capability" | "account_owner" | "super_admin" | null, "group_id"?: str | null, "resource_id"?: str | null, "resource_type"?: "client" | "account" | "workspace" | "domain" | "dns_record" | "mailbox" | "redirect" | "forwarding" | "credential" | "tenant" | "route" | "proxy" | null, "role_key"?: str | null}], email: str, locale?: str | null, note?: str | null) -> Session
Аутентификация: auth.invitations.create.
Свойство Значение Свойство Значение Требуемое разрешение auth.manageТребуется аутентификация даРежим выполнения syncВозможность auth.manageТип ресурса accountПоле ID ресурса account_idПубличный маршрут API POST /v1/public/accounts/{account_id}/auth/invitations
Имя Тип Обязательный account_idstrда assignments[{"capability_key"?: str | null, "grant_kind"?: "capability" | "account_owner" | "super_admin" | null, "group_id"?: str | null, "resource_id"?: str | null, "resource_type"?: "client" | "account" | "workspace" | "domain" | "dns_record" | "mailbox" | "redirect" | "forwarding" | "credential" | "tenant" | "route" | "proxy" | null, "role_key"?: str | null}]да emailstrда localestr | nullнет notestr | nullнет
Поле Тип Обязательный result{"assignments": [{"assignment_kind": str, "position": int, "capability_key"?: str | null, "grant_kind"?: str | null, "group_id"?: str | null, "id"?: str | null, "resource_id"?: str | null, "resource_type"?: str | null, "role_key"?: str | null}], "email": str, "id": str, "permission_context": {"assigned_bundle_keys"?: [str], "direct_capability_keys"?: [str], "owner_assignments"?: [{"account_id": str}], "resolved_capability_keys"?: [str], "status"?: str, "subject_id"?: str, "subject_type"?: str}, "status": str, "accepted_at"?: str | null, "accepted_subject_id"?: str | null, "created_at"?: str | null, "expires_at"?: str | null, "note"?: str | null} | {"accepted_subject_id": str, "assignment_count": int, "email": str, "grant_count": int, "group_membership_count": int, "permission_context": {"assigned_bundle_keys"?: [str], "direct_capability_keys"?: [str], "owner_assignments"?: [{"account_id": str}], "resolved_capability_keys"?: [str], "status"?: str, "subject_id"?: str, "subject_type"?: str}, "role_assignment_count": int, "mode"?: str, "status"?: str}да
Запрос: {
"request_id" : "example" ,
"session_id" : "session_123" ,
"code" : "auth.invitations.create(account_id= \" 3c90c3cc-0d44-4b50-8888-8dd25736052a \" , assignments= \" <string> \" , email= \" user@example.com \" , locale= \" <string> \" , note= \" <string> \" )"
}
Ответ: {
"request_id" : "example" ,
"status" : "completed" ,
"result" : {
"last_value" : 123
},
"responses" : [
{
"index" : 0 ,
"function" : "auth.invitations.create" ,
"status" : "completed" ,
"result" : 123
}
],
"complexity_score" : 1
}
Запрос: {
"jsonrpc" : "2.0" ,
"id" : "example" ,
"method" : "tools/call" ,
"params" : {
"name" : "hybridbox_execute" ,
"arguments" : {
"code" : "auth.invitations.create(account_id= \" 3c90c3cc-0d44-4b50-8888-8dd25736052a \" , assignments= \" <string> \" , email= \" user@example.com \" , locale= \" <string> \" , note= \" <string> \" )"
}
}
}
Ответ: {
"jsonrpc" : "2.0" ,
"id" : "example" ,
"result" : {
"content" : [
{
"type" : "text" ,
"text" : "{ \n \" request_id \" : \" example \" , \n \" status \" : \" completed \" , \n \" result \" : { \n \" last_value \" : 123 \n }, \n \" responses \" : [ \n { \n \" index \" : 0, \n \" function \" : \" auth.invitations.create \" , \n \" status \" : \" completed \" , \n \" result \" : 123 \n } \n ], \n \" complexity_score \" : 1 \n }"
}
],
"isError" : false
}
}
auth.invitations.delete
auth.invitations.delete(account_id: str, invitation_id: str) -> {}
Аутентификация: auth.invitations.delete.
Свойство Значение Свойство Значение Требуемое разрешение auth.manageТребуется аутентификация даРежим выполнения syncВозможность auth.manageТип ресурса accountПоле ID ресурса account_idПубличный маршрут API DELETE /v1/public/accounts/{account_id}/auth/invitations/{invitation_id}
Имя Тип Обязательный account_idstrда invitation_idstrда
Поле Тип Обязательный result{}да
Запрос: {
"request_id" : "example" ,
"session_id" : "session_123" ,
"code" : "auth.invitations.delete(account_id= \" 3c90c3cc-0d44-4b50-8888-8dd25736052a \" , invitation_id= \" 3c90c3cc-0d44-4b50-8888-8dd25736052a \" )"
}
Ответ: {
"request_id" : "example" ,
"status" : "completed" ,
"result" : {
"last_value" : {}
},
"responses" : [
{
"index" : 0 ,
"function" : "auth.invitations.delete" ,
"status" : "completed" ,
"result" : {}
}
],
"complexity_score" : 1
}
Запрос: {
"jsonrpc" : "2.0" ,
"id" : "example" ,
"method" : "tools/call" ,
"params" : {
"name" : "hybridbox_execute" ,
"arguments" : {
"code" : "auth.invitations.delete(account_id= \" 3c90c3cc-0d44-4b50-8888-8dd25736052a \" , invitation_id= \" 3c90c3cc-0d44-4b50-8888-8dd25736052a \" )"
}
}
}
Ответ: {
"jsonrpc" : "2.0" ,
"id" : "example" ,
"result" : {
"content" : [
{
"type" : "text" ,
"text" : "{ \n \" request_id \" : \" example \" , \n \" status \" : \" completed \" , \n \" result \" : { \n \" last_value \" : {} \n }, \n \" responses \" : [ \n { \n \" index \" : 0, \n \" function \" : \" auth.invitations.delete \" , \n \" status \" : \" completed \" , \n \" result \" : {} \n } \n ], \n \" complexity_score \" : 1 \n }"
}
],
"isError" : false
}
}
auth.invitations.list
auth.invitations.list(account_id: str, email?: str | null, status?: str | null) -> list[Session]
Аутентификация: auth.invitations.list.
Свойство Значение Свойство Значение Требуемое разрешение auth.manageТребуется аутентификация даРежим выполнения syncВозможность auth.manageТип ресурса accountПоле ID ресурса account_idПубличный маршрут API GET /v1/public/accounts/{account_id}/auth/invitations
Имя Тип Обязательный account_idstrда emailstr | nullнет statusstr | nullнет
Поле Тип Обязательный assignments[{"assignment_kind": str, "position": int, "capability_key"?: str | null, "grant_kind"?: str | null, "group_id"?: str | null, "id"?: str | null, "resource_id"?: str | null, "resource_type"?: str | null, "role_key"?: str | null}]да emailstrда idstrда permission_context{"assigned_bundle_keys"?: [str], "direct_capability_keys"?: [str], "owner_assignments"?: [{"account_id": str}], "resolved_capability_keys"?: [str], "status"?: str, "subject_id"?: str, "subject_type"?: str}да statusstrда accepted_atstr | nullнет accepted_subject_idstr | nullнет created_atstr | nullнет expires_atstr | nullнет notestr | nullнет
Запрос: {
"request_id" : "example" ,
"session_id" : "session_123" ,
"code" : "auth.invitations.list(account_id= \" 3c90c3cc-0d44-4b50-8888-8dd25736052a \" , email= \" user@example.com \" , status= \" <string> \" )"
}
Ответ: {
"request_id" : "example" ,
"status" : "completed" ,
"result" : {
"last_value" : 123
},
"responses" : [
{
"index" : 0 ,
"function" : "auth.invitations.list" ,
"status" : "completed" ,
"result" : 123
}
],
"complexity_score" : 1
}
Запрос: {
"jsonrpc" : "2.0" ,
"id" : "example" ,
"method" : "tools/call" ,
"params" : {
"name" : "hybridbox_execute" ,
"arguments" : {
"code" : "auth.invitations.list(account_id= \" 3c90c3cc-0d44-4b50-8888-8dd25736052a \" , email= \" user@example.com \" , status= \" <string> \" )"
}
}
}
Ответ: {
"jsonrpc" : "2.0" ,
"id" : "example" ,
"result" : {
"content" : [
{
"type" : "text" ,
"text" : "{ \n \" request_id \" : \" example \" , \n \" status \" : \" completed \" , \n \" result \" : { \n \" last_value \" : 123 \n }, \n \" responses \" : [ \n { \n \" index \" : 0, \n \" function \" : \" auth.invitations.list \" , \n \" status \" : \" completed \" , \n \" result \" : 123 \n } \n ], \n \" complexity_score \" : 1 \n }"
}
],
"isError" : false
}
}
auth.invitations.resend
auth.invitations.resend(account_id: str, invitation_id: str, payload?: {"locale"?: str | null} | null) -> Session
Аутентификация: auth.invitations.resend.
Свойство Значение Свойство Значение Требуемое разрешение auth.manageТребуется аутентификация даРежим выполнения syncВозможность auth.manageТип ресурса accountПоле ID ресурса account_idПубличный маршрут API POST /v1/public/accounts/{account_id}/auth/invitations/{invitation_id}/resend
Имя Тип Обязательный account_idstrда invitation_idstrда payload{"locale"?: str | null} | nullда
Поле Тип Обязательный assignments[{"assignment_kind": str, "position": int, "capability_key"?: str | null, "grant_kind"?: str | null, "group_id"?: str | null, "id"?: str | null, "resource_id"?: str | null, "resource_type"?: str | null, "role_key"?: str | null}]да emailstrда idstrда permission_context{"assigned_bundle_keys"?: [str], "direct_capability_keys"?: [str], "owner_assignments"?: [{"account_id": str}], "resolved_capability_keys"?: [str], "status"?: str, "subject_id"?: str, "subject_type"?: str}да statusstrда accepted_atstr | nullнет accepted_subject_idstr | nullнет created_atstr | nullнет expires_atstr | nullнет notestr | nullнет
Запрос: {
"request_id" : "example" ,
"session_id" : "session_123" ,
"code" : "auth.invitations.resend(account_id= \" 3c90c3cc-0d44-4b50-8888-8dd25736052a \" , invitation_id= \" 3c90c3cc-0d44-4b50-8888-8dd25736052a \" , payload= \" <string> \" )"
}
Ответ: {
"request_id" : "example" ,
"status" : "completed" ,
"result" : {
"last_value" : 123
},
"responses" : [
{
"index" : 0 ,
"function" : "auth.invitations.resend" ,
"status" : "completed" ,
"result" : 123
}
],
"complexity_score" : 1
}
Запрос: {
"jsonrpc" : "2.0" ,
"id" : "example" ,
"method" : "tools/call" ,
"params" : {
"name" : "hybridbox_execute" ,
"arguments" : {
"code" : "auth.invitations.resend(account_id= \" 3c90c3cc-0d44-4b50-8888-8dd25736052a \" , invitation_id= \" 3c90c3cc-0d44-4b50-8888-8dd25736052a \" , payload= \" <string> \" )"
}
}
}
Ответ: {
"jsonrpc" : "2.0" ,
"id" : "example" ,
"result" : {
"content" : [
{
"type" : "text" ,
"text" : "{ \n \" request_id \" : \" example \" , \n \" status \" : \" completed \" , \n \" result \" : { \n \" last_value \" : 123 \n }, \n \" responses \" : [ \n { \n \" index \" : 0, \n \" function \" : \" auth.invitations.resend \" , \n \" status \" : \" completed \" , \n \" result \" : 123 \n } \n ], \n \" complexity_score \" : 1 \n }"
}
],
"isError" : false
}
}
auth.invitations.update
auth.invitations.update(account_id: str, invitation_id: str, assignments: [{"capability_key"?: str | null, "grant_kind"?: "capability" | "account_owner" | "super_admin" | null, "group_id"?: str | null, "resource_id"?: str | null, "resource_type"?: "client" | "account" | "workspace" | "domain" | "dns_record" | "mailbox" | "redirect" | "forwarding" | "credential" | "tenant" | "route" | "proxy" | null, "role_key"?: str | null}], note?: str | null) -> Session
Аутентификация: auth.invitations.update.
Свойство Значение Свойство Значение Требуемое разрешение auth.manageТребуется аутентификация даРежим выполнения syncВозможность auth.manageТип ресурса accountПоле ID ресурса account_idПубличный маршрут API PATCH /v1/public/accounts/{account_id}/auth/invitations/{invitation_id}
Имя Тип Обязательный account_idstrда invitation_idstrда assignments[{"capability_key"?: str | null, "grant_kind"?: "capability" | "account_owner" | "super_admin" | null, "group_id"?: str | null, "resource_id"?: str | null, "resource_type"?: "client" | "account" | "workspace" | "domain" | "dns_record" | "mailbox" | "redirect" | "forwarding" | "credential" | "tenant" | "route" | "proxy" | null, "role_key"?: str | null}]да notestr | nullнет
Поле Тип Обязательный assignments[{"assignment_kind": str, "position": int, "capability_key"?: str | null, "grant_kind"?: str | null, "group_id"?: str | null, "id"?: str | null, "resource_id"?: str | null, "resource_type"?: str | null, "role_key"?: str | null}]да emailstrда idstrда permission_context{"assigned_bundle_keys"?: [str], "direct_capability_keys"?: [str], "owner_assignments"?: [{"account_id": str}], "resolved_capability_keys"?: [str], "status"?: str, "subject_id"?: str, "subject_type"?: str}да statusstrда accepted_atstr | nullнет accepted_subject_idstr | nullнет created_atstr | nullнет expires_atstr | nullнет notestr | nullнет
Запрос: {
"request_id" : "example" ,
"session_id" : "session_123" ,
"code" : "auth.invitations.update(account_id= \" 3c90c3cc-0d44-4b50-8888-8dd25736052a \" , invitation_id= \" 3c90c3cc-0d44-4b50-8888-8dd25736052a \" , assignments= \" <string> \" , note= \" <string> \" )"
}
Ответ: {
"request_id" : "example" ,
"status" : "completed" ,
"result" : {
"last_value" : 123
},
"responses" : [
{
"index" : 0 ,
"function" : "auth.invitations.update" ,
"status" : "completed" ,
"result" : 123
}
],
"complexity_score" : 1
}
Запрос: {
"jsonrpc" : "2.0" ,
"id" : "example" ,
"method" : "tools/call" ,
"params" : {
"name" : "hybridbox_execute" ,
"arguments" : {
"code" : "auth.invitations.update(account_id= \" 3c90c3cc-0d44-4b50-8888-8dd25736052a \" , invitation_id= \" 3c90c3cc-0d44-4b50-8888-8dd25736052a \" , assignments= \" <string> \" , note= \" <string> \" )"
}
}
}
Ответ: {
"jsonrpc" : "2.0" ,
"id" : "example" ,
"result" : {
"content" : [
{
"type" : "text" ,
"text" : "{ \n \" request_id \" : \" example \" , \n \" status \" : \" completed \" , \n \" result \" : { \n \" last_value \" : 123 \n }, \n \" responses \" : [ \n { \n \" index \" : 0, \n \" function \" : \" auth.invitations.update \" , \n \" status \" : \" completed \" , \n \" result \" : 123 \n } \n ], \n \" complexity_score \" : 1 \n }"
}
],
"isError" : false
}
}
auth.login
auth.login(identifier?: str, email?: str, username?: str, password?: str, service_account_token?: str) -> Session
Аутентификация: auth.login.
Свойство Значение Свойство Значение Требуемое разрешение НетТребуется аутентификация нетРежим выполнения sync
Имя Тип Обязательный identifierstrнет emailstrнет usernamestrнет passwordstrнет service_account_tokenstrнет
Поле Тип Обязательный authenticatedboolда principal_typestrда user_idstrнет service_account_idstrнет emailstrнет usernamestrнет expires_atstrда
Запрос: {
"request_id" : "example" ,
"session_id" : "session_123" ,
"code" : "auth.login(identifier= \" <string> \" , email= \" user@example.com \" , username= \" <string> \" , password= \" <string> \" , service_account_token= \" <string> \" )"
}
Ответ: {
"request_id" : "example" ,
"status" : "completed" ,
"result" : {
"last_value" : true
},
"responses" : [
{
"index" : 0 ,
"function" : "auth.login" ,
"status" : "completed" ,
"result" : true
}
],
"complexity_score" : 1
}
Запрос: {
"jsonrpc" : "2.0" ,
"id" : "example" ,
"method" : "tools/call" ,
"params" : {
"name" : "hybridbox_execute" ,
"arguments" : {
"code" : "auth.login(identifier= \" <string> \" , email= \" user@example.com \" , username= \" <string> \" , password= \" <string> \" , service_account_token= \" <string> \" )"
}
}
}
Ответ: {
"jsonrpc" : "2.0" ,
"id" : "example" ,
"result" : {
"content" : [
{
"type" : "text" ,
"text" : "{ \n \" request_id \" : \" example \" , \n \" status \" : \" completed \" , \n \" result \" : { \n \" last_value \" : true \n }, \n \" responses \" : [ \n { \n \" index \" : 0, \n \" function \" : \" auth.login \" , \n \" status \" : \" completed \" , \n \" result \" : true \n } \n ], \n \" complexity_score \" : 1 \n }"
}
],
"isError" : false
}
}
auth.logout
Аутентификация: auth.logout.
Свойство Значение Свойство Значение Требуемое разрешение НетТребуется аутентификация нетРежим выполнения sync
Поле Тип Обязательный logged_outboolда
Запрос: {
"request_id" : "example" ,
"session_id" : "session_123" ,
"code" : "auth.logout()"
}
Ответ: {
"request_id" : "example" ,
"status" : "completed" ,
"result" : {
"last_value" : {
"logged_out" : true
}
},
"responses" : [
{
"index" : 0 ,
"function" : "auth.logout" ,
"status" : "completed" ,
"result" : {
"logged_out" : true
}
}
],
"complexity_score" : 1
}
Запрос: {
"jsonrpc" : "2.0" ,
"id" : "example" ,
"method" : "tools/call" ,
"params" : {
"name" : "hybridbox_execute" ,
"arguments" : {
"code" : "auth.logout()"
}
}
}
Ответ: {
"jsonrpc" : "2.0" ,
"id" : "example" ,
"result" : {
"content" : [
{
"type" : "text" ,
"text" : "{ \n \" request_id \" : \" example \" , \n \" status \" : \" completed \" , \n \" result \" : { \n \" last_value \" : { \n \" logged_out \" : true \n } \n }, \n \" responses \" : [ \n { \n \" index \" : 0, \n \" function \" : \" auth.logout \" , \n \" status \" : \" completed \" , \n \" result \" : { \n \" logged_out \" : true \n } \n } \n ], \n \" complexity_score \" : 1 \n }"
}
],
"isError" : false
}
}
auth.role_assignments.create
auth.role_assignments.create(account_id: str, resource_id: str, resource_type: "client" | "account" | "workspace" | "domain" | "dns_record" | "mailbox" | "redirect" | "forwarding" | "credential" | "tenant" | "route" | "proxy", role_key: "viewer" | "editor" | "domain_manager" | "manager" | "dns_manager" | "ip_manager" | "billing_viewer" | "billing_admin" | "credential_manager", subject_id: str, subject_type: "user" | "group" | "service_account") -> Session
Аутентификация: auth.role_assignments.create.
Свойство Значение Свойство Значение Требуемое разрешение auth.manageТребуется аутентификация даРежим выполнения syncВозможность auth.manageТип ресурса accountПоле ID ресурса account_idПубличный маршрут API POST /v1/public/accounts/{account_id}/auth/role-assignments
Имя Тип Обязательный account_idstrда resource_idstrда resource_type"client" | "account" | "workspace" | "domain" | "dns_record" | "mailbox" | "redirect" | "forwarding" | "credential" | "tenant" | "route" | "proxy"да role_key"viewer" | "editor" | "domain_manager" | "manager" | "dns_manager" | "ip_manager" | "billing_viewer" | "billing_admin" | "credential_manager"да subject_idstrда subject_type"user" | "group" | "service_account"да
Поле Тип Обязательный expanded_capability_keys[str]да idstrда resource_idstrда resource_typestrда role_keystrда subject_idstrда subject_typestrда created_atstr | nullнет revoked_atstr | nullнет
Запрос: {
"request_id" : "example" ,
"session_id" : "session_123" ,
"code" : "auth.role_assignments.create(account_id= \" 3c90c3cc-0d44-4b50-8888-8dd25736052a \" , resource_id= \" 3c90c3cc-0d44-4b50-8888-8dd25736052a \" , resource_type= \" <string> \" , role_key= \" <string> \" , subject_id= \" 3c90c3cc-0d44-4b50-8888-8dd25736052a \" , subject_type= \" <string> \" )"
}
Ответ: {
"request_id" : "example" ,
"status" : "completed" ,
"result" : {
"last_value" : "<string>"
},
"responses" : [
{
"index" : 0 ,
"function" : "auth.role_assignments.create" ,
"status" : "completed" ,
"result" : "<string>"
}
],
"complexity_score" : 1
}
Запрос: {
"jsonrpc" : "2.0" ,
"id" : "example" ,
"method" : "tools/call" ,
"params" : {
"name" : "hybridbox_execute" ,
"arguments" : {
"code" : "auth.role_assignments.create(account_id= \" 3c90c3cc-0d44-4b50-8888-8dd25736052a \" , resource_id= \" 3c90c3cc-0d44-4b50-8888-8dd25736052a \" , resource_type= \" <string> \" , role_key= \" <string> \" , subject_id= \" 3c90c3cc-0d44-4b50-8888-8dd25736052a \" , subject_type= \" <string> \" )"
}
}
}
Ответ: {
"jsonrpc" : "2.0" ,
"id" : "example" ,
"result" : {
"content" : [
{
"type" : "text" ,
"text" : "{ \n \" request_id \" : \" example \" , \n \" status \" : \" completed \" , \n \" result \" : { \n \" last_value \" : \" <string> \"\n }, \n \" responses \" : [ \n { \n \" index \" : 0, \n \" function \" : \" auth.role_assignments.create \" , \n \" status \" : \" completed \" , \n \" result \" : \" <string> \"\n } \n ], \n \" complexity_score \" : 1 \n }"
}
],
"isError" : false
}
}
auth.role_assignments.delete
auth.role_assignments.delete(account_id: str, assignment_id: str) -> {}
Аутентификация: auth.role_assignments.delete.
Свойство Значение Свойство Значение Требуемое разрешение auth.manageТребуется аутентификация даРежим выполнения syncВозможность auth.manageТип ресурса accountПоле ID ресурса account_idПубличный маршрут API DELETE /v1/public/accounts/{account_id}/auth/role-assignments/{assignment_id}
Имя Тип Обязательный account_idstrда assignment_idstrда
Поле Тип Обязательный result{}да
Запрос: {
"request_id" : "example" ,
"session_id" : "session_123" ,
"code" : "auth.role_assignments.delete(account_id= \" 3c90c3cc-0d44-4b50-8888-8dd25736052a \" , assignment_id= \" 3c90c3cc-0d44-4b50-8888-8dd25736052a \" )"
}
Ответ: {
"request_id" : "example" ,
"status" : "completed" ,
"result" : {
"last_value" : {}
},
"responses" : [
{
"index" : 0 ,
"function" : "auth.role_assignments.delete" ,
"status" : "completed" ,
"result" : {}
}
],
"complexity_score" : 1
}
Запрос: {
"jsonrpc" : "2.0" ,
"id" : "example" ,
"method" : "tools/call" ,
"params" : {
"name" : "hybridbox_execute" ,
"arguments" : {
"code" : "auth.role_assignments.delete(account_id= \" 3c90c3cc-0d44-4b50-8888-8dd25736052a \" , assignment_id= \" 3c90c3cc-0d44-4b50-8888-8dd25736052a \" )"
}
}
}
Ответ: {
"jsonrpc" : "2.0" ,
"id" : "example" ,
"result" : {
"content" : [
{
"type" : "text" ,
"text" : "{ \n \" request_id \" : \" example \" , \n \" status \" : \" completed \" , \n \" result \" : { \n \" last_value \" : {} \n }, \n \" responses \" : [ \n { \n \" index \" : 0, \n \" function \" : \" auth.role_assignments.delete \" , \n \" status \" : \" completed \" , \n \" result \" : {} \n } \n ], \n \" complexity_score \" : 1 \n }"
}
],
"isError" : false
}
}
auth.role_assignments.list
auth.role_assignments.list(account_id: str, include_revoked?: bool, role_key?: "viewer" | "editor" | "domain_manager" | "manager" | "dns_manager" | "ip_manager" | "billing_viewer" | "billing_admin" | "credential_manager" | null, subject_id?: str | null, subject_type?: "user" | "group" | "service_account" | null) -> list[Session]
Аутентификация: auth.role_assignments.list.
Свойство Значение Свойство Значение Требуемое разрешение auth.manageТребуется аутентификация даРежим выполнения syncВозможность auth.manageТип ресурса accountПоле ID ресурса account_idПубличный маршрут API GET /v1/public/accounts/{account_id}/auth/role-assignments
Имя Тип Обязательный account_idstrда include_revokedboolнет role_key"viewer" | "editor" | "domain_manager" | "manager" | "dns_manager" | "ip_manager" | "billing_viewer" | "billing_admin" | "credential_manager" | nullнет subject_idstr | nullнет subject_type"user" | "group" | "service_account" | nullнет
Поле Тип Обязательный expanded_capability_keys[str]да idstrда resource_idstrда resource_typestrда role_keystrда subject_idstrда subject_typestrда created_atstr | nullнет revoked_atstr | nullнет
Запрос: {
"request_id" : "example" ,
"session_id" : "session_123" ,
"code" : "auth.role_assignments.list(account_id= \" 3c90c3cc-0d44-4b50-8888-8dd25736052a \" , include_revoked=true, role_key= \" <string> \" , subject_id= \" 3c90c3cc-0d44-4b50-8888-8dd25736052a \" , subject_type= \" <string> \" )"
}
Ответ: {
"request_id" : "example" ,
"status" : "completed" ,
"result" : {
"last_value" : "<string>"
},
"responses" : [
{
"index" : 0 ,
"function" : "auth.role_assignments.list" ,
"status" : "completed" ,
"result" : "<string>"
}
],
"complexity_score" : 1
}
Запрос: {
"jsonrpc" : "2.0" ,
"id" : "example" ,
"method" : "tools/call" ,
"params" : {
"name" : "hybridbox_execute" ,
"arguments" : {
"code" : "auth.role_assignments.list(account_id= \" 3c90c3cc-0d44-4b50-8888-8dd25736052a \" , include_revoked=true, role_key= \" <string> \" , subject_id= \" 3c90c3cc-0d44-4b50-8888-8dd25736052a \" , subject_type= \" <string> \" )"
}
}
}
Ответ: {
"jsonrpc" : "2.0" ,
"id" : "example" ,
"result" : {
"content" : [
{
"type" : "text" ,
"text" : "{ \n \" request_id \" : \" example \" , \n \" status \" : \" completed \" , \n \" result \" : { \n \" last_value \" : \" <string> \"\n }, \n \" responses \" : [ \n { \n \" index \" : 0, \n \" function \" : \" auth.role_assignments.list \" , \n \" status \" : \" completed \" , \n \" result \" : \" <string> \"\n } \n ], \n \" complexity_score \" : 1 \n }"
}
],
"isError" : false
}
}
auth.service_accounts.create
auth.service_accounts.create(account_id: str, name: str, expires_at?: str | null) -> Session
Аутентификация: auth.service_accounts.create.
Свойство Значение Свойство Значение Требуемое разрешение auth.manageТребуется аутентификация даРежим выполнения syncВозможность auth.manageТип ресурса accountПоле ID ресурса account_idПубличный маршрут API POST /v1/public/accounts/{account_id}/auth/service-accounts
Имя Тип Обязательный account_idstrда namestrда expires_atstr | nullнет
Поле Тип Обязательный account_idstrда created_atstrда idstrда namestrда tokenstrда token_last4strда token_prefixstrда token_public_idstrда updated_atstrда created_by_user_idstr | nullнет expires_atstr | nullнет last_used_atstr | nullнет revoked_atstr | nullнет revoked_by_user_idstr | nullнет
Запрос: {
"request_id" : "example" ,
"session_id" : "session_123" ,
"code" : "auth.service_accounts.create(account_id= \" 3c90c3cc-0d44-4b50-8888-8dd25736052a \" , name= \" <string> \" , expires_at= \" <string> \" )"
}
Ответ: {
"request_id" : "example" ,
"status" : "completed" ,
"result" : {
"last_value" : "<string>"
},
"responses" : [
{
"index" : 0 ,
"function" : "auth.service_accounts.create" ,
"status" : "completed" ,
"result" : "<string>"
}
],
"complexity_score" : 1
}
Запрос: {
"jsonrpc" : "2.0" ,
"id" : "example" ,
"method" : "tools/call" ,
"params" : {
"name" : "hybridbox_execute" ,
"arguments" : {
"code" : "auth.service_accounts.create(account_id= \" 3c90c3cc-0d44-4b50-8888-8dd25736052a \" , name= \" <string> \" , expires_at= \" <string> \" )"
}
}
}
Ответ: {
"jsonrpc" : "2.0" ,
"id" : "example" ,
"result" : {
"content" : [
{
"type" : "text" ,
"text" : "{ \n \" request_id \" : \" example \" , \n \" status \" : \" completed \" , \n \" result \" : { \n \" last_value \" : \" <string> \"\n }, \n \" responses \" : [ \n { \n \" index \" : 0, \n \" function \" : \" auth.service_accounts.create \" , \n \" status \" : \" completed \" , \n \" result \" : \" <string> \"\n } \n ], \n \" complexity_score \" : 1 \n }"
}
],
"isError" : false
}
}
auth.service_accounts.list
auth.service_accounts.list(account_id: str, include_revoked?: bool) -> list[Session]
Аутентификация: auth.service_accounts.list.
Свойство Значение Свойство Значение Требуемое разрешение auth.manageТребуется аутентификация даРежим выполнения syncВозможность auth.manageТип ресурса accountПоле ID ресурса account_idПубличный маршрут API GET /v1/public/accounts/{account_id}/auth/service-accounts
Имя Тип Обязательный account_idstrда include_revokedboolнет
Поле Тип Обязательный account_idstrда created_atstrда idstrда namestrда token_last4strда token_prefixstrда token_public_idstrда updated_atstrда created_by_user_idstr | nullнет expires_atstr | nullнет last_used_atstr | nullнет revoked_atstr | nullнет revoked_by_user_idstr | nullнет
Запрос: {
"request_id" : "example" ,
"session_id" : "session_123" ,
"code" : "auth.service_accounts.list(account_id= \" 3c90c3cc-0d44-4b50-8888-8dd25736052a \" , include_revoked=true)"
}
Ответ: {
"request_id" : "example" ,
"status" : "completed" ,
"result" : {
"last_value" : "<string>"
},
"responses" : [
{
"index" : 0 ,
"function" : "auth.service_accounts.list" ,
"status" : "completed" ,
"result" : "<string>"
}
],
"complexity_score" : 1
}
Запрос: {
"jsonrpc" : "2.0" ,
"id" : "example" ,
"method" : "tools/call" ,
"params" : {
"name" : "hybridbox_execute" ,
"arguments" : {
"code" : "auth.service_accounts.list(account_id= \" 3c90c3cc-0d44-4b50-8888-8dd25736052a \" , include_revoked=true)"
}
}
}
Ответ: {
"jsonrpc" : "2.0" ,
"id" : "example" ,
"result" : {
"content" : [
{
"type" : "text" ,
"text" : "{ \n \" request_id \" : \" example \" , \n \" status \" : \" completed \" , \n \" result \" : { \n \" last_value \" : \" <string> \"\n }, \n \" responses \" : [ \n { \n \" index \" : 0, \n \" function \" : \" auth.service_accounts.list \" , \n \" status \" : \" completed \" , \n \" result \" : \" <string> \"\n } \n ], \n \" complexity_score \" : 1 \n }"
}
],
"isError" : false
}
}
auth.service_accounts.revoke
auth.service_accounts.revoke(account_id: str, service_account_id: str) -> {}
Аутентификация: auth.service_accounts.revoke.
Свойство Значение Свойство Значение Требуемое разрешение auth.manageТребуется аутентификация даРежим выполнения syncВозможность auth.manageТип ресурса accountПоле ID ресурса account_idПубличный маршрут API DELETE /v1/public/accounts/{account_id}/auth/service-accounts/{service_account_id}
Имя Тип Обязательный account_idstrда service_account_idstrда
Поле Тип Обязательный result{}да
Запрос: {
"request_id" : "example" ,
"session_id" : "session_123" ,
"code" : "auth.service_accounts.revoke(account_id= \" 3c90c3cc-0d44-4b50-8888-8dd25736052a \" , service_account_id= \" 3c90c3cc-0d44-4b50-8888-8dd25736052a \" )"
}
Ответ: {
"request_id" : "example" ,
"status" : "completed" ,
"result" : {
"last_value" : {}
},
"responses" : [
{
"index" : 0 ,
"function" : "auth.service_accounts.revoke" ,
"status" : "completed" ,
"result" : {}
}
],
"complexity_score" : 1
}
Запрос: {
"jsonrpc" : "2.0" ,
"id" : "example" ,
"method" : "tools/call" ,
"params" : {
"name" : "hybridbox_execute" ,
"arguments" : {
"code" : "auth.service_accounts.revoke(account_id= \" 3c90c3cc-0d44-4b50-8888-8dd25736052a \" , service_account_id= \" 3c90c3cc-0d44-4b50-8888-8dd25736052a \" )"
}
}
}
Ответ: {
"jsonrpc" : "2.0" ,
"id" : "example" ,
"result" : {
"content" : [
{
"type" : "text" ,
"text" : "{ \n \" request_id \" : \" example \" , \n \" status \" : \" completed \" , \n \" result \" : { \n \" last_value \" : {} \n }, \n \" responses \" : [ \n { \n \" index \" : 0, \n \" function \" : \" auth.service_accounts.revoke \" , \n \" status \" : \" completed \" , \n \" result \" : {} \n } \n ], \n \" complexity_score \" : 1 \n }"
}
],
"isError" : false
}
}
auth.service_accounts.rotate
auth.service_accounts.rotate(account_id: str, service_account_id: str) -> Session
Аутентификация: auth.service_accounts.rotate.
Свойство Значение Свойство Значение Требуемое разрешение auth.manageТребуется аутентификация даРежим выполнения syncВозможность auth.manageТип ресурса accountПоле ID ресурса account_idПубличный маршрут API POST /v1/public/accounts/{account_id}/auth/service-accounts/{service_account_id}/rotate
Имя Тип Обязательный account_idstrда service_account_idstrда
Поле Тип Обязательный account_idstrда created_atstrда idstrда namestrда tokenstrда token_last4strда token_prefixstrда token_public_idstrда updated_atstrда created_by_user_idstr | nullнет expires_atstr | nullнет last_used_atstr | nullнет revoked_atstr | nullнет revoked_by_user_idstr | nullнет
Запрос: {
"request_id" : "example" ,
"session_id" : "session_123" ,
"code" : "auth.service_accounts.rotate(account_id= \" 3c90c3cc-0d44-4b50-8888-8dd25736052a \" , service_account_id= \" 3c90c3cc-0d44-4b50-8888-8dd25736052a \" )"
}
Ответ: {
"request_id" : "example" ,
"status" : "completed" ,
"result" : {
"last_value" : "<string>"
},
"responses" : [
{
"index" : 0 ,
"function" : "auth.service_accounts.rotate" ,
"status" : "completed" ,
"result" : "<string>"
}
],
"complexity_score" : 1
}
Запрос: {
"jsonrpc" : "2.0" ,
"id" : "example" ,
"method" : "tools/call" ,
"params" : {
"name" : "hybridbox_execute" ,
"arguments" : {
"code" : "auth.service_accounts.rotate(account_id= \" 3c90c3cc-0d44-4b50-8888-8dd25736052a \" , service_account_id= \" 3c90c3cc-0d44-4b50-8888-8dd25736052a \" )"
}
}
}
Ответ: {
"jsonrpc" : "2.0" ,
"id" : "example" ,
"result" : {
"content" : [
{
"type" : "text" ,
"text" : "{ \n \" request_id \" : \" example \" , \n \" status \" : \" completed \" , \n \" result \" : { \n \" last_value \" : \" <string> \"\n }, \n \" responses \" : [ \n { \n \" index \" : 0, \n \" function \" : \" auth.service_accounts.rotate \" , \n \" status \" : \" completed \" , \n \" result \" : \" <string> \"\n } \n ], \n \" complexity_score \" : 1 \n }"
}
],
"isError" : false
}
}
auth.users.list
auth.users.list(account_id: str, limit?: int, search?: str | null) -> list[Session]
Аутентификация: auth.users.list.
Свойство Значение Свойство Значение Требуемое разрешение auth.manageТребуется аутентификация даРежим выполнения syncВозможность auth.manageТип ресурса accountПоле ID ресурса account_idПубличный маршрут API GET /v1/public/accounts/{account_id}/auth/users
Имя Тип Обязательный account_idstrда limitintнет searchstr | nullнет
Поле Тип Обязательный idstrда emailstr | nullнет first_namestr | nullнет last_namestr | nullнет usernamestr | nullнет
Запрос: {
"request_id" : "example" ,
"session_id" : "session_123" ,
"code" : "auth.users.list(account_id= \" 3c90c3cc-0d44-4b50-8888-8dd25736052a \" , limit=123, search= \" <string> \" )"
}
Ответ: {
"request_id" : "example" ,
"status" : "completed" ,
"result" : {
"last_value" : "<string>"
},
"responses" : [
{
"index" : 0 ,
"function" : "auth.users.list" ,
"status" : "completed" ,
"result" : "<string>"
}
],
"complexity_score" : 1
}
Запрос: {
"jsonrpc" : "2.0" ,
"id" : "example" ,
"method" : "tools/call" ,
"params" : {
"name" : "hybridbox_execute" ,
"arguments" : {
"code" : "auth.users.list(account_id= \" 3c90c3cc-0d44-4b50-8888-8dd25736052a \" , limit=123, search= \" <string> \" )"
}
}
}
Ответ: {
"jsonrpc" : "2.0" ,
"id" : "example" ,
"result" : {
"content" : [
{
"type" : "text" ,
"text" : "{ \n \" request_id \" : \" example \" , \n \" status \" : \" completed \" , \n \" result \" : { \n \" last_value \" : \" <string> \"\n }, \n \" responses \" : [ \n { \n \" index \" : 0, \n \" function \" : \" auth.users.list \" , \n \" status \" : \" completed \" , \n \" result \" : \" <string> \"\n } \n ], \n \" complexity_score \" : 1 \n }"
}
],
"isError" : false
}
}
auth.whoami
Аутентификация: auth.whoami.
Свойство Значение Свойство Значение Требуемое разрешение НетТребуется аутентификация нетРежим выполнения sync
Поле Тип Обязательный authenticatedboolда user_idstrнет emailstrнет usernamestrнет expires_atstrда
Запрос: {
"request_id" : "example" ,
"session_id" : "session_123" ,
"code" : "auth.whoami()"
}
Ответ: {
"request_id" : "example" ,
"status" : "completed" ,
"result" : {
"last_value" : true
},
"responses" : [
{
"index" : 0 ,
"function" : "auth.whoami" ,
"status" : "completed" ,
"result" : true
}
],
"complexity_score" : 1
}
Запрос: {
"jsonrpc" : "2.0" ,
"id" : "example" ,
"method" : "tools/call" ,
"params" : {
"name" : "hybridbox_execute" ,
"arguments" : {
"code" : "auth.whoami()"
}
}
}
Ответ: {
"jsonrpc" : "2.0" ,
"id" : "example" ,
"result" : {
"content" : [
{
"type" : "text" ,
"text" : "{ \n \" request_id \" : \" example \" , \n \" status \" : \" completed \" , \n \" result \" : { \n \" last_value \" : true \n }, \n \" responses \" : [ \n { \n \" index \" : 0, \n \" function \" : \" auth.whoami \" , \n \" status \" : \" completed \" , \n \" result \" : true \n } \n ], \n \" complexity_score \" : 1 \n }"
}
],
"isError" : false
}
}