Models

Create a model profile

Changed on

A profile runs on one harness. model must run on that harness and be in the model catalog unless allowCustomModel is true (a gateway id, a fresh launch); a latest: alias is accepted and resolves at claim. effort must be a level the harness and model support. Operator only (the shared API key).

post/api/model-profiles

Request

  • Base URL
    http://localhost:3013
  • URL
    http://localhost:3013/api/model-profiles
  • Auth
    HTTP bearer

Request body

namestring required
harness'claude' | 'codex' | 'pi' | 'devin' | 'claude-managed' | 'opencode' | 'acp' | 'dsh' | 'amp' | 'cursor' | 'grok' | 'fx' required
modelstring required
effort'off' | 'low' | 'medium' | 'high' | 'xhigh' | 'max' | 'null' nullable
allowCustomModelboolean
descriptionstring nullable

Response

Profile created

idstring required
namestring required
harness'claude' | 'codex' | 'pi' | 'devin' | 'claude-managed' | 'opencode' | 'acp' | 'dsh' | 'amp' | 'cursor' | 'grok' | 'fx' required
modelstring required
effort'off' | 'low' | 'medium' | 'high' | 'xhigh' | 'max' | 'null' nullable required
allowCustomModelboolean required
descriptionstring nullable required
seededFromstring nullable required
createdAtstring required
lastUpdatedAtstring required

Changes