> For the complete documentation index, see [llms.txt](https://developer.harness.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.harness.io/infrastructure-as-code-management/iacm-api-reference/provider-registry/list-provider-versions.md).

# List provider versions

Lists available versions for a provider

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"tags":[{"name":"provider-registry","description":"The provider-registry service implements HashiCorp's Provider Registry Protocol for private Terraform providers"}],"servers":[{"url":"http://localhost:80"}],"paths":{"/provider/account/{account}/{type}/versions":{"get":{"tags":["provider-registry"],"summary":"List provider versions","description":"Lists available versions for a provider","operationId":"provider-registry#list-provider-versions","parameters":[{"name":"account","in":"path","description":"Account that owns the provider","required":true,"schema":{"type":"string","description":"Account that owns the provider"}},{"name":"type","in":"path","description":"Provider type","required":true,"schema":{"type":"string","description":"Provider type"}}],"responses":{"200":{"description":"OK response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListProviderVersionsResponse"}}}},"400":{"description":"BadRequestError: Bad Request response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/RegistryError"}}}},"401":{"description":"UnauthorizedError: Unauthorized response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/RegistryError"}}}},"403":{"description":"ForbiddenError: Forbidden response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/RegistryError"}}}},"404":{"description":"NotFoundError: Not Found response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/RegistryError"}}}},"408":{"description":"TimeoutError: Request Timeout response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/RegistryError"}}}},"409":{"description":"ConflictError: Conflict response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/RegistryError"}}}},"423":{"description":"LockedError: Locked response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/RegistryError"}}}},"499":{"description":"ContextCancelledError:  response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/RegistryError"}}}},"500":{"description":"InternalServerError: Internal Server Error response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/RegistryError"}}}},"502":{"description":"BadGatewayError: Bad Gateway response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/RegistryError"}}}}}}}},"components":{"schemas":{"ListProviderVersionsResponse":{"type":"object","properties":{"versions":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmProviderRegistryProviderVersion"},"description":"List of available provider versions"}},"description":"List of provider versions","required":["versions"]},"HarnessIacmProviderRegistryProviderVersion":{"type":"object","properties":{"platforms":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmProviderRegistryPlatform"},"description":"Supported platforms"},"protocols":{"type":"array","items":{"type":"string"},"description":"Supported Terraform protocol versions"},"version":{"type":"string","description":"Provider version"}},"description":"ProviderVersion contains information about a specific provider version","required":["version","protocols","platforms"]},"HarnessIacmProviderRegistryPlatform":{"type":"object","properties":{"arch":{"type":"string","description":"Architecture"},"os":{"type":"string","description":"Operating system"}},"description":"Platform defines an operating system and architecture combination","required":["os","arch"]},"RegistryError":{"type":"object","properties":{"fault":{"type":"boolean","description":"Is the error a server-side fault?"},"id":{"type":"string","description":"ID is a unique identifier for this particular occurrence of the problem."},"message":{"type":"string","description":"Message is a human-readable explanation specific to this occurrence of the problem."},"name":{"type":"string","description":"Name is the name of this class of errors."},"temporary":{"type":"boolean","description":"Is the error temporary?"},"timeout":{"type":"boolean","description":"Is the error a timeout?"}},"required":["name","id","message","temporary","timeout","fault"]}}}}
```
