Skip to main content

Parameters

ClientConfig
required
The platform URL and exactly one credential.

Returns

PotatoClient
A client with typed resource methods and waitFor. Construction makes no request. See the client method index for operations and waitFor for polling.

Throws

Throws a local error for an empty base URL, an invalid absolute URL, or an empty API key or scoped token. It does not verify credentials against the platform during construction. See client and credentials for token management, request bodies, and rate limits.