terminalcommandnewsletter / everything-chatgpt

🔍 Explore what happens under the hood with the ChatGPT web app, its backend API calls and more. And some speculation, of course.
Creative Commons Attribution Share Alike 4.0 International
576 stars 29 forks source link

Feature not covered: API: GET /backend-api/settings/beta_features #7

Closed 0xdevalias closed 1 year ago

0xdevalias commented 1 year ago

Is there an existing issue for this?

Missing Feature

API: GET /backend-api/settings/beta_features

Add more info about the feature

Request:

GET https://chat.openai.com/backend-api/settings/beta_features

Response:

{"browsing":false,"code_interpreter":false,"plugins":true}

Optionally, add more information

You can find a full listing/reference to all of my ChatGPT insights/deepdives/etc here:

CONTRIBUTING.md

terminalcommandnewsletter commented 1 year ago

I noticed the announcement about beta features, but don't use ChatGPT Plus for me document this feature. Since you've provided me request details, I may add those to the repo (with attribution, of course)

0xdevalias commented 1 year ago

That makes sense. Sounds good.

You can see the /settings/beta_features API endpoints mentioned in this chunk:

(U.setUserSettingsBetaFeature = function (U, B, G) {
  var Y = new URLSearchParams({ feature: B, value: G.toString() });
  return this.fetch(
    "".concat(ty, "/settings/beta_features?").concat(Y),
    { method: "POST", headers: (0, Z._)({}, this.getAuthHeader(U)) }
  );
}),
(U.getUserSettingBetaFeatures = function (U) {
  return this.fetch("".concat(ty, "/settings/beta_features"), {
    method: "GET",
    headers: (0, Z._)(
      { "Content-Type": "application/json" },
      this.getAuthHeader(U)
    ),
  });
}),
terminalcommandnewsletter commented 1 year ago

Hi! Using a Plus account, this is the response received. I'll add that to the repo and close this issue.

{browsing: false, chat_preferences: true, code_interpreter: true, plugins: true}
terminalcommandnewsletter commented 1 year ago

I've added this to the repo in commit ccd25dd!