@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api LUIS Runtime Client
@version 2.0
@auth ApiKey Ocp-Apim-Subscription-Key in header
@endpoints 2
@toc apps(2)

@endpoint GET /apps/{appId}
@desc Gets predictions for a given utterance, in the form of intents and entities. The current maximum query size is 500 characters.
@required {appId: any # The LUIS application ID (guid)., q: any # The utterance to predict.}
@optional {timezoneOffset: any # The timezone offset for the location of the request., verbose: any # If true, return all intents instead of just the top scoring intent., staging: any # Use the staging endpoint slot., spellCheck: any # Enable spell checking., bing-spell-check-subscription-key: any # The subscription key to use when enabling Bing spell check, log: any # Log query (default is true)}
@returns(200) Prediction, based on the input query, containing intent(s) and entities.

@endpoint POST /apps/{appId}
@desc Gets predictions for a given utterance, in the form of intents and entities. The current maximum query size is 500 characters.
@required {appId: any # The LUIS application ID (Guid)., q: str # The utterance to predict.}
@optional {timezoneOffset: any # The timezone offset for the location of the request., verbose: any # If true, return all intents instead of just the top scoring intent., staging: any # Use the staging endpoint slot., spellCheck: any # Enable spell checking., bing-spell-check-subscription-key: any # The subscription key to use when enabling Bing spell check, log: any # Log query (default is true)}
@returns(200) Prediction, based on the input query, containing intent(s) and entities.

@end
