GET /work-session
Get Active Work Session For Job
GET
/work-session
Fetch the currently active work session for a job.
Executes GET_ACTIVE_WORK_SESSION_FOR_JOB and returns the most recent
unclosed WorkSession record for the given job key.
Emits: (read-only — no event)
Required scope: production:work-session:read
Authorizations
OAuth2PasswordBearer
password Flow
Token URL
"/api/auth"Scopes:
"admin"User can access and edit users and system settings"library"User can access and edit products"production"User can access and edit production plans"operator"User can access the operator panel and make production declarations
Parameters
Query Parameters
job_key*
Type
Requiredstring
Responses
Successful Response
application/json
JSON "status": 200, "message": "string", "detail": "string"
{
}