Admin
Voucher codes, report generation, and administrative operations.
3 tools
# list_vouchers
List voucher codes
| Parameter | Type | Required | Description |
|---|---|---|---|
| workspace_id | string | ● | Workspace ID |
| limit | integer | — | Max results |
| offset | integer | — | Offset |
# create_voucher
Create a voucher code for plan access
| Parameter | Type | Required | Description |
|---|---|---|---|
| workspace_id | string | ● | Workspace ID |
| code | string | ● | Voucher code |
| created_by | string | ● | Creator email |
| plan_name | string | ● | Plan name |
| description | string | — | Description |
| max_redemptions | integer | — | Max redemptions (default: 1) |
# generate_report
Generate a report (async -- returns job_id)
| Parameter | Type | Required | Description |
|---|---|---|---|
| workspace_id | string | ● | Workspace ID |
| type | string | — | Report type |
| project_ids | array | — | Project IDs to include |
| custom_instructions | string | — | Custom report instructions |