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

Section out-of-date: User Data - GET /backend-api/accounts/check #9

Closed 0xdevalias closed 1 year ago

0xdevalias commented 1 year ago

Is there an existing issue for this?

Out-of-date Section

User Data - /backend-api/accounts/check

Incorrect info

In the 'User Data' section, the details about the /backend-api/accounts/check endpoint are outdated/incomplete:

Optionally, provide the correct info

Request:

GET https://chat.openai.com/backend-api/accounts/check

Response (prettified):

{
    "account_plan":
    {
        "is_paid_subscription_active": true,
        "subscription_plan": "chatgptplusplan",
        "account_user_role": "account-owner",
        "was_paid_customer": true,
        "has_customer_object": true,
        "subscription_expires_at_timestamp": 1234567890
    },
    "user_country": "XX",
    "features":
    [
        "plugins_available",
        "tools3_dev",
        "dfw_message_feedback",
        "new_model_switcher_20230512",
        "data_controls_enabled",
        "show_existing_user_age_confirmation_modal",
        "tools3",
        "model_switcher",
        "infinite_scroll_history",
        "data_deletion_enabled",
        "dfw_inline_message_regen_comparison",
        "model_preview",
        "browsing_available",
        "data_export_enabled",
        "log_statsig_events",
        "beta_features",
        "log_intercom_events"
    ]
}

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 have added the changes to the repo.