Create Credential
Create a credential in the caller’s workspace. config must
carry exactly the one kind-specific block named by kind (e.g.
kind=bearer requires config.bearer). Names are unique per
workspace among active credentials.
Authentication
Enter your API key with the Bearer prefix, e.g. ‘Bearer sk_…’.
Headers
Request
Human-readable label, unique per workspace.
Discriminates the auth flow a credential carries. The matching
config.<kind> block is the one that must be populated.
Kind-specific credential payload. Exactly one block is
populated — the one named by the credential’s kind. The
block IS the secret; it is echoed back decrypted on reads.
Response
Workspace-scoped credential identifier (prefixed external id).
Human-readable label, unique per workspace among active credentials.
Discriminates the auth flow a credential carries. The matching
config.<kind> block is the one that must be populated.
Kind-specific credential payload. Exactly one block is
populated — the one named by the credential’s kind. The
block IS the secret; it is echoed back decrypted on reads.