View Deployment Records
Use tcb cloudrun record list to view deployment records for a Cloud Hosting service and obtain the BuildId and RunId required for build and runtime logs.
Basic Usage
tcb cloudrun record list -e <envId> -s <serviceName>
Examples
# View deployment records for a service
tcb cloudrun record list -e env-123456 -s my-service
# Output JSON to extract BuildId or RunId in a script
tcb cloudrun record list -e env-123456 -s my-service --json
Command Parameters
| Parameter | Description | Required |
|---|---|---|
-e, --env-id <envId> | Environment ID | No |
-s, --service-name <serviceName> | Service name. If omitted, it is read from cloudbaserc.json first, then requested interactively | No |
--json | Output in JSON format | No |
-h, --help | Display command help | No |
Output
The default table includes the following fields:
| Field | Description |
|---|---|
DeployId | Deployment ID |
| Deployment start time | Deployment start time |
| Status | Deployment status |
RunId | Runtime ID used to query runtime logs |
BuildId | Build ID used to query build logs |
| Traffic ratio | Current traffic ratio assigned to the version |