curl --request GET \
--url https://api.dualship.run/api/v1/billing \
--header 'Authorization: Bearer <token>'{
"limits": {
"additional_seat_price": 123,
"executions_per_month": 123,
"flows": 123,
"included_seats": 123,
"log_retention_days": 123,
"workspaces": 123
},
"plan": {
"features": [
{
"key": "<string>",
"label": "<string>"
}
],
"id": "<string>",
"interval": "<string>",
"name": "<string>",
"price": 123,
"slug": "<string>"
},
"subscription": {
"cancel_at_period_end": true,
"current_period_end": "<string>",
"status": "<string>",
"trial_end": "<string>"
},
"usage": {
"executions": 123,
"flows": 123
}
}Get current plan, usage, and subscription details for a workspace
curl --request GET \
--url https://api.dualship.run/api/v1/billing \
--header 'Authorization: Bearer <token>'{
"limits": {
"additional_seat_price": 123,
"executions_per_month": 123,
"flows": 123,
"included_seats": 123,
"log_retention_days": 123,
"workspaces": 123
},
"plan": {
"features": [
{
"key": "<string>",
"label": "<string>"
}
],
"id": "<string>",
"interval": "<string>",
"name": "<string>",
"price": 123,
"slug": "<string>"
},
"subscription": {
"cancel_at_period_end": true,
"current_period_end": "<string>",
"status": "<string>",
"trial_end": "<string>"
},
"usage": {
"executions": 123,
"flows": 123
}
}Was this page helpful?