Skip to main content
GET
Get All Runs in a Space

Get All Runs in a Space

Retrieve all runs associated with a specific space. A run represents a batch execution - a group of tasks triggered together within a space. This endpoint returns run details including run ID, status, timestamps, and associated collection metadata.
Prerequisites: Make sure you have your API Token ready. See Authentication for details.

Path Parameters

You can get the space_token by hitting the Get All Spaces API. The token field in the response is your Space Token.

Headers

Response Fields

Run Object Fields

Common Error Codes

Code Examples

Best Practices

  1. Space Token: Always use the correct space token for your API requests
  2. Run ID: Store the run_id from each run to query tasks within that run
  3. Status Monitoring: Poll this endpoint to track the status of ongoing batch executions
  4. Error Handling: Always handle potential errors and edge cases
  5. Security: Keep API tokens secure and rotate them regularly

Authorizations

Authorization
string
header
required

Format: Token

Headers

Org-Handle
string
required

Organization domain handle

Example:

"unpod.tv"

Path Parameters

space_token
string
required
Example:

"8KZAMRAHSXXXXXXMAYNASMJC"

Response

List of all runs