Files
sdk/docs/ConflictApi.md
zeekayandHanzo Dev b55332704a feat: Hanzo Cloud SDK for Kotlin (generated from OpenAPI v8.0.0)
Coroutine-native client covering the full Hanzo /v1 cloud surface, for JVM and
Android. Generated with openapi-generator kotlin (library=jvm-okhttp4,
useCoroutines=true). Coordinate: ai.hanzo:sdk. Base URL: https://api.hanzo.ai.

Co-authored-by: Hanzo Dev <[email protected]>
2026-07-25 07:10:32 -07:00

7.9 KiB

ConflictApi

All URIs are relative to https://api.hanzo.ai

Method HTTP request Description
worldWorldAcled GET /v1/world/acled ACLED conflict events (requires ACLED_ACCESS_TOKEN)
worldWorldAcledConflict GET /v1/world/acled-conflict ACLED conflict summary (requires ACLED_ACCESS_TOKEN)
worldWorldCyberThreats GET /v1/world/cyber-threats Cyber threat feed
worldWorldHapi GET /v1/world/hapi Humanitarian API (HDX HAPI)
worldWorldUcdp GET /v1/world/ucdp UCDP conflict data
worldWorldUcdpEvents GET /v1/world/ucdp-events UCDP georeferenced events
worldWorldUnhcrPopulation GET /v1/world/unhcr-population UNHCR displacement/population

worldWorldAcled

kotlin.Any worldWorldAcled()

ACLED conflict events (requires ACLED_ACCESS_TOKEN)

Example

// Import classes:
//import ai.hanzo.sdk.infrastructure.*
//import ai.hanzo.sdk.models.*

val apiInstance = ConflictApi()
try {
    val result : kotlin.Any = apiInstance.worldWorldAcled()
    println(result)
} catch (e: ClientException) {
    println("4xx response calling ConflictApi#worldWorldAcled")
    e.printStackTrace()
} catch (e: ServerException) {
    println("5xx response calling ConflictApi#worldWorldAcled")
    e.printStackTrace()
}

Parameters

This endpoint does not need any parameter.

Return type

kotlin.Any

Authorization

Configure bearerAuth statically:

ApiClient.accessToken = ""

Configure bearerAuth dynamically:

apiInstance.accessTokenProvider = { "" }

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

worldWorldAcledConflict

kotlin.Any worldWorldAcledConflict()

ACLED conflict summary (requires ACLED_ACCESS_TOKEN)

Example

// Import classes:
//import ai.hanzo.sdk.infrastructure.*
//import ai.hanzo.sdk.models.*

val apiInstance = ConflictApi()
try {
    val result : kotlin.Any = apiInstance.worldWorldAcledConflict()
    println(result)
} catch (e: ClientException) {
    println("4xx response calling ConflictApi#worldWorldAcledConflict")
    e.printStackTrace()
} catch (e: ServerException) {
    println("5xx response calling ConflictApi#worldWorldAcledConflict")
    e.printStackTrace()
}

Parameters

This endpoint does not need any parameter.

Return type

kotlin.Any

Authorization

Configure bearerAuth statically:

ApiClient.accessToken = ""

Configure bearerAuth dynamically:

apiInstance.accessTokenProvider = { "" }

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

worldWorldCyberThreats

kotlin.Any worldWorldCyberThreats()

Cyber threat feed

Example

// Import classes:
//import ai.hanzo.sdk.infrastructure.*
//import ai.hanzo.sdk.models.*

val apiInstance = ConflictApi()
try {
    val result : kotlin.Any = apiInstance.worldWorldCyberThreats()
    println(result)
} catch (e: ClientException) {
    println("4xx response calling ConflictApi#worldWorldCyberThreats")
    e.printStackTrace()
} catch (e: ServerException) {
    println("5xx response calling ConflictApi#worldWorldCyberThreats")
    e.printStackTrace()
}

Parameters

This endpoint does not need any parameter.

Return type

kotlin.Any

Authorization

Configure bearerAuth statically:

ApiClient.accessToken = ""

Configure bearerAuth dynamically:

apiInstance.accessTokenProvider = { "" }

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

worldWorldHapi

kotlin.Any worldWorldHapi()

Humanitarian API (HDX HAPI)

Example

// Import classes:
//import ai.hanzo.sdk.infrastructure.*
//import ai.hanzo.sdk.models.*

val apiInstance = ConflictApi()
try {
    val result : kotlin.Any = apiInstance.worldWorldHapi()
    println(result)
} catch (e: ClientException) {
    println("4xx response calling ConflictApi#worldWorldHapi")
    e.printStackTrace()
} catch (e: ServerException) {
    println("5xx response calling ConflictApi#worldWorldHapi")
    e.printStackTrace()
}

Parameters

This endpoint does not need any parameter.

Return type

kotlin.Any

Authorization

Configure bearerAuth statically:

ApiClient.accessToken = ""

Configure bearerAuth dynamically:

apiInstance.accessTokenProvider = { "" }

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

worldWorldUcdp

kotlin.Any worldWorldUcdp()

UCDP conflict data

Example

// Import classes:
//import ai.hanzo.sdk.infrastructure.*
//import ai.hanzo.sdk.models.*

val apiInstance = ConflictApi()
try {
    val result : kotlin.Any = apiInstance.worldWorldUcdp()
    println(result)
} catch (e: ClientException) {
    println("4xx response calling ConflictApi#worldWorldUcdp")
    e.printStackTrace()
} catch (e: ServerException) {
    println("5xx response calling ConflictApi#worldWorldUcdp")
    e.printStackTrace()
}

Parameters

This endpoint does not need any parameter.

Return type

kotlin.Any

Authorization

Configure bearerAuth statically:

ApiClient.accessToken = ""

Configure bearerAuth dynamically:

apiInstance.accessTokenProvider = { "" }

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

worldWorldUcdpEvents

kotlin.Any worldWorldUcdpEvents()

UCDP georeferenced events

Example

// Import classes:
//import ai.hanzo.sdk.infrastructure.*
//import ai.hanzo.sdk.models.*

val apiInstance = ConflictApi()
try {
    val result : kotlin.Any = apiInstance.worldWorldUcdpEvents()
    println(result)
} catch (e: ClientException) {
    println("4xx response calling ConflictApi#worldWorldUcdpEvents")
    e.printStackTrace()
} catch (e: ServerException) {
    println("5xx response calling ConflictApi#worldWorldUcdpEvents")
    e.printStackTrace()
}

Parameters

This endpoint does not need any parameter.

Return type

kotlin.Any

Authorization

Configure bearerAuth statically:

ApiClient.accessToken = ""

Configure bearerAuth dynamically:

apiInstance.accessTokenProvider = { "" }

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

worldWorldUnhcrPopulation

kotlin.Any worldWorldUnhcrPopulation()

UNHCR displacement/population

Example

// Import classes:
//import ai.hanzo.sdk.infrastructure.*
//import ai.hanzo.sdk.models.*

val apiInstance = ConflictApi()
try {
    val result : kotlin.Any = apiInstance.worldWorldUnhcrPopulation()
    println(result)
} catch (e: ClientException) {
    println("4xx response calling ConflictApi#worldWorldUnhcrPopulation")
    e.printStackTrace()
} catch (e: ServerException) {
    println("5xx response calling ConflictApi#worldWorldUnhcrPopulation")
    e.printStackTrace()
}

Parameters

This endpoint does not need any parameter.

Return type

kotlin.Any

Authorization

Configure bearerAuth statically:

ApiClient.accessToken = ""

Configure bearerAuth dynamically:

apiInstance.accessTokenProvider = { "" }

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json