getSpacesByType
Agent Runtimes / api/spacer/spaces / getSpacesByType
Function: getSpacesByType()
getSpacesByType(
token,type,baseUrl?):Promise<GetSpacesByTypeResponse>
Defined in: src/api/spacer/spaces.ts:173
Get spaces by type (e.g., 'project', 'workspace', 'course').
Parameters
token
string
Authentication token
type
string
Space type to filter by
baseUrl?
string = DEFAULT_SERVICE_URLS.SPACER
Base URL for the API
Returns
Promise<GetSpacesByTypeResponse>
Promise resolving to the spaces response