OpenCTI icon

OpenCTI

Interact with the OpenCTI Cyber Threat Intelligence platform

Actions149

City → Get

AI-generated

Summary

Retrieve a city by its identifier.

Inputs

  • cityId (required) — Identifier of the city to retrieve.

Output shape

a single city object

Returns the full city record according to the CityDescription schema; includes all fields defined for a City; success response contains the city data, errors follow the OpenCTI error envelope.

Examples

Example 1: Basic retrieval of a city by known ID

OpenCTI Get operation with cityId = 'c12345'

Example 2: Fetch city details after obtaining ID from a previous query

Set cityId from output of earlier HTTP request; then call OpenCTI Get with that ID

Example 3: Iterate over a list of city IDs to fetch multiple city records

Loop: for each cityId in list, invoke OpenCTI Get operation

Links

Discussion