---
title: "Sanity checks a provider assigned to the workspace. The agents of an on-premise provider, compared with those of every on-premise provider assigned to the workspace: agents sharing a machine, a memory per agent declared too low. A name shared with another provider the workspace sees, its own, shared or OctoPerf's, reported only when the caller can rename the provider: the result depends on the caller. 403 when the caller cannot read the provider, as for a public provider of another workspace; 404 when the provider is not assigned to the workspace"
method: GET
path: "/workspaces/docker-providers/sanity-check/{workspaceId}/{providerId}"
tags: ["Workspaces - Providers"]
---

# Sanity checks a provider assigned to the workspace. The agents of an on-premise provider, compared with those of every on-premise provider assigned to the workspace: agents sharing a machine, a memory per agent declared too low. A name shared with another provider the workspace sees, its own, shared or OctoPerf's, reported only when the caller can rename the provider: the result depends on the caller. 403 when the caller cannot read the provider, as for a public provider of another workspace; 404 when the provider is not assigned to the workspace

`GET /workspaces/docker-providers/sanity-check/{workspaceId}/{providerId}`

## Request

- Base URL: `https://api.octoperf.com`
- URL: `https://api.octoperf.com/workspaces/docker-providers/sanity-check/{workspaceId}/{providerId}`
- Auth: none declared

## Path parameters

- `workspaceId` string, required
- `providerId` string, required

## Response `200`

OK

- ProviderError[]
  - `id` string
  - `type` string
  - `level` 'ERROR' | 'WARNING' | 'INFO'
  - `errorMsg` string
  - `providerId` string
  - `agentIds` string[]
  - `rule` 'AGENTS_SHARING_A_MACHINE' | 'MEMORY_UNDER_DECLARED' | 'PROVIDER_NAME_DUPLICATED'
  - `details` string

## Other responses

- `400`: Bad Request
- `403`: Forbidden
- `404`: Not Found
- `409`: Conflict
- `429`: Too Many Requests

## Changes

- **2026-11-03** `637a8f8ce8cf`: 1 info
  - api operation id `b_8` removed and replaced with `C_3`
- **2026-10-30** `fc0ab021d8d3`: 1 info
  - api operation id `M_4` removed and replaced with `b_8`
- **2026-10-29** `6fb7a9d5eb1c`: 1 info
  - api operation id `f_3` removed and replaced with `M_4`
- **2026-10-28** `6fc0f4ece308`: 1 info
  - api operation id `d_6` removed and replaced with `f_3`
- **2026-10-27** `d04c0ffc592f`: 1 warning, 1 info
  - added the new `PROVIDER_NAME_DUPLICATED` enum value to the `items/rule` response property for the response status `200`
  - api operation id `S_3` removed and replaced with `d_6`

[Operation history](https://skmtc.dev/octoperf/apis/octoperf-api/changes/workspaces/docker-providers/sanity-check/:workspaceId/:providerId/get.md)

---

[API](https://skmtc.dev/octoperf/apis/octoperf-api.md) - [All operations](https://skmtc.dev/octoperf/apis/octoperf-api/llms.txt) - [OpenAPI document](https://skmtc.dev/octoperf/apis/octoperf-api/revisions/637a8f8ce8cf?raw)
