Skip to content

GET /batch/

Get Batch Execution Data

GET
/batch/{batch_key}

Fetch full execution data for a production batch.

Executes GET_BATCH_EXECUTION_DATA to retrieve the Batch document together
with its linked StepExecutionData records and work sessions. Returns an
empty detail dict when no batch matching batch_key is found.

Emits: (direct query — no event class)
Required scope: traceability:batch-execution-record: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

Path Parameters

batch_key*
Type
string
Required

Responses

Successful Response

application/json
JSON
{
  
"status": 200,
  
"message": "string",
  
"detail": "string"
}

Samples

Powered by VitePress OpenAPI

Released under the Apache 2.0 License.