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-LII-SAS-Viya-SDK-for-JavaScript
Wednesday, June 18, 2025 at 10 am.

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

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
  • 833 views
  • 0 likes
  • 2 in conversation