Skip to content
Niu DocsNiu 牛元文档
Dashboard控制台

ProviderCredentialCreateInput

Generated from the checked-in source. Do not edit this reference by hand.

SDK source. All SDK types.

TypeScript
/** Write-only secret input; creation does not establish upstream or commercial qualification. */
export type ProviderCredentialCreateInput = {
name: string;
adapter: 'openrouter' | 'openai' | 'anthropic' | 'gemini' | 'ark';
api_base: string;
api_key: string;
enabled?: boolean;
create_supplier?: boolean;
supplier_id?: string;
};