# Gemini REST documentation disappeared

**URL:** <https://discuss.ai.google.dev/t/gemini-rest-documentation-disappeared/36825>\
**Category:** Gemini API\
**Created:** [August 20, 2024, 1:56pm UTC](https://discuss.ai.google.dev/t/gemini-rest-documentation-disappeared/36825 "2024-08-20T13:56:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![M\_Rakotomandimby](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/m_rakotomandimby/32/19569_2.png) [@M\_Rakotomandimby](https://discuss.ai.google.dev/u/M_Rakotomandimby)\
**Post date:** [August 20, 2024, 1:56pm UTC](https://discuss.ai.google.dev/t/gemini-rest-documentation-disappeared/36825/1 "2024-08-20T13:56:18Z")

</div>

Hello,

In the beginning, there used to be the REST documentation tab here: [Gemini API 빠른 시작 &nbsp;|&nbsp; Google AI for Developers](https://ai.google.dev/gemini-api/docs/get-started/tutorial?lang=rest)

It gave a snippet just like:

```bash
curl https://generativelanguage.googleapis.com/v1beta/models/gemini-1.5-pro-latest:generateContent?key=$GOOGLE_API_KEY \
-H 'Content-Type: application/json' \
-X POST \
-d '{...}'

```

But now it has disappeared. Do you know why?

---

<div class="post-metadata">

**Author:** ![Leonhard\_Solbach](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/leonhard_solbach/32/22124_2.png) [@Leonhard\_Solbach](https://discuss.ai.google.dev/u/Leonhard_Solbach)\
**Post date:** [August 21, 2024, 3:41pm UTC](https://discuss.ai.google.dev/t/gemini-rest-documentation-disappeared/36825/2 "2024-08-21T15:41:19Z")

</div>

Yes, Im also wondering whether it is possible to get an OpenAPI spec, so Gemini could be supported in SpringAI.

See: [Missing openai spec · Issue #261 · google-gemini/cookbook · GitHub](https://github.com/google-gemini/cookbook/issues/261)

---

<div class="post-metadata">

**Author:** ![macd](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/macd/32/92_2.png) [@macd](https://discuss.ai.google.dev/u/macd)\
**Post date:** [August 22, 2024, 2:06am UTC](https://discuss.ai.google.dev/t/gemini-rest-documentation-disappeared/36825/3 "2024-08-22T02:06:58Z")

</div>

Ah, sorry! We are working on this. It’s still in progress, but not published yet.

In the meantime you can see the REST samples we will be using on that page in [the API reference](https://ai.google.dev/api/generate-content#text_gen_text_only_prompt-SHELL) (look for the `Shell` tabs).

They are loaded from GitHub too, so you can browse them directly [here](https://github.com/google-gemini/generative-ai-python/tree/main/samples/rest).
