Skip to main content
GET
/
api
/
v1
/
chat
/
gemini_prompts
Get Gemini Prompts
curl --request GET \
  --url http://localhost:8000/api/v1/chat/gemini_prompts \
  --header 'Authorization: Bearer <token>'
[
  {
    "type": "negative_keyword_recommendations",
    "prompt": "<string>",
    "id": 123,
    "date_added": "2023-11-07T05:31:56Z",
    "date_updated": "2023-11-07T05:31:56Z"
  }
]

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Query Parameters

type
enum<string> | null

The types of prompts for the Gemini API.

Available options:
negative_keyword_recommendations,
negative_keyword_shopping_pmax_recommendations,
keyword_pause_recommendations,
double_check_pause_keywords_recommendation,
keyword_pause_context_validation,
headline_recommendations,
description_recommendations

Response

Successful Response

type
enum<string>
required

The types of prompts for the Gemini API.

Available options:
negative_keyword_recommendations,
negative_keyword_shopping_pmax_recommendations,
keyword_pause_recommendations,
double_check_pause_keywords_recommendation,
keyword_pause_context_validation,
headline_recommendations,
description_recommendations
prompt
string
required
id
integer
required
date_added
string<date-time>
required
date_updated
string<date-time>
required