アカウント
アカウントレコードとアカウント一覧を確認します。 例では A2A コードモードを使用します。MCP はexecute ツールを通じて同じコードモードを公開します。
関数
accounts.get
accounts.get.
| プロパティ | 値 | プロパティ | 値 |
|---|---|---|---|
| 必要な権限 | account.view | 認証必須 | はい |
| 実行モード | sync | 機能権限 | account.view |
| リソースタイプ | account | リソース ID フィールド | account_id |
| 公開 API ルート | GET /v1/public/accounts/{account_id} |
引数
引数
| 名前 | 型 | 必須 |
|---|---|---|
account_id | str | はい |
戻り値
戻り値
| フィールド | 型 | 必須 |
|---|---|---|
client | {"id": str, "name": str} | はい |
created_at | str | はい |
id | str | はい |
name | str | はい |
status | str | はい |
updated_at | str | はい |
A2A の例
A2A の例
リクエスト:レスポンス:
MCP の例
MCP の例
リクエスト:レスポンス:
accounts.list
accounts.list.
| プロパティ | 値 | プロパティ | 値 |
|---|---|---|---|
| 必要な権限 | account.view | 認証必須 | はい |
| 実行モード | sync | 機能権限 | account.view |
| リソースタイプ | account | リソース ID フィールド | account_id |
| 公開 API ルート | GET /v1/public/accounts |
引数
引数
| 名前 | 型 | 必須 |
|---|---|---|
client_id | str | null | いいえ |
page | int | いいえ |
page_size | int | いいえ |
status | str | null | いいえ |
戻り値
戻り値
| フィールド | 型 | 必須 |
|---|---|---|
items | [{"client": {"id": str, "name": str}, "created_at": str, "id": str, "name": str, "status": str, "updated_at": str}] | はい |
page | int | はい |
page_size | int | はい |
total | int | はい |
A2A の例
A2A の例
リクエスト:レスポンス:
MCP の例
MCP の例
リクエスト:レスポンス: