Skip to main content
PUT
Store or replace the factory's Anthropic API key

Authorizations

X-Outerlayer-App-Id
string
header
required

Factory id the request is scoped to.

Authorization
string
header
required

API key (sk_outerlayer_*)

Path Parameters

appId
string<uuid>
required

Body

application/json
key
string
required

The Anthropic API key. The gateway checks it with Anthropic, stores it in Vault, and never returns it.

Required string length: 8 - 1000
Pattern: ^[\x21-\x7e]+$

Response

The key was checked and stored.

data
object
required