Connections

Recheck a connection

Recheck the stored credentials with the provider and store the new status (Recheck in the UI). A run's verification report is GET /v1/runs/{id}/verification.

POST/v1/provider-connections/{id}/verifyAPI key

Authorization

Send Authorization: Bearer gr_... with a key from the Developer access page. The browser session cookie gpu_router_session also works.

Path parameters

idstringrequired

Responses

200application/json

Metadata after the recheck; status is connected, invalid, or unavailable. A demo connection stays demo and is not checked.

Show response attributes
idstringrequired
user_idstringrequired
providerenum<string>required

Available options: modal runpod lambda vast nebius nationalcompute ghcr

statusenum<string>required

Available options: connected invalid unavailable demo

last_checked_atstring<date-time>required
created_atstring<date-time>required
401application/json

UNAUTHENTICATED: missing, invalid, expired, or revoked session or API key.

UNAUTHENTICATED
403application/json

CSRF_ORIGIN_MISMATCH: the Origin header does not match the public URL.

CSRF_ORIGIN_MISMATCH
404application/json

PROVIDER_CONNECTION_NOT_FOUND: no connection with this id belongs to the signed-in user.

PROVIDER_CONNECTION_NOT_FOUND
429application/json

RATE_LIMITED (retryable): the signed-in user made more than GPU_ROUTER_RATE_PER_MINUTE mutating requests in the last minute. Nothing was changed.

RATE_LIMITED
500application/json

Unexpected failure: INTERNAL_ERROR.

INTERNAL_ERROR
502application/json

AUTH_PROVIDER_REJECTED: the provider refused the request (not retryable).

AUTH_PROVIDER_REJECTED
503application/json

AUTH_NOT_CONFIGURED (not retryable) or AUTH_PROVIDER_UNAVAILABLE (retryable).

AUTH_NOT_CONFIGUREDAUTH_PROVIDER_UNAVAILABLE

MCP tool

recheck_connection: Check a connection's stored credentials with the provider again and return it with the refreshed status. Free.