Skip to main content
POST
/
api
/
v1
/
chat
/
gemini_prompts
Create Gemini Prompt
curl --request POST \
  --url http://localhost:8000/api/v1/chat/gemini_prompts \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "type": "negative_keyword_recommendations",
  "prompt": "<string>"
}
'
{
  "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.

Body

application/json

The schema for creating a Gemini prompt.

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

Response

Successful Response

The schema for a Gemini prompt.

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