---
title: "Get job agents matching a deployment selector"
method: GET
path: "/v1/deployments/{deploymentId}/job-agents"
---

# Get job agents matching a deployment selector

`GET /v1/deployments/{deploymentId}/job-agents`

## Path parameters

- `deploymentId` string, required

## Response `200`

Job agents matching the deployment selector

- object
  - `items` JobAgent[], required
    - `config` JobAgentConfig, required
    - `id` string, required
    - `metadata` object
    - `name` string, required
    - `type` string, required
    - `workspaceId` string, required

## Other responses

- `400` — Invalid request
- `404` — Resource not found

---

[API](https://skmtc.net/ctrlplanedev/apis/workspace-engine-api.md) · [All operations](https://skmtc.net/ctrlplanedev/apis/workspace-engine-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ctrlplanedev/workspace-engine-api/versions/e4a4bf1152c8/schema)
