Purchase Orders public ML skills, get extracted fields through API request

Hi everyone,

I have a trained public purchase order endpoint and I would like to pull data directly through the API, but I can’t find how the request body should be, I tried using a base64 format pdf file in body but it doesn’t work.

{“data”: “base64 format”}
and {“base64 format”}


,

@LMD

Welcome to the community

Did you happen to check the swagger?

Mostly you might need a binary format and instead of data it is file like an attachment

For swagger from document understanding page check the top right

Cheers

I tried with a binary file and content type as application/pdf through postman but it does not work, it returns method not allowed 405, knowing that I am using a public ML Skill endpoint and not a DU extractor.

Thanks for your reply.

@LMD

try creating a skill out of it and use it from DU and check

cheers

I can’t find how to use a trained model from DU extractor, it only provides predefined models.