latestOpenAPI 3.0.02026-08-0819201.1 MB
411f9f98c01e
stats
Lists of workspaces with flows in them and flow components.
A user has to be a member of the Contract’s scope with the global.stats.workspaces permission or belong to the Tenant Admin users group
get/stats/workspaces
Query parameters
contract_idstring
Contract identifier. This parameter is required for Contract Owner and prohibited for Tenant Admin.
Response
OK
Example response
{
"data": [
{
"id": "5b4f337bff4304610483ba67",
"attributes": {
"name": "Workspace name",
"flows": [
{
"id": "5b4f337bff4304610483ba67",
"name": "Flow name",
"status": "active",
"type": "ordinary",
"created_at": "2020-03-04T11:25:45.238Z",
"updated_at": "2020-03-04T11:25:45.238Z",
"components": [
{
"name": "code",
"component_id": "5b4f337bff4304610483ba67",
"version": "6765e8b85f200f5a1065b880272135cb45c6a2e4"
}
]
}
]
}
}
]
}