# OpenAI API Plugin - { "type": "json\_object" }

**URL:** <https://community.weweb.io/t/openai-api-plugin-type-json-object/6156>\
**Category:** How do I?\
**Created:** [January 1, 2024, 10:39am UTC](https://community.weweb.io/t/openai-api-plugin-type-json-object/6156 "2024-01-01T10:39:14Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ohad](https://avatars.discourse-cdn.com/v4/letter/o/f04885/32.png) [@Ohad](https://community.weweb.io/u/Ohad)\
**Post date:** [January 1, 2024, 10:39am UTC](https://community.weweb.io/t/openai-api-plugin-type-json-object/6156/1 "2024-01-01T10:39:14Z")

</div>

Hi! I’m trying to use the new functionality of { “type”: “json\_object” } in the WeWeb OpenAI API Plugin. Is there a way to do that? Seems like there’s tons of flexibility to most functionalities but i cant influence this one.

Thanks!

---

<div class="post-metadata">

**Author:** ![Alexis](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/alexis/32/13248_2.png) [@Alexis](https://community.weweb.io/u/Alexis)\
**Post date:** [January 2, 2024, 10:55am UTC](https://community.weweb.io/t/openai-api-plugin-type-json-object/6156/2 "2024-01-02T10:55:10Z")

</div>

Hi, I think we need to implement it on our side, as the request to OpenAI API is made on our servers to secure your API KEY.

I will create a ticket and see if we can add this feature 🙂

In the meantime, if you need it for experimentation purpose, you can use our REST API plugin and make the call yourself.  
It should be for testing purpose only as it would make your api key publicly available on your front end.

---

<div class="post-metadata">

**Author:** ![Broberto](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/broberto/32/5918_2.png) [@Broberto](https://community.weweb.io/u/Broberto)\
**Post date:** [January 2, 2024, 11:50am UTC](https://community.weweb.io/t/openai-api-plugin-type-json-object/6156/3 "2024-01-02T11:50:41Z")

</div>

You could also make the calls through a third party like Fastgen, this way you protect your API keys without the need to wait for WeWeb to implement this. I think they even have a no-code function that supports OpenAI API.

---

<div class="post-metadata">

**Author:** ![Ohad](https://avatars.discourse-cdn.com/v4/letter/o/f04885/32.png) [@Ohad](https://community.weweb.io/u/Ohad)\
**Post date:** [January 11, 2024, 9:14pm UTC](https://community.weweb.io/t/openai-api-plugin-type-json-object/6156/4 "2024-01-11T21:14:49Z")

</div>

thanks! It would be great if you could add to the ticket the ability to choose my own model name. I fine-tuned a model that i want you reach out to, and right now i’m limited to a predefined list of models which you guys have to constantly update…

---

<div class="post-metadata">

**Author:** ![carrano\_dot\_dev](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/carrano_dot_dev/32/10547_2.png) [@carrano\_dot\_dev](https://community.weweb.io/u/carrano_dot_dev)\
**Post date:** [August 21, 2024, 12:47pm UTC](https://community.weweb.io/t/openai-api-plugin-type-json-object/6156/5 "2024-08-21T12:47:53Z")

</div>

Did this ever get implemented? I don’t see it. I think the JSON format type is crucial for AI apps.

---

<div class="post-metadata">

**Author:** ![Alexis](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/alexis/32/13248_2.png) [@Alexis](https://community.weweb.io/u/Alexis)\
**Post date:** [August 23, 2024, 9:54am UTC](https://community.weweb.io/t/openai-api-plugin-type-json-object/6156/6 "2024-08-23T09:54:00Z")

</div>

Not yet, but we added the possibility to bind a custom model name and made the list of your models available

I asked the team to see if we can priorise it 🙂

You can try to push it by submitting on [feedback.weweb.io](http://feedback.weweb.io)

---

<div class="post-metadata">

**Author:** ![saulo260](https://avatars.discourse-cdn.com/v4/letter/s/47e85d/32.png) [@saulo260](https://community.weweb.io/u/saulo260)\
**Post date:** [September 29, 2025, 6:11pm UTC](https://community.weweb.io/t/openai-api-plugin-type-json-object/6156/7 "2025-09-29T18:11:39Z")

</div>

Hi @alexis , how are you? 👋

I’d like to confirm whether the feature to receive the response in JSON format has already been implemented in the OpenAI plugin:

```auto
"response_format": { "type": "json_object" }

```

It’s been about **2 years** since ChatGPT made this option available natively, and I’d like to know if we can already use it here in WeWeb as well.

Thanks! 🙏
