UiPath Documentation
marketplace
latest
false
UiPath logo, featuring letters U and I in white

Marketplace user guide

Last updated Apr 1, 2026

Get model keys

The Get Model Keys activity uses the Form Recognizer Get Keys API to retrieve the keys that were extracted during the training of a specified model (Model Id).

After completing the get keys operation, the activity outputs the extracted keys in a ModelCluster[] object (Model Keys) that you can use as an input variable in subsequent activities.

How it works

The following steps and message sequence diagram is an example of how the activity works from design time (that is, the activity dependencies and input/output properties) to run time.

  1. Complete the Setup steps.
  2. Add the Azure Form Recognizer Scope activity to your project.
  3. Add an activity or run an external process that outputs the model identifier (e.g., Train Model, Get Models).
  4. Add the Get Model Keys activity inside the Azure Form Recognizer Scope activity.
  5. Enter values for the Input properties.
  6. Create and enter a ModelCluster[] variable for the Output property.
  7. Run the activity.
    • Your input properties are sent to the Get Keys API.

    • The API returns the ModelCluster[] value to your output property variable.

      docs image

Properties

The values for the following properties are specified when adding this activity to your project in UiPath Studio.

docs image

Common

DisplayName

The display name of the activity.

AttributesDetails
TypeString
RequiredYes
Default valueGet Model Keys
Allowed valuesEnter a String or String variable.
NotesN/A

Input

Model Id

The identifier of the training model that you want to get keys from.

AttributesDetails
TypeString
RequiredYes
Default valueEmpty
Allowed valuesEnter a String or String variable.
NotesTo get the Model Id value, add an activity or run an external process that outputs the model identifier (e.g., Train Model, Get Models).

Misc

Private

If selected, the values of variables and arguments are no longer logged at Verbose level.

AttributesDetails
TypeCheckbox
RequiredNo
Default valueNot Selected
Allowed valuesSelected or Not Selected
NotesN/A

Output

Model Keys

An array of cluster objects that contain the keys extracted from the specified model.

AttributesDetails
TypeModelCluster[]
RequiredNo (required to use the output data in subsequent activities)
Default valueEmpty
Allowed valuesEnter a ModelCluster[] variable
NotesThe ModelCluster object only contains the extracted Keys values (not key-value pairs). To get the key-value pairs, use the Analyze Form activity.

Example

The following image shows an example of the activity dependency relationship and input/output property values.

For step-by-step instructions and examples, see the Quickstart guides.

docs image

  • How it works
  • Properties
  • Common
  • Input
  • Misc
  • Output
  • Example

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated