📢 Request for Help: How to Retrieve Custom GPT Model ID for API Integration?

Hello OpenAI Developers,

I’m currently integrating my Custom GPT (Interviewer) with my website using the OpenAI API, but I’m facing an issue:

:small_blue_diamond: Problem: I cannot find the Custom GPT Model ID anywhere in the “My GPTs” section or in the OpenAI Playground.
:small_blue_diamond: Goal: I need to use my Custom GPT ID in API calls to allow my website to send user queries to my Custom GPT instead of the default gpt-4.
:small_blue_diamond: Tried So Far:

  • Checked the “My GPTs” section under my account.
  • Edited my Custom GPT to look for a Model ID but found none.
  • Reviewed API documentation to see if there’s a method to retrieve the Model ID.
  • Examined API usage logs, but they only reference GPT-4, not my Custom GPT.
  • Attempted to export my GPT settings but did not see an ID listed.

:bulb: Question:
Where can I find the Custom GPT Model ID for use in API calls?
If this feature isn’t available yet, is there a workaround to make API calls to a specific Custom GPT?

Would appreciate any insights from the OpenAI team or fellow developers! :pray:

Thanks in advance!
:rocket: Hariharan

2 Likes

Well, read it again:
https://platform.openai.com/docs/assistants/quickstart

Your CustomGPT should be an Assistant and must be built here:
https://platform.openai.com/playground/assistants

And test it here:
https://platform.openai.com/playground/chat?models=gpt-4o-mini

I know this, can i not do it directly with that mygpts feature because it is much easier