Copy Page/target-create-openaipost https://api.akeyless.io/target-create-openaiRecent RequestsLog in to see full request historyTimeStatusUser Agent Retrieving recent requests…LoadingLoading…Body ParamstargetCreateOpenAI is a command that creates a new openai targetapi-keystringAPI key for OpenAIapi-key-idstringAPI key IDcodex-oauth-access-tokenstringCodex OAuth access token (auth.json tokens.access_token), used when codex-oauth-mode=chatgpt_oauthcodex-oauth-account-idstringCodex OAuth account id (auth.json tokens.account_id), used when codex-oauth-mode=chatgpt_oauthcodex-oauth-modestringAuth mode: empty (default, static api-key) or chatgpt_oauthcodex-oauth-refresh-tokenstringCodex OAuth refresh token (auth.json tokens.refresh_token), used when codex-oauth-mode=chatgpt_oauthdelete_protectionstringProtection from accidental deletion of this object [true/false]descriptionstringDescription of the objectjsonbooleanDefaults to falseSet output format to JSONtruefalsekeystringThe name of a key that used to encrypt the target secret value (if empty, the account default protectionKey key will be used)lock-on-readstringLock this secret after each successful value readlock-ttlstringLock TTL in minutesmax-versionsstringSet the maximum number of versions, limited by the account settings defaults.modelstringDefault model to use with OpenAInamestringrequiredTarget nameopenai-urlstringDefaults to https://api.openai.com/v1Base URL of the OpenAI APIorganization-idstringOrganization IDrotate-on-unlockstringRotate this secret after it is unlockedtokenstringAuthentication token (see /auth and /configure)uid-tokenstringThe universal identity token, Required only for universal_identity authenticationResponses 201targetCreateOpenAIResponse wraps response body. defaulterrorResponse wraps any error to return it as a JSON object with one "error" field.Updated 3 days ago /target-create-sectigo/target-create-sshDid this page help you?YesNo