List Jobs
GET/jobs
Returns a paginated list of jobs with optional filtering and sorting.
Filtering
Filter jobs using query parameters:
types: Filter by job type (pipeline, query, update, config)states: Filter by job state (pending, running, stopped, etc.)labels: Label selector for matching jobs (e.g., "env=prod,region=us-west")namespace: Filter by namespace (if multi-tenant)
Pagination
- First request: Specify
limit(default 50, max 1000) - Response includes
next_tokenif more results available - Subsequent requests: Include
next_tokenfrom previous response - Continue until
next_tokenis empty
Sorting
order_by: Field to sort by (created_at, updated_at, name)order: Sort direction (asc or desc)- Default: created_at desc (newest first)
Common Patterns
- All running jobs:
?states=running - Production pipelines:
?types=pipeline&labels=env=production - Recently updated:
?order_by=updated_at&order=desc&limit=10
Request
Responses
- 200
- 400
- 500
OK
Invalid query parameters
Internal Server Error