Skip to main content
POST
/
news
/
getArticle
Get news article
curl --request POST \
  --url http://api.superwize.ai/api/news/getArticle \
  --header 'Content-Type: application/json' \
  --data '
{
  "articleId": "obj_01JHKZ0PV2WX123456789",
  "locale": "en"
}
'
{
  "id": "obj_01JHKZ0PV2WX123456789",
  "runId": "obj_01JHKZ0PV2WX123456789",
  "category": "top-stories",
  "locale": "en",
  "title": "Pakistan Tech Outlook",
  "snippet": "Pakistan unveils a nationwide digital classroom initiative to improve student outcomes.",
  "ranking": 1,
  "contentMarkdown": "What are practical AI use-cases for students?",
  "imageUrl": "https://cdn.superwize.ai/assets/sample.png",
  "conversationId": "conv_01JHKYW2V8XQ123456789",
  "responseId": "resp_01JHKYW6J6AB123456789",
  "sourceCount": 3,
  "previewSourceUrls": [
    "https://cdn.superwize.ai/assets/sample.png"
  ],
  "createdAt": 1767225600000,
  "updatedAt": 1767225600000
}

Body

application/json
articleId
string
required
Minimum string length: 1
locale
enum<string>
required
Available options:
en,
ur

Response

200 - application/json

Article returned.

id
string
required
runId
string
required
category
enum<string>
required
Available options:
top-stories,
business,
world,
tech-science,
health,
sports,
finance,
entertainment
locale
enum<string>
required
Available options:
en,
ur
title
string
required
snippet
string
required
ranking
number
required
Required range: 0 <= x <= 1
contentMarkdown
string
required
imageUrl
string<uri> | null
required
conversationId
string
required
responseId
string
required
sourceCount
integer
required
Required range: 0 <= x <= 9007199254740991
previewSourceUrls
string<uri>[]
required
createdAt
number
required
updatedAt
number
required