list_licenses
Licenses, newest first: key masked as lic_…1234 (never the full key), product, plan, status, customer (masked unless pii:read), activations used of the limit (activations_used_count counts active activations only; deactivated ones are not counted), issued and expiry dates. Filter by product, status, plan, licenses expiring within N days, or (with pii:read) a customer email. Paginated.
- Server: Organization server
- Scope:
licensing:read - Read-only: yes
Input
{
"properties": {
"product": {
"type": "string"
},
"status": {
"enum": [
"active",
"expired",
"revoked",
"cancelled",
"suspended",
"refunded"
],
"type": "string"
},
"plan_id": {
"type": "string"
},
"expiring_within_days": {
"minimum": 1,
"maximum": 400,
"type": "integer"
},
"customer_email": {
"description": "Exact email; needs pii:read.",
"type": "string"
},
"cursor": {
"type": "string"
},
"limit": {
"minimum": 1,
"maximum": 100,
"type": "integer"
}
},
"type": "object"
}Output (structuredContent)
{
"properties": {
"as_of": {
"type": "string"
}
},
"type": "object",
"required": [
"as_of"
]
}