Skip to main content
GET
/
api
/
intelligence
/
v1
/
get-country-intel-brief
GetCountryIntelBrief
curl --request GET \
  --url https://api.example.com/api/intelligence/v1/get-country-intel-brief
{
  "countryCode": "<string>",
  "countryName": "<string>",
  "brief": "<string>",
  "model": "<string>",
  "generatedAt": 123,
  "sources": [
    {
      "title": "<string>",
      "source": "<string>",
      "url": "<string>",
      "publishedAt": "<string>"
    }
  ]
}

Query Parameters

country_code
string

ISO 3166-1 alpha-2 country code.

framework
string

Optional analytical framework instructions to append to system prompt. Max 2000 chars enforced at handler level.

Response

Successful response

GetCountryIntelBriefResponse contains an AI-generated intelligence brief for a country.

countryCode
string

ISO 3166-1 alpha-2 country code.

countryName
string

Country name.

brief
string

AI-generated intelligence brief text.

model
string

AI model used for generation.

generatedAt
integer<int64>

Brief generation time, as Unix epoch milliseconds.. Warning: Values > 2^53 may lose precision in JavaScript

sources
object[]