← スキル一覧に戻る

agentuity-cli-cloud-db-logs
by agentuity
⭐ 3🍴 5📅 2026年1月5日
SKILL.md
name: agentuity-cli-cloud-db-logs description: Get query logs for a specific database. Requires authentication. Use for Agentuity cloud platform operations version: "0.0.104" license: Apache-2.0 allowed-tools: "Bash(agentuity:*)" argument-hint: "" metadata: command: "agentuity cloud db logs" tags: "read-only slow requires-auth"
Cloud Db Logs
Get query logs for a specific database
Prerequisites
- Authenticated with
agentuity auth login - Organization context required (
--org-idor default org)
Usage
agentuity cloud db logs <database> [options]
Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
<database> | string | Yes | - |
Options
| Option | Type | Required | Default | Description |
|---|---|---|---|---|
--startDate | string | Yes | - | Start date for filtering logs |
--endDate | string | Yes | - | End date for filtering logs |
--username | string | Yes | - | Filter by username |
--command | string | Yes | - | Filter by SQL command type |
--hasError | boolean | Yes | - | Show only queries with errors |
--sessionId | string | Yes | - | Filter by session ID (trace ID) |
--showSessionId | boolean | No | false | Show session ID column in output |
--showUsername | boolean | No | false | Show username column in output |
--pretty | boolean | No | false | Show full formatted SQL on separate line |
--limit | number | No | 100 | Maximum number of logs to return |
--timestamps | boolean | No | true | Show timestamps in output |
Examples
View query logs for database:
bunx @agentuity/cli cloud db logs my-database
Limit to 50 log entries:
bunx @agentuity/cli cloud db logs my-database --limit=50
Show only queries with errors:
bunx @agentuity/cli cloud db logs my-database --has-error
Filter by username:
bunx @agentuity/cli cloud db logs my-database --username=user123
Filter by SQL command type:
bunx @agentuity/cli cloud db logs my-database --command=SELECT
Filter by session ID:
bunx @agentuity/cli cloud db logs my-database --session-id=sess_abc123
Show session ID column:
bunx @agentuity/cli cloud db logs my-database --show-session-id
Show username column:
bunx @agentuity/cli cloud db logs my-database --show-username
Show full formatted SQL on separate lines:
bunx @agentuity/cli cloud db logs my-database --pretty
Output
Returns: array
スコア
総合スコア
60/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
✓LICENSE
ライセンスが設定されている
+10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です