How to get API call result

When run API in Orchestrator how to get the result ?
Using curl to submit API call and able to get response as below format
{“key”:“90259640-0c12-41d9-938b-628400f7145a”,“state”:“Pending”,“startTime”:null,“creationTime”:“2025-06-09T09:12:13.867Z”,“hostMachineName”:null,“organizationUnitId”:XXXXXX,“id”:XXXXXXXX}

But how to get Job message or other output ?

@moonhkt

Use the id you get with get jobs api and you can check the status and other details

Cheers

What is syntax for curl command get the result ?

@moonhkt

Please check the swagger <orchestratorurl>/swagger/index.html

https://docs.uipath.com/orchestrator/standalone/2022.10/api-guide/jobs-requests

Cheers

1 Like

using /odata/AuditLogs ?

@moonhkt

Using odata/jobs ..you need the job data right

Cheers

@moonhkt

from job id you can find job details and logs

for details check yourorchestratorurl/swagger/index.html
this is a API documentation

Hi @moonhkt

First, use the Start Job API to get the job key. Then call Get Job Details API: GET /odata/Jobs({jobId})
Check fields like OutputArguments or Info to get job message or output. Output must be written to logs or output arguments in the process to retrieve.

For more-

Happy Automation