AgentSkillsCN

agentuity-cli-cloud-deployment-logs

查看特定部署的日志。需进行身份验证。可用于 Agentuity 云平台的运维操作。

SKILL.md
--- frontmatter
name: agentuity-cli-cloud-deployment-logs
description: View logs for a specific deployment. Requires authentication. Use for Agentuity cloud platform operations
version: "0.1.24"
license: Apache-2.0
allowed-tools: "Bash(agentuity:*)"
argument-hint: "<deployment_id>"
metadata:
  command: "agentuity cloud deployment logs"
  tags: "read-only fast requires-auth requires-deployment"

Cloud Deployment Logs

View logs for a specific deployment

Prerequisites

  • Authenticated with agentuity auth login
  • cloud deploy

Usage

bash
agentuity cloud deployment logs <deployment_id> [options]

Arguments

ArgumentTypeRequiredDescription
<deployment_id>stringYes-

Options

OptionTypeRequiredDefaultDescription
--projectIdstringYes-Project ID
--limitnumberNo100Maximum number of logs to return
--timestampsbooleanNotrueShow timestamps in output

Examples

View logs for deployment:

bash
bunx @agentuity/cli cloud deployment logs deploy_abc123xyz

Limit to 50 log entries:

bash
bunx @agentuity/cli cloud deployment logs deploy_abc123xyz --limit=50

Hide timestamps:

bash
bunx @agentuity/cli cloud deployment logs deploy_abc123xyz --no-timestamps

View logs with specific project:

bash
bunx @agentuity/cli cloud deployment logs deploy_abc123xyz --project-id=proj_abc123xyz

Output

Returns: array