Create auth configpost {protocol}://{base-url}/ai/api/v1/auth_configsCreate a new authentication configuration.Body ParamsSchema for creating an auth config. Required fields vary by auth_type: NONE: No additional fields required. Use custom_headers for API key auth. BASIC: Requires username and password. CLIENT_CREDENTIALS: Requires token_url, client_id, and client_secret. AUTHORIZATION_CODE: Requires authorization_url, token_url, and client_id. namestringrequiredlength ≥ 1Display name for this auth config.auth_typestringenumrequiredAuthentication type. Determines which other fields are required.NONEBASICCLIENT_CREDENTIALSAUTHORIZATION_CODEMANAGEDAllowed:NONEBASICCLIENT_CREDENTIALSAUTHORIZATION_CODEMANAGEDcustom_headersobject | nullCustom HTTP headers to include with requests. Can be used with any auth type.Custom Headers object | nullusernamestringnullUsername for BASIC authentication.passwordstringnullPassword for BASIC authentication.token_urlstringnullOAuth token endpoint URL. Required for CLIENT_CREDENTIALS and AUTHORIZATION_CODE.client_idstringnullOAuth client ID. Required for CLIENT_CREDENTIALS and AUTHORIZATION_CODE.client_secretstringnullOAuth client secret. Required for CLIENT_CREDENTIALS.scopesstringnullSpace-separated OAuth scopes to request.authorization_urlstringnullOAuth authorization endpoint URL. Required for AUTHORIZATION_CODE.allowed_redirect_urisarray | nullAllowed redirect URIs for OAuth authorization code flow.Allowed Redirect Uris array | nulluse_pkcebooleanDefaults to trueWhether to use PKCE for AUTHORIZATION_CODE flow. Defaults to true.truefalseResponses 201Successful Response 401Authentication required. No valid session cookie or bearer token provided, or authentication failed. 422Validation Error 500Internal server error during request processing.Updated 3 days ago List auth configsRegister a MANAGED auth configDid this page help you?YesNo