Skip to main content

API Integration - Other Languages

Konan uses REST endpoints, which makes it easy to integrate with any framework of your choice. You simply need to send a request to the intended endpoint in the expected format.

To get to know the available endpoints and their expected request format, you'll need the api documentation of Konan's endpoints as well as SynapseID, the authentication gateway used by Konan:

The main endpoints you should concern yourself with to achieve the basic functionalities of logging in and predicting on demand are:

  • POST https://auth.konan.ai/api/auth/login/ to get an access token
  • POST https://auth.konan.ai/api/auth/token/refresh/ to refresh the access token
  • POST https://api.konan.ai/deployments/<deployment-uuid>/predict/ to get a prediction from your deployment
  • POST https://api.konan.ai/deployments/{deployment_uuid}/predictions/feedback/ to get a send the ground truth of a prediction