{
  "info": {
    "_postman_id": "c3d032cd-6c02-42d2-97c1-838ad2fa202b",
    "name": "Google Cloud Natural Language documents:analyzeEntities documents:analyzeSentiment API",
    "description": "Provides natural language understanding technologies to extract insights from unstructured text including sentiment, entities, and syntax.\n\nContact Support:\n Name: Google Cloud",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "createdAt": "2026-07-28T01:48:04.000Z",
    "updatedAt": "2026-07-28T01:48:04.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-c3d032cd-6c02-42d2-97c1-838ad2fa202b"
  },
  "item": [
    {
      "name": "documents:analyzeSentiment",
      "item": [
        {
          "name": "Google Cloud Natural Language Analyze sentiment",
          "id": "59c8a989-d3b7-44f1-8734-c3f893198f15",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"document\": {\n    \"type\": \"TYPE_UNSPECIFIED\",\n    \"content\": \"<string>\",\n    \"gcsContentUri\": \"<string>\",\n    \"language\": \"<string>\"\n  },\n  \"encodingType\": \"<string>\"\n}",
              "options": {
                "raw": {
                  "headerFamily": "json",
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{baseUrl}}/documents:analyzeSentiment",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "documents:analyzeSentiment"
              ]
            },
            "description": "Analyzes the sentiment of the provided text."
          },
          "response": [
            {
              "id": "bcd4291a-22c1-4ddd-a72e-5a99a83f9635",
              "name": "Successful sentiment analysis response.",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"document\": {\n    \"type\": \"TYPE_UNSPECIFIED\",\n    \"content\": \"<string>\",\n    \"gcsContentUri\": \"<string>\",\n    \"language\": \"<string>\"\n  },\n  \"encodingType\": \"<string>\"\n}",
                  "options": {
                    "raw": {
                      "headerFamily": "json",
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/documents:analyzeSentiment",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "documents:analyzeSentiment"
                  ]
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{\n  \"documentSentiment\": {\n    \"magnitude\": \"<number>\",\n    \"score\": \"<number>\"\n  },\n  \"language\": \"<string>\"\n}",
              "createdAt": "2026-07-28T01:48:04.000Z",
              "updatedAt": "2026-07-28T01:48:04.000Z",
              "uid": "35240-bcd4291a-22c1-4ddd-a72e-5a99a83f9635"
            }
          ],
          "createdAt": "2026-07-28T01:48:04.000Z",
          "updatedAt": "2026-07-28T01:48:04.000Z",
          "uid": "35240-59c8a989-d3b7-44f1-8734-c3f893198f15"
        }
      ],
      "id": "45a51ac1-9c3d-4fe8-97ac-2f24b94423f0",
      "createdAt": "2026-07-28T01:48:04.000Z",
      "updatedAt": "2026-07-28T01:48:04.000Z",
      "uid": "35240-45a51ac1-9c3d-4fe8-97ac-2f24b94423f0"
    }
  ],
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://language.googleapis.com/v1"
    }
  ]
}