Conversations

Mark the primary provider

The provider whose models run masters, builders and hard work. Without project_id: the organization’s default (owners and admins). With it: that project’s override (owners and admins, or the project’s API key). provider: null removes the mark (then the first provider connected is primary).

put/v1/model-template/primary

Request

  • Base URL: https://api.shardflux.dev
  • URL: https://api.shardflux.dev/v1/model-template/primary
  • Auth: HTTP bearer

Request body

provider'claude' | 'codex' nullable required
project_idstring uuid

UUIDv7, lowercase canonical form.

organization_idstring uuid

UUIDv7, lowercase canonical form.

Response

Default Response

primary'claude' | 'codex' nullable required
primary_source'marked' | 'project' | 'first_connected' nullable required

marked: the organization’s mark; project: this project’s override; first_connected: no mark, the first provider connected.

secondary'claude' | 'codex' nullable required
task_harness'claude' | 'codex' nullable required
attemptinteger required

Changes

No recorded changes to this operation across all 1 revision of this API.