ai

Add an AI key

An owner adds a key, with a passkey: a decision model's (TypeSafe's, or any endpoint that speaks its System One API), which then answers before the instance's model, or a language model's (Anthropic's, or any OpenAI-compatible endpoint), which reads pasted text into fields when a person asks. Binderwork checks it with one small call, keeps it encrypted and shows only its last four characters. A new key replaces the one before for the same purpose. Refused while an owner has AI features off.

post/ai/keys

Request

  • Base URL: https://localhost:4410/api/v1
  • URL: https://localhost:4410/api/v1/ai/keys
  • Auth: HTTP bearer

Request body

keystring required
purpose'decision' | 'language'
provider'systemone' | 'anthropic' | 'openai_compatible'
base_urlstring uri
modelstring

Response

The result.

Changes

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