Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 1.92 KB

File metadata and controls

30 lines (22 loc) · 1.92 KB

TargetCreateOpenAI

targetCreateOpenAI is a command that creates a new openai target

Properties

Name Type Description Notes
apiKey String API key for OpenAI [optional]
apiKeyId String API key ID [optional]
codexOauthAccessToken String Codex OAuth access token (auth.json tokens.access_token), used when codex-oauth-mode=chatgpt_oauth [optional]
codexOauthAccountId String Codex OAuth account id (auth.json tokens.account_id), used when codex-oauth-mode=chatgpt_oauth [optional]
codexOauthMode String Auth mode: empty (default, static api-key) or chatgpt_oauth [optional]
codexOauthRefreshToken String Codex OAuth refresh token (auth.json tokens.refresh_token), used when codex-oauth-mode=chatgpt_oauth [optional]
deleteProtection String Protection from accidental deletion of this object [true/false] [optional]
description String Description of the object [optional]
json Boolean Set output format to JSON [optional]
key String The name of a key that used to encrypt the target secret value (if empty, the account default protectionKey key will be used) [optional]
maxVersions String Set the maximum number of versions, limited by the account settings defaults. [optional]
model String Default model to use with OpenAI [optional]
name String Target name
openaiUrl String Base URL of the OpenAI API [optional]
organizationId String Organization ID [optional]
token String Authentication token (see `/auth` and `/configure`) [optional]
uidToken String The universal identity token, Required only for universal_identity authentication [optional]