UiPath Documentation
document-understanding
2024.10
false
  • Démarrage
    • Vue d'ensemble (Overview)
    • Limites et quotas
  • Exemples d’utilisation de l’API Document Understanding™
  • Licences
  • Résolution des problèmes
Important :
La localisation du contenu nouvellement publié peut prendre 1 à 2 semaines avant d’être disponible.
UiPath logo, featuring letters U and I in white

Document Understanding API guide

Dernière mise à jour 6 avr. 2026

Autoriser à l'aide d'une application externe et récupérer les ressources disponibles

  1. Create a new Document UnderstandingTM project and retrieve the projectId (found within the project's URL).

    For this example we are using the predefined project* available in Swagger, identifiable with this projectID: 00000000-0000-0000-0000-000000000000.

    Remarque :

    Le projet prédéfini n’est pas visible dans l’interface utilisateur de Document Understanding. Il fournit un accès programmatique aux modèles ML publics disponibles.

  2. Create an External Application where Document Understanding is used as a Resource and it includes all the available Application Scopes.

  3. Lancez un appel curl au service d’identité pour obtenir un jeton.

curl --data \
-urlencode "scope=Du.Digitization"  --data \
-urlencode "client_id={app_id}" --data \
-urlencode "client_secret={app_secret}" --data \
-urlencode "grant_type=client_credentials" https://cloud.uipath.com/identity_/connect/token
curl --data \
-urlencode "scope=Du.Digitization"  --data \
-urlencode "client_id={app_id}" --data \
-urlencode "client_secret={app_secret}" --data \
-urlencode "grant_type=client_credentials" https://cloud.uipath.com/identity_/connect/token
Remarque :

The Authorization token has an expiration period. See the following response for the expiration and make sure to renew it before it expires.

{
"access_token": "eyJh**CRaKrg",
"expires_in": 3600,
"token_type": "Bearer",
"scope": "Du.Digitization.Api"
}
{
"access_token": "eyJh**CRaKrg",
"expires_in": 3600,
"token_type": "Bearer",
"scope": "Du.Digitization.Api"
}

Cette page vous a-t-elle été utile ?

Connecter

Besoin d'aide ? Assistance

Vous souhaitez apprendre ? UiPath Academy

Vous avez des questions ? UiPath Forum

Rester à jour