Platform Admin
Get workspace details
SaaS only. Returns detailed workspace information including resource breakdown and user list.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "http://localhost:3001/api/v1/platform/workspaces/:id"{
"workspace": {
"id": "string",
"name": "string",
"slug": "string",
"status": "active",
"planTier": "free",
"byot": true,
"members": 0,
"conversations": 0,
"queriesLast24h": 0,
"connections": 0,
"scheduledTasks": 0,
"stripeCustomerId": "string",
"trialEndsAt": "string",
"suspendedAt": "string",
"deletedAt": "string",
"region": "string",
"regionAssignedAt": "string",
"createdAt": "string"
},
"users": [
{
"id": "string",
"name": "string",
"email": "string",
"role": "member",
"createdAt": "string"
}
]
}{
"property1": null,
"property2": null
}{
"property1": null,
"property2": null
}{
"error": "string",
"message": "string",
"requestId": "string"
}{
"error": "string",
"message": "string",
"requestId": "string"
}