We are trying to get ‘all entities’ created in LUIS.ai. However, we do get a 200 OK response but it return a blank json

Dhruv D 6 Reputation points
2020-06-07T13:09:16.427+00:00

The request is like this:
GET /luis/api/v2.0/apps/<app-id>/versions/0.1/entities HTTP/1.1
Host: westus.api.cognitive.microsoft.com
Cache-Control: no-cache

We tried other Luis APIs and they seem to work. . Only the API for ‘get all entities’ returns blank.

Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
2,623 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. GiftA-MSFT 11,161 Reputation points
    2020-06-09T19:12:40.757+00:00

    Thanks for reaching out. It looks like you are missing the entityId. Try using the api reference.

    Your request url should look like this:

    https://{endpoint}/luis/api/v2.0/apps/{appId}/versions/{versionId}/entities/{entityId}
    

    Feel free to comment below if you still observe errors. Thanks.

    0 comments No comments