miner

Store an inference-provider credential

Changed on

Store (or overwrite) the miner's credential for the given provider.

Validates the credential before persisting so bad input fails here rather than at first claim_work. The first stored provider becomes the miner's default; switching default afterward goes through the dedicated PATCH endpoint.

post/v1/miner/inference-auth/{provider}

Request

Path parameters

providerstring required

Request body

credentialstring required

Provider-specific credential (refresh token, API key, etc.)

Response

Successful Response

object required

Changes

    • info

      the endpoint scheme security SessionBearer was added to the API

    • info

      the endpoint scheme security X-Hotkey AND X-Timestamp AND X-Nonce AND X-Signature was added to the API