# getEvent

**Identifier:** `gdelt_getEvent`

**Provider:** [GDELT](https://kirha.com/providers/gdelt.md)

Get one coded event in full: impact scores (magnitude, systemic importance, market sensitivity, confidence), casualties with their basis, linked stories and top source articles.

## Run it with the CLI

```bash
kirha tools run gdelt_getEvent \
  --input '{
    "eventId": "cameoplus_8cda0e12125cee0a"
  }'
```

`--input` takes a JSON object that matches the input schema. Pass `--input -` to read it from stdin.

## Call it over HTTP

```bash
curl https://api.kirha.com/tools/v1/execute \
  --request POST \
  --header 'Content-Type: application/json' \
  --header 'Authorization: **********' \
  --data '{
  "tool_name": "gdelt_getEvent",
  "input": {
    "eventId": "cameoplus_8cda0e12125cee0a"
  }
}'
```

Replace the stars with an API key from https://app.kirha.com/api-keys.

## Input schema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "eventId": {
      "description": "e.g., cameoplus_8cda0e12125cee0a, from searchEvents",
      "type": "string"
    }
  },
  "required": [
    "eventId"
  ],
  "type": "object"
}
```

## Output schema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "properties": {
    "actors": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "entityId": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "role": {
            "type": "string"
          }
        },
        "required": [
          "name"
        ],
        "type": "object"
      },
      "type": "array"
    },
    "articleCount": {
      "type": "number"
    },
    "category": {
      "type": "string"
    },
    "civiliansKilled": {
      "type": "number"
    },
    "confidence": {
      "description": "0-1",
      "type": "number"
    },
    "context": {
      "type": "string"
    },
    "eventDate": {
      "type": "string"
    },
    "eventDateBasis": {
      "type": "string"
    },
    "fatalities": {
      "type": "number"
    },
    "fatalitiesBasis": {
      "type": "string"
    },
    "goldsteinScale": {
      "description": "-10 conflict to +10 cooperation",
      "type": "number"
    },
    "id": {
      "type": "string"
    },
    "injured": {
      "type": "number"
    },
    "location": {
      "type": "string"
    },
    "magnitude": {
      "description": "0-10",
      "type": "number"
    },
    "marketSensitivity": {
      "description": "0-1",
      "type": "number"
    },
    "propagationPotential": {
      "description": "0-1",
      "type": "number"
    },
    "significance": {
      "type": "number"
    },
    "storyIds": {
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "subcategory": {
      "type": "string"
    },
    "summary": {
      "type": "string"
    },
    "systemicImportance": {
      "description": "0-1",
      "type": "number"
    },
    "title": {
      "type": "string"
    },
    "topArticles": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "domain": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "url": {
            "type": "string"
          }
        },
        "required": [
          "url"
        ],
        "type": "object"
      },
      "type": "array"
    },
    "url": {
      "type": "string"
    }
  },
  "required": [
    "context",
    "id",
    "actors",
    "storyIds",
    "topArticles"
  ],
  "type": "object"
}
```

## Related tools

Other GDELT tools that this tool refers to, or that refer to it.

- [`searchEvents`](https://kirha.com/providers/gdelt/searchEvents.md)

-----

[All GDELT tools](https://kirha.com/providers/gdelt.md) · [< Back to tools list](https://kirha.com/tools.md)