一键导入
agentuity-cli-cloud-db-logs
Get query logs for a specific database. Requires authentication. Use for Agentuity cloud platform operations
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Get query logs for a specific database. Requires authentication. Use for Agentuity cloud platform operations
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Login to the Agentuity Platform using a browser-based authentication flow. Use for managing authentication credentials
Logout of the Agentuity Cloud Platform. Use for managing authentication credentials
Add an SSH public key to your account (reads from file or stdin). Requires authentication. Use for managing authentication credentials
Delete an SSH key from your account. Requires authentication. Use for managing authentication credentials
List all SSH keys on your account. Requires authentication. Use for managing authentication credentials
Display information about the currently authenticated user. Requires authentication. Use for managing authentication credentials
| 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.110 |
| license | Apache-2.0 |
| allowed-tools | Bash(agentuity:*) |
| argument-hint | <database> |
| metadata | {"command":"agentuity cloud db logs","tags":"read-only slow requires-auth"} |
Get query logs for a specific database
agentuity auth login--org-id or default org)agentuity cloud db logs <database> [options]
| Argument | Type | Required | Description |
|---|---|---|---|
<database> | string | Yes | - |
| 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 |
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
Returns: array