Skip to main content
GET
Get All Spaces

Get All Spaces

Retrieve a list of all spaces within your organization. Spaces are containers that organize your tasks, runs, and data collections.

Headers

Response Fields

Space Object Fields


Common Error Codes

Code Examples

Best Practices

  1. Org-Handle: Always include the correct organization handle in your requests
  2. Space Token: Note the token field - it is used as the space_token path parameter in other endpoints
  3. Agent Handle: Use the agent_handle when creating tasks to assign them to the correct agent
  4. Error Handling: Always handle potential errors and edge cases
  5. Caching: Consider caching space data to reduce API calls since spaces change infrequently

Authorizations

Authorization
string
header
required

Format: Token

Headers

Org-Handle
string
required

Organization domain handle

Example:

"unpod.tv"

Response

List of all spaces