OpenAITargetDetails defines details related to connecting to an OpenAI provider
| Name | Type | Description | Notes |
|---|---|---|---|
| ApiKey | string | [optional] | |
| ApiKeyId | string | [optional] | |
| AuthMode | string | AuthMode selects how this target authenticates. Empty (default) uses ApiKey as a static bearer token against BaseURL, matching all pre-existing behavior. OpenAIAuthModeChatGPTOAuth instead uses the OAuth* fields below. | [optional] |
| OauthAccessToken | string | OAuthAccessToken is the current ChatGPT-issued access token (the `tokens.access_token` field of the customer's local auth.json). Akeyless refreshes this automatically; do not treat it as long-lived. | [optional] |
| OauthAccountId | string | OAuthAccountID is the ChatGPT workspace/account id (`tokens.account_id` in auth.json), required on every request to the ChatGPT backend. | [optional] |
| OauthLastRefresh | string | OAuthLastRefresh is the RFC3339 timestamp of the last successful Akeyless-performed refresh; used as a fallback expiry heuristic when the access token's JWT exp claim can't be parsed. | [optional] |
| OauthRefreshToken | string | OAuthRefreshToken mints new access tokens. It rotates on every refresh - Akeyless persists the new value after each successful refresh, so the previous value becomes invalid. | [optional] |
| OpenaiUrl | string | [optional] | |
| OrganizationId | string | [optional] | |
| ProjectId | string | [optional] |