Skip to main content

POST /api/zeq/llm/credentials/{id}/system-default

At most one credential per provider can hold the flag — the partial unique index in migration 0004 enforces this.

We unset any prior default for the same provider in the same transaction-equivalent (sequential updates; t

MethodPOST
Path/api/zeq/llm/credentials/{id}/system-default
Feature areaZeq core & solvers
TagZeq Core
Authpublic (no key)
Tiercomputation (public)

Parameters

Path parameters

NameTypeRequiredDescription
idstringyes

No query or header parameters are published for this operation.

Request body

Optional. Content type: application/json.

The node publishes this body as a free-form JSON object — no field schema is exposed in openapi.json. Send the fields the summary above describes; the endpoint validates them and refuses rather than guessing.

Responses

StatusMeaning
200OK
403Forbidden — authenticated, but not permitted for this resource
404Not found
412Precondition failed

403 body

FieldTypeRequiredDescription
okboolean — one of falseyes
errorstringnoHuman-readable message.
codestringnoStable machine-readable code, e.g. ADMIN_REQUIRED, INVALID_ZID, ZID_NOT_LINKED.

404 body

FieldTypeRequiredDescription
okboolean — one of falseyes
errorstringnoHuman-readable message.
codestringnoStable machine-readable code, e.g. ADMIN_REQUIRED, INVALID_ZID, ZID_NOT_LINKED.

412 body

FieldTypeRequiredDescription
okboolean — one of falseyes
errorstringnoHuman-readable message.
codestringnoStable machine-readable code, e.g. ADMIN_REQUIRED, INVALID_ZID, ZID_NOT_LINKED.

Call it

curl -sS -X POST https://zeq.me/api/zeq/llm/credentials/01J8ZQ2H9VMR4K/system-default \
-H "Content-Type: application/json" \
-d '{}'

Generated from the live OpenAPI description (https://zeq.me/openapi.json, spec version 1.287.0) by scripts/generate-reference.mjs. Do not edit — this file is rewritten on every run.