---
title: "List all jobs of a test environment"
method: GET
path: "/test-environments/{id}/jobs"
tags: ["Test Environment Jobs"]
---

# List all jobs of a test environment

`GET /test-environments/{id}/jobs`

Use this operation to retrieve a list of job responses associated 
with a specific Test Environment. It handles HTTP GET requests to 
the /test-environments/{id}/jobs endpoint and returns an ArrayResponse 
containing JobResponse objects. This method is documented in Swagger, 
including possible responses for successful retrieval and bad requests.

### User Access Permission

You must be assigned the **Refresh Central Sandbox** 
permission to run this operation.

## Path parameters

- `id` string, required

## Headers

- `Zuora-Entity-Ids` string
- `Zuora-Track-Id` string
- `Accept-Encoding` string
- `Content-Encoding` string

## Response `200`

Successfully retrieved a list of Test Environment job responses

- JobArrayResponse — Container for array of objects
  - `result` JobResponse[] — Array of objects
    - `createTime` string, date-time — The date and time when the job was first synced to self service
    - `createdById` string — The automatically generated ID of the Zuora user who created the job object
    - `estimatedCompletionTime` string, date-time — The date and time when the job is estimated to be completed
    - `id` string — The unique ID (UUID) of the Test Environment job
    - `jobEndTime` string, date-time — The date and time when the job completed
    - `jobStartTime` string, date-time — The date and time when the job was started
    - `jobType` 'REFRESH' | 'CREATE' | 'DELETE' — The type of Test Environment job being performed
    - `progressPercentage` integer — The progress percentage of the job
    - `scheduledRefreshTime` string, date-time — The optional date and time for scheduling a job
    - `status` 'NEW' | 'SCHEDULED' | 'QUEUED' | 'INITIATED' | 'PROVISIONING' | 'DEPROVISIONING' | 'EXPORTING' | 'SCRUBBING' | 'RESETTING' | 'IMPORTING' | 'FINALIZING' | 'CANCELLING' | 'COMPLETED' | 'FAILED' | 'CANCELLED' — The status of the Test Environment job
    - `testEnvironmentId` string — The Test Environment to which this job belongs
    - `updateTime` string, date-time — The date and time when the job was last synced to self-service
    - `updatedById` string — The automatically generated ID of the Zuora user who updated the job object
  - `size` integer

## Other responses

- `400` — Bad request
- `500` — Internal Error

---

[API](https://skmtc.dev/zuora/apis/api-reference.md) · [All operations](https://skmtc.dev/zuora/apis/api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/zuora/api-reference/revisions/d11e237f3e54/schema)
