Skip to main content
POST
/
v1
/
articles
Upload articles for AI training
curl --request POST \
  --url https://api1.irisagent.com/v1/articles \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "articles": [
    {
      "articleId": "<string>",
      "url": "<string>",
      "title": "<string>",
      "body": "<string>",
      "timeOfCreation": 123,
      "timeLastPublished": 123,
      "language": "<string>"
    }
  ]
}
'
{
  "result": "success"
}

Authorizations

Authorization
string
header
required

The Authorization header is required to authenticate API requests. It should contain a bearer token obtained through the IrisAgent portal.

Body

application/json
articles
object[]
required

Response

Articles uploaded successfully

result
enum<string>
required
Available options:
success,
partial