1. Home
  2. Kore.ai Conversational Platform
  3. SDKs & APIs
  4. Using Kore.ai APIs
  5. Find Intent API

Find Intent API

Fetches the intent recognition result and the scoring from NLP and ML engines

POST  https://{{host}} /api/v1.1/rest/streams/{{stream_id}}/findIntent?fetchConfiguredTasks={{true or false}}

Query Parameters

Parameter Description
host Environment URL, for example, https://bots.kore.ai
stream_id Bot ID. You can access it from the General Settings page of the bot.
fetchConfiguredTasks true if you want to fetch the intents from configured tasks in the bot and false if you want to fetch only for the published tasks

Body Parameters

Parameter Description
input The user utterance to find the matching intents

Example: Create a task

streamName Name of the bot

Example: JIRA Bot


Invoke the API with JWT in the header with the following syntax:

auth: {JWT}

Response content type


Sample Request


curl -X POST \

  'https://{{host}}/api/v1.1/rest/streams/{{stream_id}}/findIntent?fetchConfiguredTasks=false' \

  -H 'auth: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.R8jyQijBAMS83W8Al0bzvYvyNA55I036oZwqQrmA19g' \

  -H 'cache-control: no-cache' \

  -H 'content-type: application/json' \

  -H 'postman-token: 92347d9b-7986-cd36-0f4c-c1ad2a308b60' \

  -d '{"input":"{{INTENT}}","streamName":"{{STREAM_NAME}}"}'
Was this article helpful to you? Yes No 3