FruxonDocs
ApiLlm provider configs

Publishes the current draft as a new revision.

Snapshots the config's current `Parameters` into a new immutable revision, increments the version, and repoints `PublishedRevisionId` at it. Agents resolving this config will use the new revision immediately. To revert, call `:rollback` with a prior revision ID.

POST
/v1/tenants/{tenant}/llmProviders/{llmProvider}/configs/{llmConfig}:publish
AuthorizationBearer <token>

JWT Authorization header using the Bearer scheme. Enter 'Bearer' [space] and then your token.

In: header

Path Parameters

llmConfig*string

The configuration ID.

Formatuuid
tenant*string

The tenant identifier

llmProvider*string

The LLM provider identifier (e.g., openai, anthropic)

Optional publish note.

note?string|null
[key: string]?never

Response Body

curl -X POST "https://api.fruxon.com/v1/tenants/string/llmProviders/string/configs/497f6eca-6276-4993-bfeb-53cbbbba6f08:publish" \  -H "Content-Type: application/json" \  -d '{}'
{
  "id": "00000000-0000-0000-0000-000000000000",
  "tenantId": "00000000-0000-0000-0000-000000000000",
  "configId": "00000000-0000-0000-0000-000000000000",
  "providerId": "string",
  "version": 0,
  "parameters": {},
  "note": "string",
  "createdBy": "string",
  "createdAt": 0
}
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "property1": null,
  "property2": null
}
Empty
Empty
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "property1": null,
  "property2": null
}