Get query logs for a specific database. Requires authentication. Use for Agentuity cloud platform operations
Get query logs for a specific database
agentuity auth loginagentuity 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
npx skills add agentuity/agentuity-cli-cloud-db-logs下载完整 Skill 目录,包含 SKILL.md 及所有相关文件
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer