BookmarkSubscribeRSS Feed
abhi07
Calcite | Level 5

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??

 

 

1 REPLY 1
joeFurbee
Community Manager

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

SAS Bowl LIII, SAS Hackathon 2025
Wednesday, August 25, 2025 at 10 am.

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

How to Concatenate Values

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 882 views
  • 0 likes
  • 2 in conversation