Newbie question relating to the use of the API. We...
# ask-community-for-troubleshooting
s
Newbie question relating to the use of the API. We're trying to use the API to extract the logs. We had success retrieving the server and scheduler logs and have identified that the logs for the job are located in the job details (api/v1/jobs/get), but this API call requires us to get a list of job IDs (using api/v1/jobs/list) which requires a configid and I'm struggling to find where I can get this configid from. Guidance please?
1
a
Hey @Stuart Middleton, I think you can use the connection id as a
configId
(sorry the API doc is not very well documented). Could you please post on our forum if you have additional question? API usage is more advanced than getting started 😄
s
Will do. For info, pulling that thread leads me through: v1/workspaces/list (to get the workspace id) /v1/connections/list (to get the connection / config id) /v1/jobs/list (to get the job id) /v1/jobs/get (to get the log for the specified job). The change of name from connection to config ID threw me.