def GetContentForTemplate(api_query):
  """Prepares and returns the template value for an API Query response.

  Args:
    api_query: The API Query for which to prepare the response content template
               value.
  Returns:
    A dict containing the template value to use for the Response content.
  """
  content = {}
  if api_query:
    api_query_response = api_query.api_query_responses.get()
    if api_query_response:
      content['response_content'] = api_query_response.content

  return content