OROdocs
Miner

Set the miner's default inference provider

Set which provider claim_work should mint a token from for this miner.

PATCH/v1/miner/inference-auth/default

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X PATCH "https://loading/v1/miner/inference-auth/default" \  -H "Content-Type: application/json" \  -d '{    "provider": "string"  }'
{
  "property1": "string",
  "property2": "string"
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}