I am trying to perform scoring using the score URL provided after we have published a model in SAS Viya.
Suppose I submit a scoring request for a large file, is there a way to get the progress?
I am confused between GET /executions/{executionId}/state (comes under Score Execution)
and GET /jobs/{jobId}/state (Comes under compute)
What's the difference between an executionId and JobId??
Hi @abhi07,
If you used the score execution API to create the scoring request, you should receive a unique exeectionid in the response. That id would then be used in the GET /executions/{executionId}/state.
The GET /jobs/{jobId}/state would be a more generic way of getting the state if the jobExecution API was used to kick off the score execution. This would require additional (and probably a more complex) API calls.
Thanks,
Joe
Join us for SAS Community Trivia
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.