---
title: "Check machine pool connection"
method: POST
path: "/orgs/{orgID}/machine-pools/check-connection"
tags: ["Machine Pools"]
---

# Check machine pool connection

`POST /orgs/{orgID}/machine-pools/check-connection`

## Request

- Base URL: `https://api.omnara.com/v1`
- URL: `https://api.omnara.com/v1/orgs/{orgID}/machine-pools/check-connection`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `__Host-omnara_session` and API key in header `X-Omnara-Csrf`

Checks a tenant-managed pool's provider credential and provider config by making read-only requests to the provider.

## Path parameters

- `orgID` string, required

## Request body

- CheckMachinePoolConnectionRequest
  - `provider` string, required
  - `provider_auth_secret_id` string, required: Secret ID (sec_...).
  - `provider_config` object
  - `default_machine_provider_options` object

## Response `204`

The provider accepted the credential and config.

## Other responses

- `400`: The request was invalid.
- `401`: Authentication is required or invalid.
- `403`: The authenticated principal is not authorized.
- `404`: The requested resource was not found or is not visible.
- `422`: The provider rejected the credential or config, or the config is invalid.
- `424`: The provider failed or did not respond. Retrying may succeed.
- `503`: The service dependency required to satisfy the request is unavailable.
- `4XX`: Any other client error. The body carries the shared Error envelope restricted to client error codes; statuses with a dedicated response above are documented precisely.
- `5XX`: Any other server error. The body carries the shared Error envelope restricted to server error codes.

## Changes

- **2026-10-14** `3b8d6d83634d`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/omnara/apis/omnara-api-2/changes/orgs/:orgID/machine-pools/check-connection/post.md)

---

[API](https://skmtc.dev/omnara/apis/omnara-api-2.md) - [All operations](https://skmtc.dev/omnara/apis/omnara-api-2/llms.txt) - [OpenAPI document](https://skmtc.dev/omnara/apis/omnara-api-2/revisions/343aebb1dff1?raw)
