Accern provides a REST API for Accern AI Platform. Each article is processed according to the use case configuration made during the API creation process. By default, the API requests will return the most recent 500 documents.
1. For each use case, the URL generated will have a domain name, a feed ID and pipeline token.
Below is an example of an API URL
https://DOMAIN/feed/FEED_ID?token=ACCESS_TOKEN
Example:
DOMAIN: app.accern.com
FEED_ID: my-source-name-6a14717a-account
ACCESS_TOKEN: eyJhbGciOiJIUzI1sInR5cCI6IkpXVCJ9.eyJ1IjoiZjAzYmY1MWMt...
https://app.accern.com/feed/my-source-name-6a14717a-account?token=eyJhbGciOiJIUzI1sInR5cCI6IkpXVCJ9.eyJ1IjoiZjAzYmY1MWMt
Note that the ACCESS_TOKEN may be longer than shown here.
A user can get this URL from Accern AI Platform > Deploy > Use Case > Access Data > Feed API section.
By default, the response from the API feed is in JSON format. You can also download the data as a CSV file.
To download, just add format=csv
as parameter
https://app.accern.com/feed/my-source-name-6a14717a-account?format=csv&token=eyJhbGciOiJIUzI1sInR5cCI6IkpXVCJ9.eyJ1IjoiZjAzYmY1MWM