---
title: "POST /apps/import"
method: POST
path: "/apps/import"
---

# POST /apps/import

`POST /apps/import`

Imports an application to LUIS, the application's structure is included in the request body.

## Query parameters

- `appName` string

## Request body

- LuisApp — Exported Model - An exported LUIS Application.
  - `name` string — The name of the application.
  - `versionId` string — The version ID of the application that was exported.
  - `desc` string — The description of the application.
  - `culture` string — The culture of the application. E.g.: en-us.
  - `intents` HierarchicalModel[] — List of intents.
    - `name` string
    - `children` JsonChild[]
      - `name` string
      - `instanceOf` string
      - `children` JsonChild[]
      - `features` JsonModelFeatureInformation[]
        - `modelName` string — The name of the model used.
        - `featureName` string — The name of the feature used.
    - `features` JsonModelFeatureInformation[]
      - `modelName` string — The name of the model used.
      - `featureName` string — The name of the feature used.
    - `roles` string[]
    - `inherits` PrebuiltDomainObject
      - `domain_name` string
      - `model_name` string
  - `entities` HierarchicalModel[] — List of entities.
    - `name` string
    - `children` JsonChild[]
      - `name` string
      - `instanceOf` string
      - `children` JsonChild[]
      - `features` JsonModelFeatureInformation[]
        - `modelName` string — The name of the model used.
        - `featureName` string — The name of the feature used.
    - `features` JsonModelFeatureInformation[]
      - `modelName` string — The name of the model used.
      - `featureName` string — The name of the feature used.
    - `roles` string[]
    - `inherits` PrebuiltDomainObject
      - `domain_name` string
      - `model_name` string
  - `closedLists` ClosedList[] — List of list entities.
    - `name` string — Name of the list entity.
    - `subLists` SubClosedList[] — Sublists for the list entity.
      - `canonicalForm` string — The standard form that the list represents.
      - `list` string[] — List of synonym words.
    - `roles` string[]
  - `composites` HierarchicalModel[] — List of composite entities.
    - `name` string
    - `children` JsonChild[]
      - `name` string
      - `instanceOf` string
      - `children` JsonChild[]
      - `features` JsonModelFeatureInformation[]
        - `modelName` string — The name of the model used.
        - `featureName` string — The name of the feature used.
    - `features` JsonModelFeatureInformation[]
      - `modelName` string — The name of the model used.
      - `featureName` string — The name of the feature used.
    - `roles` string[]
    - `inherits` PrebuiltDomainObject
      - `domain_name` string
      - `model_name` string
  - `hierarchicals` HierarchicalModel[] — List of hierarchical entities.
    - `name` string
    - `children` JsonChild[]
      - `name` string
      - `instanceOf` string
      - `children` JsonChild[]
      - `features` JsonModelFeatureInformation[]
        - `modelName` string — The name of the model used.
        - `featureName` string — The name of the feature used.
    - `features` JsonModelFeatureInformation[]
      - `modelName` string — The name of the model used.
      - `featureName` string — The name of the feature used.
    - `roles` string[]
    - `inherits` PrebuiltDomainObject
      - `domain_name` string
      - `model_name` string
  - `patternAnyEntities` PatternAny[] — List of Pattern.Any entities.
    - `name` string
    - `explicitList` string[]
    - `roles` string[]
  - `regex_entities` RegexEntity[] — List of regular expression entities.
    - `name` string
    - `regexPattern` string
    - `roles` string[]
  - `prebuiltEntities` PrebuiltEntity[] — List of prebuilt entities.
    - `name` string
    - `roles` string[]
  - `regex_features` JSONRegexFeature[] — List of pattern features.
    - `pattern` string — The Regular Expression to match.
    - `activated` boolean — Indicates if the Pattern feature is enabled.
    - `name` string — Name of the feature.
  - `phraselists` JSONModelFeature[] — List of model features.
    - `activated` boolean — Indicates if the feature is enabled.
    - `name` string — The Phraselist name.
    - `words` string — List of comma-separated phrases that represent the Phraselist.
    - `mode` boolean — An interchangeable phrase list feature serves as a list of synonyms for training. A non-exchangeable phrase list serves as separate features for training. So, if your non-interchangeable phrase list contains 5 phrases, they will be mapped to 5 separate features. You can think of the non-interchangeable phrase list as an additional bag of words to add to LUIS existing vocabulary features. It is used as a lexicon lookup feature where its value is 1 if the lexicon contains a given word or 0 if it doesn’t. Default value is true.
    - `enabledForAllModels` boolean — Indicates if the Phraselist is enabled for all models in the application.
  - `patterns` PatternRule[] — List of patterns.
    - `pattern` string — The pattern text.
    - `intent` string — The intent's name where the pattern belongs to.
  - `utterances` JSONUtterance[] — List of example utterances.
    - `text` string — The utterance.
    - `intent` string — The matched intent.
    - `entities` JSONEntity[] — The matched entities.
      - `startPos` integer, required — The index within the utterance where the extracted entity starts.
      - `endPos` integer, required — The index within the utterance where the extracted entity ends.
      - `entity` string, required — The entity name.
      - `role` string — The role the entity plays in the utterance.
      - `children` JSONEntity[]

## Response `201`

The ID of the imported application.

- string, uuid — The ID (GUID) returned by an operation.

## Other responses

- `default` — Error Response.

---

[API](https://skmtc.net/azure/apis/luis-authoring-client.md) · [All operations](https://skmtc.net/azure/apis/luis-authoring-client/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/luis-authoring-client/versions/a26a0f7e5a37/schema)
