curl --request GET \
--url http://localhost:8000/api/v1/chat/gemini_prompts/{prompt_id} \
--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"
}Get the Gemini prompt for the given ID.
Args: prompt_id (int): The ID of the Gemini prompt _admin_user (User): The current user
Returns: GeminiPromptSchema: The Gemini prompt
curl --request GET \
--url http://localhost:8000/api/v1/chat/gemini_prompts/{prompt_id} \
--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"
}The access token received from the authorization server in the OAuth 2.0 flow.
Successful Response
The schema for a Gemini prompt.
The types of prompts for the Gemini API.
negative_keyword_recommendations, negative_keyword_shopping_pmax_recommendations, keyword_pause_recommendations, double_check_pause_keywords_recommendation, keyword_pause_context_validation, headline_recommendations, description_recommendations, keyword_to_ad_groups_splitting, rsa_generation, extension_generation