Query Integration List
Use the tcb integration list command to query all integration configurations in the current environment.
tcb integration list [options]
Command Parameters
| Parameter | Description | Required |
|---|---|---|
--limit <n> | Maximum number of results to return, default 20 | No |
--offset <n> | Number of results to skip, default 0 | No |
--json | Output results in JSON format | No |
Usage Examples
Basic Query
# Query first 20 integration records
tcb integration list
# Query first 50 records
tcb integration list --limit 50
# Skip first 10 records, query next 20 records
tcb integration list --offset 10 --limit 20
JSON Format Output
tcb integration list --json
Output example:
{
"TotalCount": 2,
"UserKeyList": [
{
"KeyId": "key-721a6e232e169382d3cbc5faa3dc2cd6",
"Name": "my-integration",
"AuthTypeCode": "custom",
"Description": "My integration",
"DemoCodeFunctionName": "my-function",
"CreateTime": "2024-01-01T00:00:00Z",
"UpdateTime": "2024-01-01T00:00:00Z"
},
{
"KeyId": "key-abc123",
"Name": "wechat-integration",
"AuthTypeCode": "wechat",
"Description": "",
"CreateTime": "2024-01-02T00:00:00Z",
"UpdateTime": "2024-01-02T00:00:00Z"
}
]
}
Output Field Description
| Field | Description |
|---|---|
KeyId | Integration unique identifier |
Name | Integration name |
AuthTypeCode | Authentication type |
Description | Integration description |
DemoCodeFunctionName | Bound cloud function name |
CreateTime | Creation time |
UpdateTime | Update time |
Pagination Query
When there are many integrations, you can use --limit and --offset parameters for pagination:
# First page (records 1-20)
tcb integration list --limit 20 --offset 0
# Second page (records 21-40)
tcb integration list --limit 20 --offset 20
# Third page (records 41-60)
tcb integration list --limit 20 --offset 40