FruxonDocs
ApiLlm provider configs

Rolls back the configuration to a previously published revision.

Repoints `PublishedRevisionId` at the target revision without creating a new revision or version number. When `RestoreDraft` is true, the revision's parameters are also copied into the draft. The target must already exist in this config's history.

POST
/v1/tenants/{tenant}/llmProviders/{llmProvider}/configs/{llmConfig}:rollback
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)

The revision to roll back to.

revisionId*string
Formatuuid
restoreDraft?boolean

When true, the rolled-back revision's parameters are also copied into the draft. Defaults to false to preserve backward compatibility.

[key: string]?never

Response Body

curl -X POST "https://api.fruxon.com/v1/tenants/string/llmProviders/string/configs/497f6eca-6276-4993-bfeb-53cbbbba6f08:rollback" \  -H "Content-Type: application/json" \  -d '{    "revisionId": "bae12d01-48af-47b3-9304-b09ef0081cd6"  }'
{
  "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
}