miner
Store an inference-provider credential
Changed onStore (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
- Base URLhttps://api.oroagents.com
- Auth
- HTTP bearer
- or API key in header X-Hotkey and API key in header X-Timestamp and API key in header X-Nonce and API key in header X-Signature
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
providerstring required
Request body
Response
Successful Response
object required
Changes
- info
the endpoint scheme security
SessionBearerwas added to the API - info
the endpoint scheme security
X-Hotkey AND X-Timestamp AND X-Nonce AND X-Signaturewas added to the API
- info