---
title: "Gets a list of fabric code versions that are provisioned in a Service Fabric cluster."
method: GET
path: "/$/GetProvisionedCodeVersions"
tags: ["Cluster"]
---

# Gets a list of fabric code versions that are provisioned in a Service Fabric cluster.

`GET /$/GetProvisionedCodeVersions`

Gets a list of information about fabric code versions that are provisioned in the cluster. The parameter CodeVersion can be used to optionally filter the output to only that particular version.

## Query parameters

- `api-version` '6.0', required
- `CodeVersion` string
- `timeout` integer

## Response `200`

A successful operation will return 200 status code and the requested provisioned code versions information.

- FabricCodeVersionInfo[] — List of all Service Fabric code versions.
  - `CodeVersion` string — The product version of Service Fabric.

## Other responses

- `default` — The detailed error response.

---

[API](https://skmtc.net/azure/apis/servicefabric-servicefabric.md) · [All operations](https://skmtc.net/azure/apis/servicefabric-servicefabric/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/servicefabric-servicefabric/revisions/6df9f2f4d542/schema)
