Retrieve details of all created spaces in your organization
| Name | Type | Required | Description |
|---|---|---|---|
| Authorization | string | Yes | API Key format: Token <token> |
| Org-Handle | string | Yes | Organization domain handle |
| Field | Type | Description |
|---|---|---|
| count | integer | Total number of spaces |
| status_code | integer | HTTP status code |
| message | string | Response message |
| data | array | Array of space objects |
| Field | Type | Description |
|---|---|---|
| id | string | Unique space identifier |
| name | string | Space display name |
| token | string | Public token for API access (use as space_token) |
| agent_handle | string | Handle of the agent assigned to the space |
| created_at | string | Space creation timestamp (ISO 8601) |
| Status Code | Description |
|---|---|
| 200 | Success - Request completed successfully |
| 400 | Bad Request - Invalid parameters provided |
| 401 | Unauthorized - Invalid or missing API token |
| 403 | Forbidden - Access denied to the resource |
| 404 | Not Found - Organization not found |
| 500 | Internal Server Error - Server-side error |
token field — it is used as the space_token path parameter in other endpointsagent_handle when creating tasks to assign them to the correct agent