Supercoach API (2.0)
Download OpenAPI specification:Download
Interface with Rapta coaching. This is a websocket so it is bi-directional communication.Consumes a message to either start or interrupt or coaching. While both start and interrupt are supported only one can be provided (XOR).Emits messages for predictions, step advance, step complete, and step interrupt.
Request Body schema: application/json
object (StartCoachingRequest) | |
object (InterruptCoachingRequest) |
Responses
Request samples
- Payload
{- "start": {
- "assembly_id": "string",
- "operator_id": "string",
- "auto_coach_enabled": true,
- "prediction_smoothing_enabled": true,
- "prediction_smoothing_default": 0,
- "step_progression_delay": 0,
- "auto_advance_emulated_camera": true,
- "experiment_id": "string",
- "system_options": {
- "use_alignment_ai": true,
- "alignment_mode": "string",
- "alignment_ai_threshold": 0,
- "use_multistep_model": true,
- "auto_advance_video_only": true
}, - "is_rework": true,
- "rework_assembly_record_id": "string"
}, - "interrupt": {
- "assembly_record_id": "string",
- "interrupt_type": "string",
- "step": {
- "id": "string",
- "previous_step_id": "string",
- "next_step_id": "string",
- "started_at": {
- "seconds": "string",
- "nanos": 0
}, - "status": "string",
- "confidence": 0,
- "benchmark": 0
}
}
}Response samples
- 200
{- "status": "string",
- "msg": {
- "assembly_record_id": "string",
- "assembly_id": "string",
- "benchmark": 0,
- "created_at": {
- "seconds": "string",
- "nanos": 0
}, - "step": {
- "id": "string",
- "previous_step_id": "string",
- "next_step_id": "string",
- "started_at": {
- "seconds": "string",
- "nanos": 0
}, - "status": "string",
- "confidence": 0,
- "benchmark": 0
}, - "status": "string",
- "error": "string",
- "prediction_label": {
- "name": "string",
- "value": "string",
- "full": "string"
}, - "message": "string",
- "figure": "string",
- "ocr_entries": [
- {
- "text": "string",
- "status": "string",
- "user_friendly_label_prefix": "string",
- "user_friendly_label": "string",
- "italicize_user_friendly_label_prefix": true,
- "italicize_user_friendly_label": true,
- "warning_message": "string",
- "variable_name": "string"
}
], - "detected_targets": [
- {
- "id": 0,
- "step_record_id": 0,
- "detection_target_id": 0,
- "bbox_x": 0,
- "bbox_y": 0,
- "bbox_width": 0,
- "bbox_height": 0,
- "description": "string",
- "score": 0,
- "confidence": 0,
- "created_at": {
- "seconds": "string",
- "nanos": 0
}, - "updated_at": {
- "seconds": "string",
- "nanos": 0
}, - "correct": true,
- "step_record_position_id": 0,
- "part_number": "string",
- "display_id": "string",
- "label": "string",
- "detection_target": {
- "id": 0,
- "uuid": "string",
- "model_id": 0,
- "label": "string",
- "display_id": "string",
- "part_number": "string",
- "description": "string",
- "linked_assemblies": [
- "string"
], - "created_at": {
- "seconds": "string",
- "nanos": 0
}, - "updated_at": {
- "seconds": "string",
- "nanos": 0
}, - "image_samples": [
- {
- "id": 0,
- "uuid": "string",
- "detection_target_id": 0,
- "file_path": "string",
- "width": 0,
- "height": 0,
- "capture_date": {
- "seconds": "string",
- "nanos": 0
}, - "capture_conditions": "string",
- "created_at": {
- "seconds": "string",
- "nanos": 0
}, - "augmented": true,
- "correct": true,
- "label": "string",
- "annotations": [
- {
- "id": 0,
- "uuid": "string",
- "image_sample_id": 0,
- "bbox_x": 0,
- "bbox_y": 0,
- "bbox_width": 0,
- "bbox_height": 0,
- "created_at": {
- "seconds": null,
- "nanos": null
}, - "confidence": 0,
- "similarity": 0,
- "center_x": 0,
- "center_y": 0,
- "category": "string",
- "label": "string"
}
]
}
], - "trained": true,
- "pending": true
}, - "category": "string"
}
], - "step_record_positions": [
- {
- "id": 0,
- "step_record_id": 0,
- "device_id": "string",
- "device_name": "string",
- "position_name": "string",
- "created_at": "string",
- "updated_at": "string",
- "axis_positions": [
- {
- "id": 0,
- "step_record_position_id": 0,
- "component_id": "string",
- "axis_type": "string",
- "axis_value": 0,
- "units": "string"
}
], - "step_record_detection_targets": [
- {
- "id": 0,
- "step_record_id": 0,
- "detection_target_id": 0,
- "bbox_x": 0,
- "bbox_y": 0,
- "bbox_width": 0,
- "bbox_height": 0,
- "description": "string",
- "score": 0,
- "confidence": 0,
- "created_at": {
- "seconds": "string",
- "nanos": 0
}, - "updated_at": {
- "seconds": "string",
- "nanos": 0
}, - "correct": true,
- "step_record_position_id": 0,
- "part_number": "string",
- "display_id": "string",
- "label": "string",
- "detection_target": {
- "id": 0,
- "uuid": "string",
- "model_id": 0,
- "label": "string",
- "display_id": "string",
- "part_number": "string",
- "description": "string",
- "linked_assemblies": [
- "string"
], - "created_at": {
- "seconds": "string",
- "nanos": 0
}, - "updated_at": {
- "seconds": "string",
- "nanos": 0
}, - "image_samples": [
- {
- "id": 0,
- "uuid": "string",
- "detection_target_id": 0,
- "file_path": "string",
- "width": 0,
- "height": 0,
- "capture_date": {
- "seconds": null,
- "nanos": null
}, - "capture_conditions": "string",
- "created_at": {
- "seconds": null,
- "nanos": null
}, - "augmented": true,
- "correct": true,
- "label": "string",
- "annotations": [
- null
]
}
], - "trained": true,
- "pending": true
}, - "category": "string"
}
], - "image_link": "string"
}
], - "step_motion_progress": {
- "event_id": "string",
- "timestamp": {
- "seconds": "string",
- "nanos": 0
}, - "device_id": "string",
- "sequence_id": "string",
- "correlation_id": "string",
- "event_type": "string",
- "sequence_progress": {
- "total_motions": 0,
- "completed_motions": 0,
- "total_positions": 0,
- "completed_positions": 0,
- "estimated_time_remaining_seconds": 0
}, - "motion_progress": {
- "motion_index": 0,
- "motion_type": "string",
- "total_positions_in_motion": 0,
- "completed_positions_in_motion": 0
}, - "position_progress": {
- "position_index": 0,
- "position_name": "string",
- "target_position": {
- "device_id": "string",
- "axes": [
- {
- "component_id": "string",
- "axis_type": "string",
- "units": "string",
- "axis_value": 0,
- "start_value": 0,
- "end_value": 0,
- "step_distance": 0
}
], - "timestamp": {
- "seconds": "string",
- "nanos": 0
}
}, - "current_position": {
- "device_id": "string",
- "axes": [
- {
- "component_id": "string",
- "axis_type": "string",
- "units": "string",
- "axis_value": 0,
- "start_value": 0,
- "end_value": 0,
- "step_distance": 0
}
], - "timestamp": {
- "seconds": "string",
- "nanos": 0
}
}, - "dwell_time_remaining_seconds": 0
}, - "status": {
- "code": "string",
- "product_version": "string",
- "msg": "string",
- "count": 0,
- "target": "string",
- "err_code": "string"
}, - "error_message": "string",
- "progress_message": "string"
}
}
}Begin coaching on a specific assembly on a specific step
path Parameters
| assembly_id required | string |
| step_id required | string |
Responses
Response samples
- 200
- 400
{- "status": "string",
- "msg": {
- "records": [
- {
- "id": {
- "uuid": "string"
}, - "ref_assembly_id": {
- "uuid": "string"
}, - "ref_assembly": {
- "id": {
- "uuid": "string"
}, - "name": "string",
- "description": "string",
- "image_link": "string",
- "tenant_id": "string",
- "training_complete": true,
- "revision_id": {
- "uuid": "string"
}, - "parent_id": {
- "uuid": "string"
}, - "revision": 0,
- "steps": {
- "steps": [
- {
- "id": "string",
- "name": "string",
- "description": "string",
- "image_link": "string",
- "video_link": "string",
- "overlay_link": "string",
- "minimum_predict": 0,
- "benchmark": 0,
- "roi_zoom": "string",
- "camera_id": "string",
- "perspective_change": true,
- "mask_perspective": true,
- "training_required": true,
- "classes": [
- "string"
], - "assembly_id": {
- "uuid": "string"
}, - "next_step_id": "string",
- "previous_step_id": "string",
- "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": null,
- "nanos": null
}, - "end_date": {
- "seconds": null,
- "nanos": null
}
}, - "step_data": [
- {
- "step_data_info": [ ],
- "id": null,
- "step_id": null,
- "data_type": null,
- "units": null,
- "name": null,
- "tolerance": null,
- "auto_align": null,
- "torque_data": null,
- "options": null,
- "ocr_capture_variable_info": [ ]
}
], - "step_detection_targets": [
- {
- "id": null,
- "step_id": null,
- "detection_target_id": null,
- "detection_target_uuid": null,
- "bbox_x": null,
- "bbox_y": null,
- "bbox_width": null,
- "bbox_height": null,
- "description": null,
- "score": null,
- "created_at": null,
- "updated_at": null,
- "manually_adjusted": null,
- "correct": null,
- "part_number": null,
- "display_id": null,
- "label": null,
- "detection_target": null
}
], - "step_motions": [
- {
- "id": null,
- "step_id": null,
- "motion_type": null,
- "sequence_order": null,
- "step_positions": [ ],
- "created_at": null,
- "updated_at": null,
- "capture_all_images": null,
- "enabled": null
}
]
}
]
}, - "augmentation": {
- "id": "string",
- "assembly_id": {
- "uuid": "string"
}, - "lighting_aug": 0,
- "placement_aug": 0,
- "color_aug": 0,
- "prompt": "string",
- "negative_prompt": "string"
}, - "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}, - "classes": [
- "string"
], - "product_version": "string",
- "model_version": "string",
- "published": true,
- "approver": "string",
- "notes": "string",
- "record_videos": true,
- "last_edited": {
- "seconds": "string",
- "nanos": 0
}, - "active": true
}, - "operator": {
- "id": "string",
- "first_name": "string",
- "last_name": "string",
- "num_records": 0,
- "role": "string",
- "rfid": "string",
- "password": "string",
- "active": true,
- "has_password": true,
- "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}
}, - "benchmark": 0,
- "complete": true,
- "assembly_record_datetime": "string",
- "num_records": 0,
- "qa_report_link": "string",
- "ocr_capture_variable_records": {
- "ocr_capture_variable_records": [
- {
- "id": "string",
- "assembly_record_id": "string",
- "step_id": "string",
- "variable_name": "string",
- "variable_value": "string"
}
]
}, - "quality_hold": true,
- "time_taken": 0,
- "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}, - "is_rework": true,
- "original_assembly_record_id": "string",
- "resume_from_step_id": 0,
- "rework_id": "string",
- "rework_reason": "string",
- "resumed_by_record_id": "string",
- "rework_completed": true
}
], - "total_pages": 0
}
}Pauses coaching of the assembly
path Parameters
| assembly_id required | string Example: 57618016-cd00-4fc8-85f5-e4b26304c6ba The ID of the assembly |
Request Body schema: application/json
| assembly_record_id | string |
Responses
Request samples
- Payload
{- "assembly_record_id": "b79663a8-c53a-472e-9572-026ce3c6a82d"
}Response samples
- 200
- 400
{- "status": "ok",
- "msg": ""
}Complete coaching session
Declare that the ongoing coaching session is complete.
path Parameters
| assembly_id required | string |
Request Body schema: application/json
| step_index | integer <int32> |
| assembly_record_id | string |
| auto_coach_enabled | string |
Responses
Request samples
- Payload
{- "step_index": 0,
- "assembly_record_id": "string",
- "auto_coach_enabled": "string"
}Response samples
- 200
{- "status": "ok",
- "msg": ""
}Set coaching context to a new step
Set coaching to a specific assembly's step. Must provide an end-time for the current step and an assembly_record_id to report the endtime to.
path Parameters
| assembly_id required | string |
| step required | string |
Request Body schema: application/json
| assembly_record_id | string |
| end_time | string The end-time for the currently coached step |
| auto_coach_enabled | boolean |
Responses
Request samples
- Payload
{- "assembly_record_id": "string",
- "end_time": "string",
- "auto_coach_enabled": true
}Response samples
- 200
{- "status": "ok",
- "msg": ""
}Retrieve a list of available training actions. Used when adding a new step to the end of the assembly.
Some training actions aren't available until others have been performed. EG. Serial Number Verification isn't available until a Serial Number Capture has been made. This endpoint returns which area currently available for a given assembly.
Responses
Response samples
- 200
{- "status": "ok",
- "msg": ""
}Determines which steps this given step is allowed to move to.
Some steps depend on other steps, such as a Serial Number Verification depending on a previous Serial Number Capture. This endpoint will return which indices a step may be allowed to move to with these dependencies in mind.
path Parameters
| assembly_id required | string |
| step_number required | string |
Responses
Response samples
- 200
{- "status": "ok",
- "msg": ""
}Create a new model for a specific assembly
If not already done, this will change the global training context to this assembly.
path Parameters
| assembly_id required | string |
Request Body schema: application/json
| name | string |
| description | string |
| parent_id | string |
| revision_id | string |
| epochs | integer <int32> |
| batch_size | integer <int32> |
| complete_callback | string |
| enable_multistep_model | boolean |
Responses
Request samples
- Payload
{- "name": "string",
- "description": "string",
- "parent_id": "string",
- "revision_id": "string",
- "epochs": 0,
- "batch_size": 0,
- "complete_callback": "string",
- "enable_multistep_model": true
}Response samples
- 200
- 400
{- "status": "ok",
- "msg": ""
}Edit a model for a specific assembly
If not already done, this will change the global training context to this assembly
path Parameters
| assembly_id required | string |
Request Body schema: application/json
object (NeuralNet) | |
object (ModelConfiguration) |
Responses
Request samples
- Payload
{- "base_nn": {
- "type": "string",
- "product_type": "string",
- "version": "string",
- "python_version": "string",
- "tensorflow_version": "string",
- "model_name": "string",
- "model_type": "string",
- "model_category": "string"
}, - "configuration": {
- "duration": 0,
- "sample_size": 0,
- "image_height": 0,
- "image_width": 0,
- "image_channels": 0,
- "batch_size": 0,
- "validation_split": 0,
- "training_steps": 0,
- "epochs": 0,
- "tfloat16": true
}
}Response samples
- 200
- 400
{- "status": "ok",
- "msg": ""
}Inform model of the start of a new step
If not already done, this will change the global training context to this assembly
path Parameters
| assembly_id required | string |
Request Body schema: application/json
| step_roi_zoom | string |
| step_description | string |
| step_camera_name | string |
| step_minimum_predict | number <float> |
| step_benchmark | number <float> |
| step_index | integer <int32> |
| label_index | integer <int32> |
Array of objects (StepDataInfo) | |
| record_step | boolean |
Array of objects (OCRCaptureVariableInfo) | |
| actions | string Possible values are: ML OCR_CHECK OCR_CAPTURE OCR_VERIFY OCR_ENTRY TORQUE TORQUE_ONLY INPUT OUTPUT QA QA_DWELL VIDEO_ONLY PART_VERIFICATION SCAN_REGION |
| data_ops | string Possible values are: ADD DELETE INSERT UPDATE MOVE |
| step_type | string Possible values are: MASTER CORRECT INCORRECT PERSPECTIVE IO OCCLUDED |
Responses
Request samples
- Payload
{- "step_roi_zoom": "string",
- "step_description": "string",
- "step_camera_name": "string",
- "step_minimum_predict": 0,
- "step_benchmark": 0,
- "step_index": 0,
- "label_index": 0,
- "step_data_infos": [
- {
- "id": "string",
- "label": "string",
- "link": "string",
- "value": "string",
- "step_data_id": "string",
- "type": "string",
- "name": "string",
- "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}
}
], - "record_step": true,
- "ocr_capture_variable_infos": [
- {
- "variable_name": "string",
- "bounding_box": "string",
- "original_text_value": "string",
- "step_number": "string"
}
], - "actions": "ML",
- "data_ops": "UPDATE",
- "step_type": "MASTER"
}Response samples
- 200
- 400
{- "status": "ok",
- "msg": ""
}Update model for simple database updates
If not already done, this will change the global training context to this assembly
path Parameters
| assembly_id required | string |
Request Body schema: application/json
| step_roi_zoom | string |
| step_description | string |
| step_camera_name | string |
| step_minimum_predict | number <float> |
| step_benchmark | number <float> |
| step_index | integer <int32> |
| label_index | integer <int32> |
Array of objects (StepDataInfo) | |
| record_step | boolean |
Array of objects (OCRCaptureVariableInfo) | |
| actions | string Possible values are: ML OCR_CHECK OCR_CAPTURE OCR_VERIFY OCR_ENTRY TORQUE TORQUE_ONLY INPUT OUTPUT QA QA_DWELL VIDEO_ONLY PART_VERIFICATION SCAN_REGION |
| data_ops | string Possible values are: ADD DELETE INSERT UPDATE MOVE |
| step_type | string Possible values are: MASTER CORRECT INCORRECT PERSPECTIVE IO OCCLUDED |
Responses
Request samples
- Payload
{- "step_roi_zoom": "string",
- "step_description": "string",
- "step_camera_name": "string",
- "step_minimum_predict": 0,
- "step_benchmark": 0,
- "step_index": 0,
- "label_index": 0,
- "step_data_infos": [
- {
- "id": "string",
- "label": "string",
- "link": "string",
- "value": "string",
- "step_data_id": "string",
- "type": "string",
- "name": "string",
- "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}
}
], - "record_step": true,
- "ocr_capture_variable_infos": [
- {
- "variable_name": "string",
- "bounding_box": "string",
- "original_text_value": "string",
- "step_number": "string"
}
], - "actions": "ML",
- "data_ops": "UPDATE",
- "step_type": "MASTER"
}Response samples
- 200
- 400
{- "status": "ok",
- "msg": ""
}Capture an IO event for a specific assembly while recording a step
Between POST /model/start and POST /model/end of a Torque or IO action, declare when an IO event occurred.
path Parameters
| assembly_id required | string |
Request Body schema: application/json
| data_ops | string Possible values are: ADD DELETE INSERT UPDATE MOVE |
| step_type | string Possible values are: MASTER CORRECT INCORRECT PERSPECTIVE IO OCCLUDED |
| io_name | string |
| step_index | integer <int32> |
Responses
Request samples
- Payload
{- "data_ops": "UPDATE",
- "step_type": "MASTER",
- "io_name": "string",
- "step_index": 0
}Response samples
- 200
- 400
{- "status": "ok",
- "msg": ""
}Inform model of the end of a new step
Should be paired with POST /model/start/{assembly_id}. If not already done, this will change the global training context to this assembly
path Parameters
| assembly_id required | string |
Request Body schema: application/json
| create_overlay | boolean |
| overlay_rectangles | Array of strings |
| step_index | integer <int32> |
| label_index | integer <int32> |
| record_step | boolean |
| actions | string Possible values are: ML OCR_CHECK OCR_CAPTURE OCR_VERIFY OCR_ENTRY TORQUE TORQUE_ONLY INPUT OUTPUT QA QA_DWELL VIDEO_ONLY PART_VERIFICATION SCAN_REGION |
| data_ops | string Possible values are: ADD DELETE INSERT UPDATE MOVE |
| step_type | string Possible values are: MASTER CORRECT INCORRECT PERSPECTIVE IO OCCLUDED |
Responses
Request samples
- Payload
{- "create_overlay": true,
- "overlay_rectangles": [
- "string"
], - "step_index": 0,
- "label_index": 0,
- "record_step": true,
- "actions": "ML",
- "data_ops": "UPDATE",
- "step_type": "MASTER"
}Response samples
- 200
- 400
{- "status": "ok",
- "msg": ""
}Revert the previous `start` call
If a POST /model/end hasn't been called yet, you may revert the previous POST /model/start call, deleting any data that was generated from said call. This allows you to essentially "undo" the previous operation.
Responses
Response samples
- 200
{- "status": "ok",
- "msg": ""
}Move one step to another location
After changing the global training context to a specific assembly, this endpoint allows you to move a step from one position to another position without restriction.
path Parameters
| current_index required | string |
| new_index required | string |
Request Body schema: application/json
| assembly_id | string |
Responses
Request samples
- Payload
{- "assembly_id": "string"
}Response samples
- 200
{- "status": "ok",
- "msg": ""
}Copy one step to another location
After changing the global training context to a specific assembly, this endpoint allows you to copy a step from one position to another position without restriction.
path Parameters
| from_assembly_id required | string |
| step_index required | string |
Request Body schema: application/json
| assembly_id | string |
Responses
Request samples
- Payload
{- "assembly_id": "string"
}Response samples
- 200
{- "status": "ok",
- "msg": ""
}Create an overlay for a step of a specific assembly
An overlay is made up of rectangles. These will be displayed to the operator during coaching of a specific step.
path Parameters
| assembly_id required | string |
Request Body schema: application/json
| overlay_rectangles | Array of strings |
| step_index | integer <int32> |
Responses
Request samples
- Payload
{- "overlay_rectangles": [
- "(0.301, 0.225, 0.245, 0.44)"
], - "step_index": 0
}Response samples
- 200
{- "status": "ok",
- "msg": ""
}Check whether a step may be deleted or not.
Sometimes, a future step may depend on a previous step, such as a Serial Number Verification step depending on a previous Serial Number Capture step. This endpoint checks if other steps depend on this step or not, and responds whether it should be allowed to be deleted.
path Parameters
| assembly_id required | string |
| step_index required | string |
Responses
Response samples
- 200
{- "status": "string",
- "msg": {
- "can_delete_step": true,
- "reason": "string"
}
}Cancel an assembly currently in an editing session
path Parameters
| assembly_id required | string |
Request Body schema: application/json
| cancel_current_training | boolean |
| finalize_only | boolean |
Responses
Request samples
- Payload
{- "cancel_current_training": true,
- "finalize_only": true
}Response samples
- 200
{- "status": "ok",
- "msg": ""
}Cancel an assembly currently in a training session
path Parameters
| assembly_id required | string |
Request Body schema: application/json
| cancel_current_training | boolean |
| finalize_only | boolean |
Responses
Request samples
- Payload
{- "cancel_current_training": true,
- "finalize_only": true
}Response samples
- 200
{- "status": "ok",
- "msg": ""
}Get similarity scores of step's starting position with its potential ending positions
This endpoint returns multiple structural similarity index measures (SSIM) which represent how similar two images are. Each step is made up of multiple "end positions", or labels. This will return an SSIM comparing the STARTING position and each label. The closer to 0 the values are, the more similar they are.
Sample output:
{
"step_number": 1,
"ssim": {
# Values are populated dynamically based on the amount of labels this step has
"previous": 586.57,
"incorrect_1": 874.01,
"incorrect_2": 756.42,
...
}
}
path Parameters
| assembly_id required | string |
| step_number required | string |
Schedule training of a model some time later
Request Body schema: application/json
| name | string |
| description | string |
| when | string |
| assembly_id | string |
| type | string The type of schedule request. Currently, the only valid value is "COMPUTE_TRAIN" |
| complete_callback | string |
| epochs | integer <int32> |
| nn_type | string |
| nn_product_type | string |
| version | string |
| python_version | string |
| tensorflow_version | string |
| model_category | string |
| model_type | string |
| model_name | string |
| enabled_occlusion_detection | boolean |
| enabled_multistep_model | boolean |
Responses
Request samples
- Payload
{- "name": "string",
- "description": "string",
- "when": "string",
- "assembly_id": "string",
- "type": "string",
- "complete_callback": "string",
- "epochs": 0,
- "nn_type": "string",
- "nn_product_type": "string",
- "version": "string",
- "python_version": "string",
- "tensorflow_version": "string",
- "model_category": "string",
- "model_type": "string",
- "model_name": "string",
- "enabled_occlusion_detection": true,
- "enabled_multistep_model": true
}Response samples
- 200
{- "status": "ok",
- "msg": ""
}Response samples
- 200
{- "status": "string",
- "msg": [
- {
- "id": "string",
- "name": "string",
- "description": "string",
- "action": {
- "when": "string",
- "function": "string",
- "edit_train_request": {
- "edit_request": {
- "step_roi_zoom": "string",
- "step_description": "string",
- "step_camera_name": "string",
- "step_minimum_predict": 0,
- "step_benchmark": 0,
- "export": "string",
- "complete_callback": "string",
- "init_task_num": 0,
- "prev_label": "string",
- "create_overlay": true,
- "overlay_rectangles": [
- "string"
], - "cancel_current_training": true,
- "skip_video_conversion": true,
- "step_index": 0,
- "label_index": 0,
- "assembly": {
- "id": {
- "uuid": "string"
}, - "name": "string",
- "description": "string",
- "image_link": "string",
- "tenant_id": "string",
- "training_complete": true,
- "revision_id": {
- "uuid": "string"
}, - "parent_id": {
- "uuid": "string"
}, - "revision": 0,
- "steps": {
- "steps": [
- {
- "id": null,
- "name": null,
- "description": null,
- "image_link": null,
- "video_link": null,
- "overlay_link": null,
- "minimum_predict": null,
- "benchmark": null,
- "roi_zoom": null,
- "camera_id": null,
- "perspective_change": null,
- "mask_perspective": null,
- "training_required": null,
- "classes": [ ],
- "assembly_id": null,
- "next_step_id": null,
- "previous_step_id": null,
- "options": null,
- "step_data": [ ],
- "step_detection_targets": [ ],
- "step_motions": [ ]
}
]
}, - "augmentation": {
- "id": "string",
- "assembly_id": {
- "uuid": "string"
}, - "lighting_aug": 0,
- "placement_aug": 0,
- "color_aug": 0,
- "prompt": "string",
- "negative_prompt": "string"
}, - "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}, - "classes": [
- "string"
], - "product_version": "string",
- "model_version": "string",
- "published": true,
- "approver": "string",
- "notes": "string",
- "record_videos": true,
- "last_edited": {
- "seconds": "string",
- "nanos": 0
}, - "active": true
}, - "data_type": "string",
- "step_data_infos": [
- {
- "id": "string",
- "label": "string",
- "link": "string",
- "value": "string",
- "step_data_id": "string",
- "type": "string",
- "name": "string",
- "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": null,
- "nanos": null
}, - "end_date": {
- "seconds": null,
- "nanos": null
}
}
}
], - "new_step_index": 0,
- "finalize_only": true,
- "assembly_revision": {
- "id": {
- "uuid": "string"
}, - "name": "string",
- "description": "string",
- "image_link": "string",
- "tenant_id": "string",
- "training_complete": true,
- "active_revision": "string",
- "published": true,
- "assembly": {
- "id": {
- "uuid": "string"
}, - "name": "string",
- "description": "string",
- "image_link": "string",
- "tenant_id": "string",
- "training_complete": true,
- "revision_id": {
- "uuid": "string"
}, - "parent_id": {
- "uuid": "string"
}, - "revision": 0,
- "steps": {
- "steps": [
- null
]
}, - "augmentation": {
- "id": "string",
- "assembly_id": {
- "uuid": null
}, - "lighting_aug": 0,
- "placement_aug": 0,
- "color_aug": 0,
- "prompt": "string",
- "negative_prompt": "string"
}, - "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": null,
- "nanos": null
}, - "end_date": {
- "seconds": null,
- "nanos": null
}
}, - "classes": [
- "string"
], - "product_version": "string",
- "model_version": "string",
- "published": true,
- "approver": "string",
- "notes": "string",
- "record_videos": true,
- "last_edited": {
- "seconds": "string",
- "nanos": 0
}, - "active": true
}
}, - "record_step": true,
- "ocr_capture_variable_infos": [
- {
- "variable_name": "string",
- "bounding_box": "string",
- "original_text_value": "string",
- "step_number": "string"
}
], - "step_tolerance": 0,
- "revert": true,
- "step_detection_targets": [
- {
- "id": 0,
- "step_id": 0,
- "detection_target_id": 0,
- "detection_target_uuid": "string",
- "bbox_x": 0,
- "bbox_y": 0,
- "bbox_width": 0,
- "bbox_height": 0,
- "description": "string",
- "score": 0,
- "created_at": {
- "seconds": "string",
- "nanos": 0
}, - "updated_at": {
- "seconds": "string",
- "nanos": 0
}, - "manually_adjusted": true,
- "correct": true,
- "part_number": "string",
- "display_id": "string",
- "label": "string",
- "detection_target": {
- "id": 0,
- "uuid": "string",
- "model_id": 0,
- "label": "string",
- "display_id": "string",
- "part_number": "string",
- "description": "string",
- "linked_assemblies": [
- null
], - "created_at": {
- "seconds": null,
- "nanos": null
}, - "updated_at": {
- "seconds": null,
- "nanos": null
}, - "image_samples": [
- null
], - "trained": true,
- "pending": true
}
}
], - "prevent_revision": true,
- "step_motions": [
- {
- "id": 0,
- "step_id": 0,
- "motion_type": "string",
- "sequence_order": 0,
- "step_positions": [
- {
- "id": null,
- "step_motion_id": null,
- "device_id": null,
- "position_name": null,
- "sequence_order": null,
- "dwell_time_seconds": null,
- "axis_positions": [ ],
- "created_at": null,
- "updated_at": null,
- "roi_zoom": null
}
], - "created_at": {
- "seconds": "string",
- "nanos": 0
}, - "updated_at": {
- "seconds": "string",
- "nanos": 0
}, - "capture_all_images": true,
- "enabled": true
}
], - "actions": [
- "string"
], - "model": {
- "base_nn": {
- "type": "string",
- "product_type": "string",
- "version": "string",
- "python_version": "string",
- "tensorflow_version": "string",
- "model_name": "string",
- "model_type": "string",
- "model_category": "string"
}, - "timestamp": {
- "seconds": "string",
- "nanos": 0
}, - "configuration": {
- "duration": 0,
- "sample_size": 0,
- "image_height": 0,
- "image_width": 0,
- "image_channels": 0,
- "batch_size": 0,
- "validation_split": 0,
- "training_steps": 0,
- "epochs": 0,
- "tfloat16": true
}, - "data_dir": "string",
- "assembly_id": {
- "uuid": "string"
}, - "augmentation": {
- "id": "string",
- "assembly_id": {
- "uuid": "string"
}, - "lighting_aug": 0,
- "placement_aug": 0,
- "color_aug": 0,
- "prompt": "string",
- "negative_prompt": "string"
}, - "occlusion": true,
- "step_id": "string",
- "training_speed": 0,
- "name": "string"
}, - "data_ops": "string",
- "step_type": "string",
- "status_id": "string",
- "capture_timestamp": {
- "seconds": "string",
- "nanos": 0
}, - "port": {
- "port": "string",
- "name": "string",
- "type": "string",
- "timeout": 0,
- "chip": "string",
- "line": 0,
- "duration": 0,
- "input_type": "string",
- "output_type": "string"
}, - "tightening_program": {
- "torque": {
- "target": 0,
- "max": 0,
- "min": 0,
- "unit": "string"
}, - "angle": {
- "target": 0,
- "max": 0,
- "min": 0,
- "threshold": 0,
- "verify": true,
- "angle_check_start_threshold": 0
}, - "speed": {
- "run_speed": "string",
- "final_speed": "string",
- "downshift_threshold": "string",
- "downshift_enabled": true,
- "unit": "string"
}, - "operation_mode": "string",
- "angle_start_mode": "string",
- "max_time": 0,
- "min_time": 0,
- "reverse_allowed": true,
- "reverse_speed": 0,
- "max_reverse_torque": 0,
- "program_nr": 0,
- "description": "string",
- "step_count": 0,
- "permanent": true,
- "vendor_parameters": [
- {
- "key": "string",
- "value": "string"
}
]
}, - "system_options": {
- "use_alignment_ai": true,
- "alignment_mode": "string",
- "alignment_ai_threshold": 0,
- "use_multistep_model": true,
- "auto_advance_video_only": true
}, - "from_assembly": {
- "id": {
- "uuid": "string"
}, - "name": "string",
- "description": "string",
- "image_link": "string",
- "tenant_id": "string",
- "training_complete": true,
- "revision_id": {
- "uuid": "string"
}, - "parent_id": {
- "uuid": "string"
}, - "revision": 0,
- "steps": {
- "steps": [
- {
- "id": null,
- "name": null,
- "description": null,
- "image_link": null,
- "video_link": null,
- "overlay_link": null,
- "minimum_predict": null,
- "benchmark": null,
- "roi_zoom": null,
- "camera_id": null,
- "perspective_change": null,
- "mask_perspective": null,
- "training_required": null,
- "classes": [ ],
- "assembly_id": null,
- "next_step_id": null,
- "previous_step_id": null,
- "options": null,
- "step_data": [ ],
- "step_detection_targets": [ ],
- "step_motions": [ ]
}
]
}, - "augmentation": {
- "id": "string",
- "assembly_id": {
- "uuid": "string"
}, - "lighting_aug": 0,
- "placement_aug": 0,
- "color_aug": 0,
- "prompt": "string",
- "negative_prompt": "string"
}, - "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}, - "classes": [
- "string"
], - "product_version": "string",
- "model_version": "string",
- "published": true,
- "approver": "string",
- "notes": "string",
- "record_videos": true,
- "last_edited": {
- "seconds": "string",
- "nanos": 0
}, - "active": true
}, - "csv_rows": [
- "string"
], - "enable_data_synthesis_beta": true,
- "enable_occlusion_detection": true,
- "enable_multistep_model": true,
- "model_library": {
- "model": {
- "base_nn": {
- "type": "string",
- "product_type": "string",
- "version": "string",
- "python_version": "string",
- "tensorflow_version": "string",
- "model_name": "string",
- "model_type": "string",
- "model_category": "string"
}, - "timestamp": {
- "seconds": "string",
- "nanos": 0
}, - "configuration": {
- "duration": 0,
- "sample_size": 0,
- "image_height": 0,
- "image_width": 0,
- "image_channels": 0,
- "batch_size": 0,
- "validation_split": 0,
- "training_steps": 0,
- "epochs": 0,
- "tfloat16": true
}, - "data_dir": "string",
- "assembly_id": {
- "uuid": "string"
}, - "augmentation": {
- "id": "string",
- "assembly_id": {
- "uuid": null
}, - "lighting_aug": 0,
- "placement_aug": 0,
- "color_aug": 0,
- "prompt": "string",
- "negative_prompt": "string"
}, - "occlusion": true,
- "step_id": "string",
- "training_speed": 0,
- "name": "string"
}, - "detection_targets": [
- {
- "id": 0,
- "uuid": "string",
- "model_id": 0,
- "label": "string",
- "display_id": "string",
- "part_number": "string",
- "description": "string",
- "linked_assemblies": [
- null
], - "created_at": {
- "seconds": null,
- "nanos": null
}, - "updated_at": {
- "seconds": null,
- "nanos": null
}, - "image_samples": [
- null
], - "trained": true,
- "pending": true
}
], - "image_samples": [
- {
- "id": 0,
- "uuid": "string",
- "detection_target_id": 0,
- "file_path": "string",
- "width": 0,
- "height": 0,
- "capture_date": {
- "seconds": null,
- "nanos": null
}, - "capture_conditions": "string",
- "created_at": {
- "seconds": null,
- "nanos": null
}, - "augmented": true,
- "correct": true,
- "label": "string",
- "annotations": [
- null
]
}
], - "annotations": [
- {
- "id": 0,
- "uuid": "string",
- "image_sample_id": 0,
- "bbox_x": 0,
- "bbox_y": 0,
- "bbox_width": 0,
- "bbox_height": 0,
- "created_at": {
- "seconds": null,
- "nanos": null
}, - "confidence": 0,
- "similarity": 0,
- "center_x": 0,
- "center_y": 0,
- "category": "string",
- "label": "string"
}
], - "neural_net": {
- "type": "string",
- "product_type": "string",
- "version": "string",
- "python_version": "string",
- "tensorflow_version": "string",
- "model_name": "string",
- "model_type": "string",
- "model_category": "string"
}, - "errors": {
- "model": {
- "base_nn": {
- "type": null,
- "product_type": null,
- "version": null,
- "python_version": null,
- "tensorflow_version": null,
- "model_name": null,
- "model_type": null,
- "model_category": null
}, - "timestamp": {
- "seconds": null,
- "nanos": null
}, - "configuration": {
- "duration": null,
- "sample_size": null,
- "image_height": null,
- "image_width": null,
- "image_channels": null,
- "batch_size": null,
- "validation_split": null,
- "training_steps": null,
- "epochs": null,
- "tfloat16": null
}, - "data_dir": "string",
- "assembly_id": {
- "uuid": null
}, - "augmentation": {
- "id": null,
- "assembly_id": null,
- "lighting_aug": null,
- "placement_aug": null,
- "color_aug": null,
- "prompt": null,
- "negative_prompt": null
}, - "occlusion": true,
- "step_id": "string",
- "training_speed": 0,
- "name": "string"
}, - "detection_targets": [
- {
- "id": null,
- "uuid": null,
- "model_id": null,
- "label": null,
- "display_id": null,
- "part_number": null,
- "description": null,
- "linked_assemblies": [ ],
- "created_at": null,
- "updated_at": null,
- "image_samples": [ ],
- "trained": null,
- "pending": null
}
], - "image_samples": [
- {
- "id": null,
- "uuid": null,
- "detection_target_id": null,
- "file_path": null,
- "width": null,
- "height": null,
- "capture_date": null,
- "capture_conditions": null,
- "created_at": null,
- "augmented": null,
- "correct": null,
- "label": null,
- "annotations": [ ]
}
], - "annotations": [
- {
- "id": null,
- "uuid": null,
- "image_sample_id": null,
- "bbox_x": null,
- "bbox_y": null,
- "bbox_width": null,
- "bbox_height": null,
- "created_at": null,
- "confidence": null,
- "similarity": null,
- "center_x": null,
- "center_y": null,
- "category": null,
- "label": null
}
]
}
}, - "segmentation": {
- "image_sample_id": 0,
- "click_points": [
- {
- "x": 0,
- "y": 0
}
], - "click_labels": [
- {
- "label": 0
}
], - "mask": null,
- "bounding_box": {
- "x1": 0,
- "y1": 0,
- "x2": 0,
- "y2": 0
}, - "mode": "string",
- "category": "string"
}, - "augmentation": {
- "id": "string",
- "assembly_id": {
- "uuid": "string"
}, - "lighting_aug": 0,
- "placement_aug": 0,
- "color_aug": 0,
- "prompt": "string",
- "negative_prompt": "string"
}, - "data_dir": "string"
}, - "train_request": {
- "step_roi_zoom": "string",
- "step_description": "string",
- "step_camera_name": "string",
- "step_minimum_predict": 0,
- "step_benchmark": 0,
- "export": "string",
- "complete_callback": "string",
- "init_task_num": 0,
- "prev_label": "string",
- "create_overlay": true,
- "overlay_rectangles": [
- "string"
], - "cancel_current_training": true,
- "skip_video_conversion": true,
- "step_index": 0,
- "label_index": 0,
- "assembly": {
- "id": {
- "uuid": "string"
}, - "name": "string",
- "description": "string",
- "image_link": "string",
- "tenant_id": "string",
- "training_complete": true,
- "revision_id": {
- "uuid": "string"
}, - "parent_id": {
- "uuid": "string"
}, - "revision": 0,
- "steps": {
- "steps": [
- {
- "id": null,
- "name": null,
- "description": null,
- "image_link": null,
- "video_link": null,
- "overlay_link": null,
- "minimum_predict": null,
- "benchmark": null,
- "roi_zoom": null,
- "camera_id": null,
- "perspective_change": null,
- "mask_perspective": null,
- "training_required": null,
- "classes": [ ],
- "assembly_id": null,
- "next_step_id": null,
- "previous_step_id": null,
- "options": null,
- "step_data": [ ],
- "step_detection_targets": [ ],
- "step_motions": [ ]
}
]
}, - "augmentation": {
- "id": "string",
- "assembly_id": {
- "uuid": "string"
}, - "lighting_aug": 0,
- "placement_aug": 0,
- "color_aug": 0,
- "prompt": "string",
- "negative_prompt": "string"
}, - "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}, - "classes": [
- "string"
], - "product_version": "string",
- "model_version": "string",
- "published": true,
- "approver": "string",
- "notes": "string",
- "record_videos": true,
- "last_edited": {
- "seconds": "string",
- "nanos": 0
}, - "active": true
}, - "data_type": "string",
- "step_data_infos": [
- {
- "id": "string",
- "label": "string",
- "link": "string",
- "value": "string",
- "step_data_id": "string",
- "type": "string",
- "name": "string",
- "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": null,
- "nanos": null
}, - "end_date": {
- "seconds": null,
- "nanos": null
}
}
}
], - "new_step_index": 0,
- "finalize_only": true,
- "assembly_revision": {
- "id": {
- "uuid": "string"
}, - "name": "string",
- "description": "string",
- "image_link": "string",
- "tenant_id": "string",
- "training_complete": true,
- "active_revision": "string",
- "published": true,
- "assembly": {
- "id": {
- "uuid": "string"
}, - "name": "string",
- "description": "string",
- "image_link": "string",
- "tenant_id": "string",
- "training_complete": true,
- "revision_id": {
- "uuid": "string"
}, - "parent_id": {
- "uuid": "string"
}, - "revision": 0,
- "steps": {
- "steps": [
- null
]
}, - "augmentation": {
- "id": "string",
- "assembly_id": {
- "uuid": null
}, - "lighting_aug": 0,
- "placement_aug": 0,
- "color_aug": 0,
- "prompt": "string",
- "negative_prompt": "string"
}, - "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": null,
- "nanos": null
}, - "end_date": {
- "seconds": null,
- "nanos": null
}
}, - "classes": [
- "string"
], - "product_version": "string",
- "model_version": "string",
- "published": true,
- "approver": "string",
- "notes": "string",
- "record_videos": true,
- "last_edited": {
- "seconds": "string",
- "nanos": 0
}, - "active": true
}
}, - "record_step": true,
- "ocr_capture_variable_infos": [
- {
- "variable_name": "string",
- "bounding_box": "string",
- "original_text_value": "string",
- "step_number": "string"
}
], - "step_tolerance": 0,
- "revert": true,
- "step_detection_targets": [
- {
- "id": 0,
- "step_id": 0,
- "detection_target_id": 0,
- "detection_target_uuid": "string",
- "bbox_x": 0,
- "bbox_y": 0,
- "bbox_width": 0,
- "bbox_height": 0,
- "description": "string",
- "score": 0,
- "created_at": {
- "seconds": "string",
- "nanos": 0
}, - "updated_at": {
- "seconds": "string",
- "nanos": 0
}, - "manually_adjusted": true,
- "correct": true,
- "part_number": "string",
- "display_id": "string",
- "label": "string",
- "detection_target": {
- "id": 0,
- "uuid": "string",
- "model_id": 0,
- "label": "string",
- "display_id": "string",
- "part_number": "string",
- "description": "string",
- "linked_assemblies": [
- null
], - "created_at": {
- "seconds": null,
- "nanos": null
}, - "updated_at": {
- "seconds": null,
- "nanos": null
}, - "image_samples": [
- null
], - "trained": true,
- "pending": true
}
}
], - "prevent_revision": true,
- "step_motions": [
- {
- "id": 0,
- "step_id": 0,
- "motion_type": "string",
- "sequence_order": 0,
- "step_positions": [
- {
- "id": null,
- "step_motion_id": null,
- "device_id": null,
- "position_name": null,
- "sequence_order": null,
- "dwell_time_seconds": null,
- "axis_positions": [ ],
- "created_at": null,
- "updated_at": null,
- "roi_zoom": null
}
], - "created_at": {
- "seconds": "string",
- "nanos": 0
}, - "updated_at": {
- "seconds": "string",
- "nanos": 0
}, - "capture_all_images": true,
- "enabled": true
}
], - "actions": [
- "string"
], - "model": {
- "base_nn": {
- "type": "string",
- "product_type": "string",
- "version": "string",
- "python_version": "string",
- "tensorflow_version": "string",
- "model_name": "string",
- "model_type": "string",
- "model_category": "string"
}, - "timestamp": {
- "seconds": "string",
- "nanos": 0
}, - "configuration": {
- "duration": 0,
- "sample_size": 0,
- "image_height": 0,
- "image_width": 0,
- "image_channels": 0,
- "batch_size": 0,
- "validation_split": 0,
- "training_steps": 0,
- "epochs": 0,
- "tfloat16": true
}, - "data_dir": "string",
- "assembly_id": {
- "uuid": "string"
}, - "augmentation": {
- "id": "string",
- "assembly_id": {
- "uuid": "string"
}, - "lighting_aug": 0,
- "placement_aug": 0,
- "color_aug": 0,
- "prompt": "string",
- "negative_prompt": "string"
}, - "occlusion": true,
- "step_id": "string",
- "training_speed": 0,
- "name": "string"
}, - "data_ops": "string",
- "step_type": "string",
- "status_id": "string",
- "capture_timestamp": {
- "seconds": "string",
- "nanos": 0
}, - "port": {
- "port": "string",
- "name": "string",
- "type": "string",
- "timeout": 0,
- "chip": "string",
- "line": 0,
- "duration": 0,
- "input_type": "string",
- "output_type": "string"
}, - "tightening_program": {
- "torque": {
- "target": 0,
- "max": 0,
- "min": 0,
- "unit": "string"
}, - "angle": {
- "target": 0,
- "max": 0,
- "min": 0,
- "threshold": 0,
- "verify": true,
- "angle_check_start_threshold": 0
}, - "speed": {
- "run_speed": "string",
- "final_speed": "string",
- "downshift_threshold": "string",
- "downshift_enabled": true,
- "unit": "string"
}, - "operation_mode": "string",
- "angle_start_mode": "string",
- "max_time": 0,
- "min_time": 0,
- "reverse_allowed": true,
- "reverse_speed": 0,
- "max_reverse_torque": 0,
- "program_nr": 0,
- "description": "string",
- "step_count": 0,
- "permanent": true,
- "vendor_parameters": [
- {
- "key": "string",
- "value": "string"
}
]
}, - "system_options": {
- "use_alignment_ai": true,
- "alignment_mode": "string",
- "alignment_ai_threshold": 0,
- "use_multistep_model": true,
- "auto_advance_video_only": true
}, - "from_assembly": {
- "id": {
- "uuid": "string"
}, - "name": "string",
- "description": "string",
- "image_link": "string",
- "tenant_id": "string",
- "training_complete": true,
- "revision_id": {
- "uuid": "string"
}, - "parent_id": {
- "uuid": "string"
}, - "revision": 0,
- "steps": {
- "steps": [
- {
- "id": null,
- "name": null,
- "description": null,
- "image_link": null,
- "video_link": null,
- "overlay_link": null,
- "minimum_predict": null,
- "benchmark": null,
- "roi_zoom": null,
- "camera_id": null,
- "perspective_change": null,
- "mask_perspective": null,
- "training_required": null,
- "classes": [ ],
- "assembly_id": null,
- "next_step_id": null,
- "previous_step_id": null,
- "options": null,
- "step_data": [ ],
- "step_detection_targets": [ ],
- "step_motions": [ ]
}
]
}, - "augmentation": {
- "id": "string",
- "assembly_id": {
- "uuid": "string"
}, - "lighting_aug": 0,
- "placement_aug": 0,
- "color_aug": 0,
- "prompt": "string",
- "negative_prompt": "string"
}, - "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}, - "classes": [
- "string"
], - "product_version": "string",
- "model_version": "string",
- "published": true,
- "approver": "string",
- "notes": "string",
- "record_videos": true,
- "last_edited": {
- "seconds": "string",
- "nanos": 0
}, - "active": true
}, - "csv_rows": [
- "string"
], - "enable_data_synthesis_beta": true,
- "enable_occlusion_detection": true,
- "enable_multistep_model": true,
- "model_library": {
- "model": {
- "base_nn": {
- "type": "string",
- "product_type": "string",
- "version": "string",
- "python_version": "string",
- "tensorflow_version": "string",
- "model_name": "string",
- "model_type": "string",
- "model_category": "string"
}, - "timestamp": {
- "seconds": "string",
- "nanos": 0
}, - "configuration": {
- "duration": 0,
- "sample_size": 0,
- "image_height": 0,
- "image_width": 0,
- "image_channels": 0,
- "batch_size": 0,
- "validation_split": 0,
- "training_steps": 0,
- "epochs": 0,
- "tfloat16": true
}, - "data_dir": "string",
- "assembly_id": {
- "uuid": "string"
}, - "augmentation": {
- "id": "string",
- "assembly_id": {
- "uuid": null
}, - "lighting_aug": 0,
- "placement_aug": 0,
- "color_aug": 0,
- "prompt": "string",
- "negative_prompt": "string"
}, - "occlusion": true,
- "step_id": "string",
- "training_speed": 0,
- "name": "string"
}, - "detection_targets": [
- {
- "id": 0,
- "uuid": "string",
- "model_id": 0,
- "label": "string",
- "display_id": "string",
- "part_number": "string",
- "description": "string",
- "linked_assemblies": [
- null
], - "created_at": {
- "seconds": null,
- "nanos": null
}, - "updated_at": {
- "seconds": null,
- "nanos": null
}, - "image_samples": [
- null
], - "trained": true,
- "pending": true
}
], - "image_samples": [
- {
- "id": 0,
- "uuid": "string",
- "detection_target_id": 0,
- "file_path": "string",
- "width": 0,
- "height": 0,
- "capture_date": {
- "seconds": null,
- "nanos": null
}, - "capture_conditions": "string",
- "created_at": {
- "seconds": null,
- "nanos": null
}, - "augmented": true,
- "correct": true,
- "label": "string",
- "annotations": [
- null
]
}
], - "annotations": [
- {
- "id": 0,
- "uuid": "string",
- "image_sample_id": 0,
- "bbox_x": 0,
- "bbox_y": 0,
- "bbox_width": 0,
- "bbox_height": 0,
- "created_at": {
- "seconds": null,
- "nanos": null
}, - "confidence": 0,
- "similarity": 0,
- "center_x": 0,
- "center_y": 0,
- "category": "string",
- "label": "string"
}
], - "neural_net": {
- "type": "string",
- "product_type": "string",
- "version": "string",
- "python_version": "string",
- "tensorflow_version": "string",
- "model_name": "string",
- "model_type": "string",
- "model_category": "string"
}, - "errors": {
- "model": {
- "base_nn": {
- "type": null,
- "product_type": null,
- "version": null,
- "python_version": null,
- "tensorflow_version": null,
- "model_name": null,
- "model_type": null,
- "model_category": null
}, - "timestamp": {
- "seconds": null,
- "nanos": null
}, - "configuration": {
- "duration": null,
- "sample_size": null,
- "image_height": null,
- "image_width": null,
- "image_channels": null,
- "batch_size": null,
- "validation_split": null,
- "training_steps": null,
- "epochs": null,
- "tfloat16": null
}, - "data_dir": "string",
- "assembly_id": {
- "uuid": null
}, - "augmentation": {
- "id": null,
- "assembly_id": null,
- "lighting_aug": null,
- "placement_aug": null,
- "color_aug": null,
- "prompt": null,
- "negative_prompt": null
}, - "occlusion": true,
- "step_id": "string",
- "training_speed": 0,
- "name": "string"
}, - "detection_targets": [
- {
- "id": null,
- "uuid": null,
- "model_id": null,
- "label": null,
- "display_id": null,
- "part_number": null,
- "description": null,
- "linked_assemblies": [ ],
- "created_at": null,
- "updated_at": null,
- "image_samples": [ ],
- "trained": null,
- "pending": null
}
], - "image_samples": [
- {
- "id": null,
- "uuid": null,
- "detection_target_id": null,
- "file_path": null,
- "width": null,
- "height": null,
- "capture_date": null,
- "capture_conditions": null,
- "created_at": null,
- "augmented": null,
- "correct": null,
- "label": null,
- "annotations": [ ]
}
], - "annotations": [
- {
- "id": null,
- "uuid": null,
- "image_sample_id": null,
- "bbox_x": null,
- "bbox_y": null,
- "bbox_width": null,
- "bbox_height": null,
- "created_at": null,
- "confidence": null,
- "similarity": null,
- "center_x": null,
- "center_y": null,
- "category": null,
- "label": null
}
]
}
}, - "segmentation": {
- "image_sample_id": 0,
- "click_points": [
- {
- "x": 0,
- "y": 0
}
], - "click_labels": [
- {
- "label": 0
}
], - "mask": null,
- "bounding_box": {
- "x1": 0,
- "y1": 0,
- "x2": 0,
- "y2": 0
}, - "mode": "string",
- "category": "string"
}, - "augmentation": {
- "id": "string",
- "assembly_id": {
- "uuid": "string"
}, - "lighting_aug": 0,
- "placement_aug": 0,
- "color_aug": 0,
- "prompt": "string",
- "negative_prompt": "string"
}, - "data_dir": "string"
}
}, - "complete_callback": "string"
}, - "service": "string",
- "status": {
- "code": "string",
- "product_version": "string",
- "msg": "string",
- "count": 0,
- "target": "string",
- "err_code": "string"
}
}
]
}Gets all scheduled training sessions of a certain status
Possible status values are "queued" and "ended".
path Parameters
| status required | string |
Responses
Response samples
- 200
{- "status": "string",
- "msg": [
- {
- "id": "string",
- "name": "string",
- "description": "string",
- "action": {
- "when": "string",
- "function": "string",
- "edit_train_request": {
- "edit_request": {
- "step_roi_zoom": "string",
- "step_description": "string",
- "step_camera_name": "string",
- "step_minimum_predict": 0,
- "step_benchmark": 0,
- "export": "string",
- "complete_callback": "string",
- "init_task_num": 0,
- "prev_label": "string",
- "create_overlay": true,
- "overlay_rectangles": [
- "string"
], - "cancel_current_training": true,
- "skip_video_conversion": true,
- "step_index": 0,
- "label_index": 0,
- "assembly": {
- "id": {
- "uuid": "string"
}, - "name": "string",
- "description": "string",
- "image_link": "string",
- "tenant_id": "string",
- "training_complete": true,
- "revision_id": {
- "uuid": "string"
}, - "parent_id": {
- "uuid": "string"
}, - "revision": 0,
- "steps": {
- "steps": [
- {
- "id": null,
- "name": null,
- "description": null,
- "image_link": null,
- "video_link": null,
- "overlay_link": null,
- "minimum_predict": null,
- "benchmark": null,
- "roi_zoom": null,
- "camera_id": null,
- "perspective_change": null,
- "mask_perspective": null,
- "training_required": null,
- "classes": [ ],
- "assembly_id": null,
- "next_step_id": null,
- "previous_step_id": null,
- "options": null,
- "step_data": [ ],
- "step_detection_targets": [ ],
- "step_motions": [ ]
}
]
}, - "augmentation": {
- "id": "string",
- "assembly_id": {
- "uuid": "string"
}, - "lighting_aug": 0,
- "placement_aug": 0,
- "color_aug": 0,
- "prompt": "string",
- "negative_prompt": "string"
}, - "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}, - "classes": [
- "string"
], - "product_version": "string",
- "model_version": "string",
- "published": true,
- "approver": "string",
- "notes": "string",
- "record_videos": true,
- "last_edited": {
- "seconds": "string",
- "nanos": 0
}, - "active": true
}, - "data_type": "string",
- "step_data_infos": [
- {
- "id": "string",
- "label": "string",
- "link": "string",
- "value": "string",
- "step_data_id": "string",
- "type": "string",
- "name": "string",
- "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": null,
- "nanos": null
}, - "end_date": {
- "seconds": null,
- "nanos": null
}
}
}
], - "new_step_index": 0,
- "finalize_only": true,
- "assembly_revision": {
- "id": {
- "uuid": "string"
}, - "name": "string",
- "description": "string",
- "image_link": "string",
- "tenant_id": "string",
- "training_complete": true,
- "active_revision": "string",
- "published": true,
- "assembly": {
- "id": {
- "uuid": "string"
}, - "name": "string",
- "description": "string",
- "image_link": "string",
- "tenant_id": "string",
- "training_complete": true,
- "revision_id": {
- "uuid": "string"
}, - "parent_id": {
- "uuid": "string"
}, - "revision": 0,
- "steps": {
- "steps": [
- null
]
}, - "augmentation": {
- "id": "string",
- "assembly_id": {
- "uuid": null
}, - "lighting_aug": 0,
- "placement_aug": 0,
- "color_aug": 0,
- "prompt": "string",
- "negative_prompt": "string"
}, - "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": null,
- "nanos": null
}, - "end_date": {
- "seconds": null,
- "nanos": null
}
}, - "classes": [
- "string"
], - "product_version": "string",
- "model_version": "string",
- "published": true,
- "approver": "string",
- "notes": "string",
- "record_videos": true,
- "last_edited": {
- "seconds": "string",
- "nanos": 0
}, - "active": true
}
}, - "record_step": true,
- "ocr_capture_variable_infos": [
- {
- "variable_name": "string",
- "bounding_box": "string",
- "original_text_value": "string",
- "step_number": "string"
}
], - "step_tolerance": 0,
- "revert": true,
- "step_detection_targets": [
- {
- "id": 0,
- "step_id": 0,
- "detection_target_id": 0,
- "detection_target_uuid": "string",
- "bbox_x": 0,
- "bbox_y": 0,
- "bbox_width": 0,
- "bbox_height": 0,
- "description": "string",
- "score": 0,
- "created_at": {
- "seconds": "string",
- "nanos": 0
}, - "updated_at": {
- "seconds": "string",
- "nanos": 0
}, - "manually_adjusted": true,
- "correct": true,
- "part_number": "string",
- "display_id": "string",
- "label": "string",
- "detection_target": {
- "id": 0,
- "uuid": "string",
- "model_id": 0,
- "label": "string",
- "display_id": "string",
- "part_number": "string",
- "description": "string",
- "linked_assemblies": [
- null
], - "created_at": {
- "seconds": null,
- "nanos": null
}, - "updated_at": {
- "seconds": null,
- "nanos": null
}, - "image_samples": [
- null
], - "trained": true,
- "pending": true
}
}
], - "prevent_revision": true,
- "step_motions": [
- {
- "id": 0,
- "step_id": 0,
- "motion_type": "string",
- "sequence_order": 0,
- "step_positions": [
- {
- "id": null,
- "step_motion_id": null,
- "device_id": null,
- "position_name": null,
- "sequence_order": null,
- "dwell_time_seconds": null,
- "axis_positions": [ ],
- "created_at": null,
- "updated_at": null,
- "roi_zoom": null
}
], - "created_at": {
- "seconds": "string",
- "nanos": 0
}, - "updated_at": {
- "seconds": "string",
- "nanos": 0
}, - "capture_all_images": true,
- "enabled": true
}
], - "actions": [
- "string"
], - "model": {
- "base_nn": {
- "type": "string",
- "product_type": "string",
- "version": "string",
- "python_version": "string",
- "tensorflow_version": "string",
- "model_name": "string",
- "model_type": "string",
- "model_category": "string"
}, - "timestamp": {
- "seconds": "string",
- "nanos": 0
}, - "configuration": {
- "duration": 0,
- "sample_size": 0,
- "image_height": 0,
- "image_width": 0,
- "image_channels": 0,
- "batch_size": 0,
- "validation_split": 0,
- "training_steps": 0,
- "epochs": 0,
- "tfloat16": true
}, - "data_dir": "string",
- "assembly_id": {
- "uuid": "string"
}, - "augmentation": {
- "id": "string",
- "assembly_id": {
- "uuid": "string"
}, - "lighting_aug": 0,
- "placement_aug": 0,
- "color_aug": 0,
- "prompt": "string",
- "negative_prompt": "string"
}, - "occlusion": true,
- "step_id": "string",
- "training_speed": 0,
- "name": "string"
}, - "data_ops": "string",
- "step_type": "string",
- "status_id": "string",
- "capture_timestamp": {
- "seconds": "string",
- "nanos": 0
}, - "port": {
- "port": "string",
- "name": "string",
- "type": "string",
- "timeout": 0,
- "chip": "string",
- "line": 0,
- "duration": 0,
- "input_type": "string",
- "output_type": "string"
}, - "tightening_program": {
- "torque": {
- "target": 0,
- "max": 0,
- "min": 0,
- "unit": "string"
}, - "angle": {
- "target": 0,
- "max": 0,
- "min": 0,
- "threshold": 0,
- "verify": true,
- "angle_check_start_threshold": 0
}, - "speed": {
- "run_speed": "string",
- "final_speed": "string",
- "downshift_threshold": "string",
- "downshift_enabled": true,
- "unit": "string"
}, - "operation_mode": "string",
- "angle_start_mode": "string",
- "max_time": 0,
- "min_time": 0,
- "reverse_allowed": true,
- "reverse_speed": 0,
- "max_reverse_torque": 0,
- "program_nr": 0,
- "description": "string",
- "step_count": 0,
- "permanent": true,
- "vendor_parameters": [
- {
- "key": "string",
- "value": "string"
}
]
}, - "system_options": {
- "use_alignment_ai": true,
- "alignment_mode": "string",
- "alignment_ai_threshold": 0,
- "use_multistep_model": true,
- "auto_advance_video_only": true
}, - "from_assembly": {
- "id": {
- "uuid": "string"
}, - "name": "string",
- "description": "string",
- "image_link": "string",
- "tenant_id": "string",
- "training_complete": true,
- "revision_id": {
- "uuid": "string"
}, - "parent_id": {
- "uuid": "string"
}, - "revision": 0,
- "steps": {
- "steps": [
- {
- "id": null,
- "name": null,
- "description": null,
- "image_link": null,
- "video_link": null,
- "overlay_link": null,
- "minimum_predict": null,
- "benchmark": null,
- "roi_zoom": null,
- "camera_id": null,
- "perspective_change": null,
- "mask_perspective": null,
- "training_required": null,
- "classes": [ ],
- "assembly_id": null,
- "next_step_id": null,
- "previous_step_id": null,
- "options": null,
- "step_data": [ ],
- "step_detection_targets": [ ],
- "step_motions": [ ]
}
]
}, - "augmentation": {
- "id": "string",
- "assembly_id": {
- "uuid": "string"
}, - "lighting_aug": 0,
- "placement_aug": 0,
- "color_aug": 0,
- "prompt": "string",
- "negative_prompt": "string"
}, - "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}, - "classes": [
- "string"
], - "product_version": "string",
- "model_version": "string",
- "published": true,
- "approver": "string",
- "notes": "string",
- "record_videos": true,
- "last_edited": {
- "seconds": "string",
- "nanos": 0
}, - "active": true
}, - "csv_rows": [
- "string"
], - "enable_data_synthesis_beta": true,
- "enable_occlusion_detection": true,
- "enable_multistep_model": true,
- "model_library": {
- "model": {
- "base_nn": {
- "type": "string",
- "product_type": "string",
- "version": "string",
- "python_version": "string",
- "tensorflow_version": "string",
- "model_name": "string",
- "model_type": "string",
- "model_category": "string"
}, - "timestamp": {
- "seconds": "string",
- "nanos": 0
}, - "configuration": {
- "duration": 0,
- "sample_size": 0,
- "image_height": 0,
- "image_width": 0,
- "image_channels": 0,
- "batch_size": 0,
- "validation_split": 0,
- "training_steps": 0,
- "epochs": 0,
- "tfloat16": true
}, - "data_dir": "string",
- "assembly_id": {
- "uuid": "string"
}, - "augmentation": {
- "id": "string",
- "assembly_id": {
- "uuid": null
}, - "lighting_aug": 0,
- "placement_aug": 0,
- "color_aug": 0,
- "prompt": "string",
- "negative_prompt": "string"
}, - "occlusion": true,
- "step_id": "string",
- "training_speed": 0,
- "name": "string"
}, - "detection_targets": [
- {
- "id": 0,
- "uuid": "string",
- "model_id": 0,
- "label": "string",
- "display_id": "string",
- "part_number": "string",
- "description": "string",
- "linked_assemblies": [
- null
], - "created_at": {
- "seconds": null,
- "nanos": null
}, - "updated_at": {
- "seconds": null,
- "nanos": null
}, - "image_samples": [
- null
], - "trained": true,
- "pending": true
}
], - "image_samples": [
- {
- "id": 0,
- "uuid": "string",
- "detection_target_id": 0,
- "file_path": "string",
- "width": 0,
- "height": 0,
- "capture_date": {
- "seconds": null,
- "nanos": null
}, - "capture_conditions": "string",
- "created_at": {
- "seconds": null,
- "nanos": null
}, - "augmented": true,
- "correct": true,
- "label": "string",
- "annotations": [
- null
]
}
], - "annotations": [
- {
- "id": 0,
- "uuid": "string",
- "image_sample_id": 0,
- "bbox_x": 0,
- "bbox_y": 0,
- "bbox_width": 0,
- "bbox_height": 0,
- "created_at": {
- "seconds": null,
- "nanos": null
}, - "confidence": 0,
- "similarity": 0,
- "center_x": 0,
- "center_y": 0,
- "category": "string",
- "label": "string"
}
], - "neural_net": {
- "type": "string",
- "product_type": "string",
- "version": "string",
- "python_version": "string",
- "tensorflow_version": "string",
- "model_name": "string",
- "model_type": "string",
- "model_category": "string"
}, - "errors": {
- "model": {
- "base_nn": {
- "type": null,
- "product_type": null,
- "version": null,
- "python_version": null,
- "tensorflow_version": null,
- "model_name": null,
- "model_type": null,
- "model_category": null
}, - "timestamp": {
- "seconds": null,
- "nanos": null
}, - "configuration": {
- "duration": null,
- "sample_size": null,
- "image_height": null,
- "image_width": null,
- "image_channels": null,
- "batch_size": null,
- "validation_split": null,
- "training_steps": null,
- "epochs": null,
- "tfloat16": null
}, - "data_dir": "string",
- "assembly_id": {
- "uuid": null
}, - "augmentation": {
- "id": null,
- "assembly_id": null,
- "lighting_aug": null,
- "placement_aug": null,
- "color_aug": null,
- "prompt": null,
- "negative_prompt": null
}, - "occlusion": true,
- "step_id": "string",
- "training_speed": 0,
- "name": "string"
}, - "detection_targets": [
- {
- "id": null,
- "uuid": null,
- "model_id": null,
- "label": null,
- "display_id": null,
- "part_number": null,
- "description": null,
- "linked_assemblies": [ ],
- "created_at": null,
- "updated_at": null,
- "image_samples": [ ],
- "trained": null,
- "pending": null
}
], - "image_samples": [
- {
- "id": null,
- "uuid": null,
- "detection_target_id": null,
- "file_path": null,
- "width": null,
- "height": null,
- "capture_date": null,
- "capture_conditions": null,
- "created_at": null,
- "augmented": null,
- "correct": null,
- "label": null,
- "annotations": [ ]
}
], - "annotations": [
- {
- "id": null,
- "uuid": null,
- "image_sample_id": null,
- "bbox_x": null,
- "bbox_y": null,
- "bbox_width": null,
- "bbox_height": null,
- "created_at": null,
- "confidence": null,
- "similarity": null,
- "center_x": null,
- "center_y": null,
- "category": null,
- "label": null
}
]
}
}, - "segmentation": {
- "image_sample_id": 0,
- "click_points": [
- {
- "x": 0,
- "y": 0
}
], - "click_labels": [
- {
- "label": 0
}
], - "mask": null,
- "bounding_box": {
- "x1": 0,
- "y1": 0,
- "x2": 0,
- "y2": 0
}, - "mode": "string",
- "category": "string"
}, - "augmentation": {
- "id": "string",
- "assembly_id": {
- "uuid": "string"
}, - "lighting_aug": 0,
- "placement_aug": 0,
- "color_aug": 0,
- "prompt": "string",
- "negative_prompt": "string"
}, - "data_dir": "string"
}, - "train_request": {
- "step_roi_zoom": "string",
- "step_description": "string",
- "step_camera_name": "string",
- "step_minimum_predict": 0,
- "step_benchmark": 0,
- "export": "string",
- "complete_callback": "string",
- "init_task_num": 0,
- "prev_label": "string",
- "create_overlay": true,
- "overlay_rectangles": [
- "string"
], - "cancel_current_training": true,
- "skip_video_conversion": true,
- "step_index": 0,
- "label_index": 0,
- "assembly": {
- "id": {
- "uuid": "string"
}, - "name": "string",
- "description": "string",
- "image_link": "string",
- "tenant_id": "string",
- "training_complete": true,
- "revision_id": {
- "uuid": "string"
}, - "parent_id": {
- "uuid": "string"
}, - "revision": 0,
- "steps": {
- "steps": [
- {
- "id": null,
- "name": null,
- "description": null,
- "image_link": null,
- "video_link": null,
- "overlay_link": null,
- "minimum_predict": null,
- "benchmark": null,
- "roi_zoom": null,
- "camera_id": null,
- "perspective_change": null,
- "mask_perspective": null,
- "training_required": null,
- "classes": [ ],
- "assembly_id": null,
- "next_step_id": null,
- "previous_step_id": null,
- "options": null,
- "step_data": [ ],
- "step_detection_targets": [ ],
- "step_motions": [ ]
}
]
}, - "augmentation": {
- "id": "string",
- "assembly_id": {
- "uuid": "string"
}, - "lighting_aug": 0,
- "placement_aug": 0,
- "color_aug": 0,
- "prompt": "string",
- "negative_prompt": "string"
}, - "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}, - "classes": [
- "string"
], - "product_version": "string",
- "model_version": "string",
- "published": true,
- "approver": "string",
- "notes": "string",
- "record_videos": true,
- "last_edited": {
- "seconds": "string",
- "nanos": 0
}, - "active": true
}, - "data_type": "string",
- "step_data_infos": [
- {
- "id": "string",
- "label": "string",
- "link": "string",
- "value": "string",
- "step_data_id": "string",
- "type": "string",
- "name": "string",
- "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": null,
- "nanos": null
}, - "end_date": {
- "seconds": null,
- "nanos": null
}
}
}
], - "new_step_index": 0,
- "finalize_only": true,
- "assembly_revision": {
- "id": {
- "uuid": "string"
}, - "name": "string",
- "description": "string",
- "image_link": "string",
- "tenant_id": "string",
- "training_complete": true,
- "active_revision": "string",
- "published": true,
- "assembly": {
- "id": {
- "uuid": "string"
}, - "name": "string",
- "description": "string",
- "image_link": "string",
- "tenant_id": "string",
- "training_complete": true,
- "revision_id": {
- "uuid": "string"
}, - "parent_id": {
- "uuid": "string"
}, - "revision": 0,
- "steps": {
- "steps": [
- null
]
}, - "augmentation": {
- "id": "string",
- "assembly_id": {
- "uuid": null
}, - "lighting_aug": 0,
- "placement_aug": 0,
- "color_aug": 0,
- "prompt": "string",
- "negative_prompt": "string"
}, - "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": null,
- "nanos": null
}, - "end_date": {
- "seconds": null,
- "nanos": null
}
}, - "classes": [
- "string"
], - "product_version": "string",
- "model_version": "string",
- "published": true,
- "approver": "string",
- "notes": "string",
- "record_videos": true,
- "last_edited": {
- "seconds": "string",
- "nanos": 0
}, - "active": true
}
}, - "record_step": true,
- "ocr_capture_variable_infos": [
- {
- "variable_name": "string",
- "bounding_box": "string",
- "original_text_value": "string",
- "step_number": "string"
}
], - "step_tolerance": 0,
- "revert": true,
- "step_detection_targets": [
- {
- "id": 0,
- "step_id": 0,
- "detection_target_id": 0,
- "detection_target_uuid": "string",
- "bbox_x": 0,
- "bbox_y": 0,
- "bbox_width": 0,
- "bbox_height": 0,
- "description": "string",
- "score": 0,
- "created_at": {
- "seconds": "string",
- "nanos": 0
}, - "updated_at": {
- "seconds": "string",
- "nanos": 0
}, - "manually_adjusted": true,
- "correct": true,
- "part_number": "string",
- "display_id": "string",
- "label": "string",
- "detection_target": {
- "id": 0,
- "uuid": "string",
- "model_id": 0,
- "label": "string",
- "display_id": "string",
- "part_number": "string",
- "description": "string",
- "linked_assemblies": [
- null
], - "created_at": {
- "seconds": null,
- "nanos": null
}, - "updated_at": {
- "seconds": null,
- "nanos": null
}, - "image_samples": [
- null
], - "trained": true,
- "pending": true
}
}
], - "prevent_revision": true,
- "step_motions": [
- {
- "id": 0,
- "step_id": 0,
- "motion_type": "string",
- "sequence_order": 0,
- "step_positions": [
- {
- "id": null,
- "step_motion_id": null,
- "device_id": null,
- "position_name": null,
- "sequence_order": null,
- "dwell_time_seconds": null,
- "axis_positions": [ ],
- "created_at": null,
- "updated_at": null,
- "roi_zoom": null
}
], - "created_at": {
- "seconds": "string",
- "nanos": 0
}, - "updated_at": {
- "seconds": "string",
- "nanos": 0
}, - "capture_all_images": true,
- "enabled": true
}
], - "actions": [
- "string"
], - "model": {
- "base_nn": {
- "type": "string",
- "product_type": "string",
- "version": "string",
- "python_version": "string",
- "tensorflow_version": "string",
- "model_name": "string",
- "model_type": "string",
- "model_category": "string"
}, - "timestamp": {
- "seconds": "string",
- "nanos": 0
}, - "configuration": {
- "duration": 0,
- "sample_size": 0,
- "image_height": 0,
- "image_width": 0,
- "image_channels": 0,
- "batch_size": 0,
- "validation_split": 0,
- "training_steps": 0,
- "epochs": 0,
- "tfloat16": true
}, - "data_dir": "string",
- "assembly_id": {
- "uuid": "string"
}, - "augmentation": {
- "id": "string",
- "assembly_id": {
- "uuid": "string"
}, - "lighting_aug": 0,
- "placement_aug": 0,
- "color_aug": 0,
- "prompt": "string",
- "negative_prompt": "string"
}, - "occlusion": true,
- "step_id": "string",
- "training_speed": 0,
- "name": "string"
}, - "data_ops": "string",
- "step_type": "string",
- "status_id": "string",
- "capture_timestamp": {
- "seconds": "string",
- "nanos": 0
}, - "port": {
- "port": "string",
- "name": "string",
- "type": "string",
- "timeout": 0,
- "chip": "string",
- "line": 0,
- "duration": 0,
- "input_type": "string",
- "output_type": "string"
}, - "tightening_program": {
- "torque": {
- "target": 0,
- "max": 0,
- "min": 0,
- "unit": "string"
}, - "angle": {
- "target": 0,
- "max": 0,
- "min": 0,
- "threshold": 0,
- "verify": true,
- "angle_check_start_threshold": 0
}, - "speed": {
- "run_speed": "string",
- "final_speed": "string",
- "downshift_threshold": "string",
- "downshift_enabled": true,
- "unit": "string"
}, - "operation_mode": "string",
- "angle_start_mode": "string",
- "max_time": 0,
- "min_time": 0,
- "reverse_allowed": true,
- "reverse_speed": 0,
- "max_reverse_torque": 0,
- "program_nr": 0,
- "description": "string",
- "step_count": 0,
- "permanent": true,
- "vendor_parameters": [
- {
- "key": "string",
- "value": "string"
}
]
}, - "system_options": {
- "use_alignment_ai": true,
- "alignment_mode": "string",
- "alignment_ai_threshold": 0,
- "use_multistep_model": true,
- "auto_advance_video_only": true
}, - "from_assembly": {
- "id": {
- "uuid": "string"
}, - "name": "string",
- "description": "string",
- "image_link": "string",
- "tenant_id": "string",
- "training_complete": true,
- "revision_id": {
- "uuid": "string"
}, - "parent_id": {
- "uuid": "string"
}, - "revision": 0,
- "steps": {
- "steps": [
- {
- "id": null,
- "name": null,
- "description": null,
- "image_link": null,
- "video_link": null,
- "overlay_link": null,
- "minimum_predict": null,
- "benchmark": null,
- "roi_zoom": null,
- "camera_id": null,
- "perspective_change": null,
- "mask_perspective": null,
- "training_required": null,
- "classes": [ ],
- "assembly_id": null,
- "next_step_id": null,
- "previous_step_id": null,
- "options": null,
- "step_data": [ ],
- "step_detection_targets": [ ],
- "step_motions": [ ]
}
]
}, - "augmentation": {
- "id": "string",
- "assembly_id": {
- "uuid": "string"
}, - "lighting_aug": 0,
- "placement_aug": 0,
- "color_aug": 0,
- "prompt": "string",
- "negative_prompt": "string"
}, - "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}, - "classes": [
- "string"
], - "product_version": "string",
- "model_version": "string",
- "published": true,
- "approver": "string",
- "notes": "string",
- "record_videos": true,
- "last_edited": {
- "seconds": "string",
- "nanos": 0
}, - "active": true
}, - "csv_rows": [
- "string"
], - "enable_data_synthesis_beta": true,
- "enable_occlusion_detection": true,
- "enable_multistep_model": true,
- "model_library": {
- "model": {
- "base_nn": {
- "type": "string",
- "product_type": "string",
- "version": "string",
- "python_version": "string",
- "tensorflow_version": "string",
- "model_name": "string",
- "model_type": "string",
- "model_category": "string"
}, - "timestamp": {
- "seconds": "string",
- "nanos": 0
}, - "configuration": {
- "duration": 0,
- "sample_size": 0,
- "image_height": 0,
- "image_width": 0,
- "image_channels": 0,
- "batch_size": 0,
- "validation_split": 0,
- "training_steps": 0,
- "epochs": 0,
- "tfloat16": true
}, - "data_dir": "string",
- "assembly_id": {
- "uuid": "string"
}, - "augmentation": {
- "id": "string",
- "assembly_id": {
- "uuid": null
}, - "lighting_aug": 0,
- "placement_aug": 0,
- "color_aug": 0,
- "prompt": "string",
- "negative_prompt": "string"
}, - "occlusion": true,
- "step_id": "string",
- "training_speed": 0,
- "name": "string"
}, - "detection_targets": [
- {
- "id": 0,
- "uuid": "string",
- "model_id": 0,
- "label": "string",
- "display_id": "string",
- "part_number": "string",
- "description": "string",
- "linked_assemblies": [
- null
], - "created_at": {
- "seconds": null,
- "nanos": null
}, - "updated_at": {
- "seconds": null,
- "nanos": null
}, - "image_samples": [
- null
], - "trained": true,
- "pending": true
}
], - "image_samples": [
- {
- "id": 0,
- "uuid": "string",
- "detection_target_id": 0,
- "file_path": "string",
- "width": 0,
- "height": 0,
- "capture_date": {
- "seconds": null,
- "nanos": null
}, - "capture_conditions": "string",
- "created_at": {
- "seconds": null,
- "nanos": null
}, - "augmented": true,
- "correct": true,
- "label": "string",
- "annotations": [
- null
]
}
], - "annotations": [
- {
- "id": 0,
- "uuid": "string",
- "image_sample_id": 0,
- "bbox_x": 0,
- "bbox_y": 0,
- "bbox_width": 0,
- "bbox_height": 0,
- "created_at": {
- "seconds": null,
- "nanos": null
}, - "confidence": 0,
- "similarity": 0,
- "center_x": 0,
- "center_y": 0,
- "category": "string",
- "label": "string"
}
], - "neural_net": {
- "type": "string",
- "product_type": "string",
- "version": "string",
- "python_version": "string",
- "tensorflow_version": "string",
- "model_name": "string",
- "model_type": "string",
- "model_category": "string"
}, - "errors": {
- "model": {
- "base_nn": {
- "type": null,
- "product_type": null,
- "version": null,
- "python_version": null,
- "tensorflow_version": null,
- "model_name": null,
- "model_type": null,
- "model_category": null
}, - "timestamp": {
- "seconds": null,
- "nanos": null
}, - "configuration": {
- "duration": null,
- "sample_size": null,
- "image_height": null,
- "image_width": null,
- "image_channels": null,
- "batch_size": null,
- "validation_split": null,
- "training_steps": null,
- "epochs": null,
- "tfloat16": null
}, - "data_dir": "string",
- "assembly_id": {
- "uuid": null
}, - "augmentation": {
- "id": null,
- "assembly_id": null,
- "lighting_aug": null,
- "placement_aug": null,
- "color_aug": null,
- "prompt": null,
- "negative_prompt": null
}, - "occlusion": true,
- "step_id": "string",
- "training_speed": 0,
- "name": "string"
}, - "detection_targets": [
- {
- "id": null,
- "uuid": null,
- "model_id": null,
- "label": null,
- "display_id": null,
- "part_number": null,
- "description": null,
- "linked_assemblies": [ ],
- "created_at": null,
- "updated_at": null,
- "image_samples": [ ],
- "trained": null,
- "pending": null
}
], - "image_samples": [
- {
- "id": null,
- "uuid": null,
- "detection_target_id": null,
- "file_path": null,
- "width": null,
- "height": null,
- "capture_date": null,
- "capture_conditions": null,
- "created_at": null,
- "augmented": null,
- "correct": null,
- "label": null,
- "annotations": [ ]
}
], - "annotations": [
- {
- "id": null,
- "uuid": null,
- "image_sample_id": null,
- "bbox_x": null,
- "bbox_y": null,
- "bbox_width": null,
- "bbox_height": null,
- "created_at": null,
- "confidence": null,
- "similarity": null,
- "center_x": null,
- "center_y": null,
- "category": null,
- "label": null
}
]
}
}, - "segmentation": {
- "image_sample_id": 0,
- "click_points": [
- {
- "x": 0,
- "y": 0
}
], - "click_labels": [
- {
- "label": 0
}
], - "mask": null,
- "bounding_box": {
- "x1": 0,
- "y1": 0,
- "x2": 0,
- "y2": 0
}, - "mode": "string",
- "category": "string"
}, - "augmentation": {
- "id": "string",
- "assembly_id": {
- "uuid": "string"
}, - "lighting_aug": 0,
- "placement_aug": 0,
- "color_aug": 0,
- "prompt": "string",
- "negative_prompt": "string"
}, - "data_dir": "string"
}
}, - "complete_callback": "string"
}, - "service": "string",
- "status": {
- "code": "string",
- "product_version": "string",
- "msg": "string",
- "count": 0,
- "target": "string",
- "err_code": "string"
}
}
]
}Retrieve all assembly revisions
Each Assembly is made up of one or more Assembly Revisions, which act as "versions" of a given assembly. This endpoint retrieves every revision of every assembly.
Responses
Response samples
- 200
- 404
{- "status": "string",
- "msg": [
- {
- "id": {
- "uuid": "string"
}, - "name": "string",
- "description": "string",
- "image_link": "string",
- "tenant_id": "string",
- "training_complete": true,
- "active_revision": "string",
- "published": true,
- "assembly": {
- "id": {
- "uuid": "string"
}, - "name": "string",
- "description": "string",
- "image_link": "string",
- "tenant_id": "string",
- "training_complete": true,
- "revision_id": {
- "uuid": "string"
}, - "parent_id": {
- "uuid": "string"
}, - "revision": 0,
- "steps": {
- "steps": [
- {
- "id": "string",
- "name": "string",
- "description": "string",
- "image_link": "string",
- "video_link": "string",
- "overlay_link": "string",
- "minimum_predict": 0,
- "benchmark": 0,
- "roi_zoom": "string",
- "camera_id": "string",
- "perspective_change": true,
- "mask_perspective": true,
- "training_required": true,
- "classes": [
- "string"
], - "assembly_id": {
- "uuid": "string"
}, - "next_step_id": "string",
- "previous_step_id": "string",
- "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}, - "step_data": [
- {
- "step_data_info": [
- null
], - "id": "string",
- "step_id": "string",
- "data_type": "ml",
- "units": "string",
- "name": "string",
- "tolerance": 0,
- "auto_align": true,
- "torque_data": {
- "program_id": null,
- "target_torque": null,
- "max_torque": null,
- "torque_unit": null,
- "run_speed": null,
- "final_speed": null,
- "speed_unit": null,
- "torque_series": [ ],
- "angle_series": [ ],
- "final_angle": null,
- "angle_threshold": null,
- "verify_angle": null,
- "min_torque": null,
- "downshift_enabled": null,
- "angle_check_start_threshold": null
}, - "options": {
- "page": null,
- "page_size": null,
- "start_date": null,
- "end_date": null
}, - "ocr_capture_variable_info": [
- null
]
}
], - "step_detection_targets": [
- {
- "id": 0,
- "step_id": 0,
- "detection_target_id": 0,
- "detection_target_uuid": "string",
- "bbox_x": 0,
- "bbox_y": 0,
- "bbox_width": 0,
- "bbox_height": 0,
- "description": "string",
- "score": 0,
- "created_at": {
- "seconds": null,
- "nanos": null
}, - "updated_at": {
- "seconds": null,
- "nanos": null
}, - "manually_adjusted": true,
- "correct": true,
- "part_number": "string",
- "display_id": "string",
- "label": "string",
- "detection_target": {
- "id": null,
- "uuid": null,
- "model_id": null,
- "label": null,
- "display_id": null,
- "part_number": null,
- "description": null,
- "linked_assemblies": [ ],
- "created_at": null,
- "updated_at": null,
- "image_samples": [ ],
- "trained": null,
- "pending": null
}
}
], - "step_motions": [
- {
- "id": 0,
- "step_id": 0,
- "motion_type": "string",
- "sequence_order": 0,
- "step_positions": [
- null
], - "created_at": {
- "seconds": null,
- "nanos": null
}, - "updated_at": {
- "seconds": null,
- "nanos": null
}, - "capture_all_images": true,
- "enabled": true
}
]
}
]
}, - "augmentation": {
- "id": "string",
- "assembly_id": {
- "uuid": "string"
}, - "lighting_aug": 0,
- "placement_aug": 0,
- "color_aug": 0,
- "prompt": "string",
- "negative_prompt": "string"
}, - "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}, - "classes": [
- "string"
], - "product_version": "string",
- "model_version": "string",
- "published": true,
- "approver": "string",
- "notes": "string",
- "record_videos": true,
- "last_edited": {
- "seconds": "string",
- "nanos": 0
}, - "active": true
}
}
]
}Retrieve a specific assembly revision
path Parameters
| revision_id required | string Example: d8dc6895-da23-4f4e-9eec-b508b8f9b3e2 The ID of the assembly revision |
Responses
Response samples
- 200
- 404
{- "status": "string",
- "msg": {
- "id": {
- "uuid": "string"
}, - "name": "string",
- "description": "string",
- "image_link": "string",
- "tenant_id": "string",
- "training_complete": true,
- "active_revision": "string",
- "published": true,
- "assembly": {
- "id": {
- "uuid": "string"
}, - "name": "string",
- "description": "string",
- "image_link": "string",
- "tenant_id": "string",
- "training_complete": true,
- "revision_id": {
- "uuid": "string"
}, - "parent_id": {
- "uuid": "string"
}, - "revision": 0,
- "steps": {
- "steps": [
- {
- "id": "string",
- "name": "string",
- "description": "string",
- "image_link": "string",
- "video_link": "string",
- "overlay_link": "string",
- "minimum_predict": 0,
- "benchmark": 0,
- "roi_zoom": "string",
- "camera_id": "string",
- "perspective_change": true,
- "mask_perspective": true,
- "training_required": true,
- "classes": [
- "string"
], - "assembly_id": {
- "uuid": "string"
}, - "next_step_id": "string",
- "previous_step_id": "string",
- "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}, - "step_data": [
- {
- "step_data_info": [
- {
- "id": null,
- "label": null,
- "link": null,
- "value": null,
- "step_data_id": null,
- "type": null,
- "name": null,
- "options": null
}
], - "id": "string",
- "step_id": "string",
- "data_type": "ml",
- "units": "string",
- "name": "string",
- "tolerance": 0,
- "auto_align": true,
- "torque_data": {
- "program_id": 0,
- "target_torque": 0,
- "max_torque": 0,
- "torque_unit": "string",
- "run_speed": 0,
- "final_speed": 0,
- "speed_unit": "string",
- "torque_series": [
- null
], - "angle_series": [
- null
], - "final_angle": 0,
- "angle_threshold": 0,
- "verify_angle": true,
- "min_torque": 0,
- "downshift_enabled": true,
- "angle_check_start_threshold": 0
}, - "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": null,
- "nanos": null
}, - "end_date": {
- "seconds": null,
- "nanos": null
}
}, - "ocr_capture_variable_info": [
- {
- "variable_name": null,
- "bounding_box": null,
- "original_text_value": null,
- "step_number": null
}
]
}
], - "step_detection_targets": [
- {
- "id": 0,
- "step_id": 0,
- "detection_target_id": 0,
- "detection_target_uuid": "string",
- "bbox_x": 0,
- "bbox_y": 0,
- "bbox_width": 0,
- "bbox_height": 0,
- "description": "string",
- "score": 0,
- "created_at": {
- "seconds": "string",
- "nanos": 0
}, - "updated_at": {
- "seconds": "string",
- "nanos": 0
}, - "manually_adjusted": true,
- "correct": true,
- "part_number": "string",
- "display_id": "string",
- "label": "string",
- "detection_target": {
- "id": 0,
- "uuid": "string",
- "model_id": 0,
- "label": "string",
- "display_id": "string",
- "part_number": "string",
- "description": "string",
- "linked_assemblies": [
- null
], - "created_at": {
- "seconds": null,
- "nanos": null
}, - "updated_at": {
- "seconds": null,
- "nanos": null
}, - "image_samples": [
- null
], - "trained": true,
- "pending": true
}
}
], - "step_motions": [
- {
- "id": 0,
- "step_id": 0,
- "motion_type": "string",
- "sequence_order": 0,
- "step_positions": [
- {
- "id": null,
- "step_motion_id": null,
- "device_id": null,
- "position_name": null,
- "sequence_order": null,
- "dwell_time_seconds": null,
- "axis_positions": [ ],
- "created_at": null,
- "updated_at": null,
- "roi_zoom": null
}
], - "created_at": {
- "seconds": "string",
- "nanos": 0
}, - "updated_at": {
- "seconds": "string",
- "nanos": 0
}, - "capture_all_images": true,
- "enabled": true
}
]
}
]
}, - "augmentation": {
- "id": "string",
- "assembly_id": {
- "uuid": "string"
}, - "lighting_aug": 0,
- "placement_aug": 0,
- "color_aug": 0,
- "prompt": "string",
- "negative_prompt": "string"
}, - "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}, - "classes": [
- "string"
], - "product_version": "string",
- "model_version": "string",
- "published": true,
- "approver": "string",
- "notes": "string",
- "record_videos": true,
- "last_edited": {
- "seconds": "string",
- "nanos": 0
}, - "active": true
}
}
}Create or Update a specific assembly revision
path Parameters
| revision_id required | string Example: d8dc6895-da23-4f4e-9eec-b508b8f9b3e2 The ID of the assembly revision |
Request Body schema: application/json
| name | string |
| description | string |
| image_link | string |
| tenant_id | string |
| training_complete | boolean |
| active_revision | string |
| published | boolean |
Responses
Request samples
- Payload
{- "name": "Contactor Installation",
- "description": "A new description",
- "image_link": "/model/sample/image/57618016-cd00-4fc8-85f5-e4b26304c6ba/step-3_good",
- "training_complete": true,
- "active_revision": "57618016-cd00-4fc8-85f5-e4b26304c6ba",
- "published": true
}Response samples
- 200
{- "status": "string",
- "msg": {
- "uuid": "string"
}
}Retrieve the assembly for a specific assembly revision
path Parameters
| revision_id required | string Example: d8dc6895-da23-4f4e-9eec-b508b8f9b3e2 The ID of the assembly revision |
| rev_number required | string |
Responses
Response samples
- 200
- 404
{- "status": "string",
- "msg": {
- "id": {
- "uuid": "string"
}, - "name": "string",
- "description": "string",
- "image_link": "string",
- "tenant_id": "string",
- "training_complete": true,
- "revision_id": {
- "uuid": "string"
}, - "parent_id": {
- "uuid": "string"
}, - "revision": 0,
- "steps": {
- "steps": [
- {
- "id": "string",
- "name": "string",
- "description": "string",
- "image_link": "string",
- "video_link": "string",
- "overlay_link": "string",
- "minimum_predict": 0,
- "benchmark": 0,
- "roi_zoom": "string",
- "camera_id": "string",
- "perspective_change": true,
- "mask_perspective": true,
- "training_required": true,
- "classes": [
- "string"
], - "assembly_id": {
- "uuid": "string"
}, - "next_step_id": "string",
- "previous_step_id": "string",
- "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}, - "step_data": [
- {
- "step_data_info": [
- {
- "id": "string",
- "label": "string",
- "link": "string",
- "value": "string",
- "step_data_id": "string",
- "type": "string",
- "name": "string",
- "options": {
- "page": null,
- "page_size": null,
- "start_date": null,
- "end_date": null
}
}
], - "id": "string",
- "step_id": "string",
- "data_type": "ml",
- "units": "string",
- "name": "string",
- "tolerance": 0,
- "auto_align": true,
- "torque_data": {
- "program_id": 0,
- "target_torque": 0,
- "max_torque": 0,
- "torque_unit": "string",
- "run_speed": 0,
- "final_speed": 0,
- "speed_unit": "string",
- "torque_series": [
- 0
], - "angle_series": [
- 0
], - "final_angle": 0,
- "angle_threshold": 0,
- "verify_angle": true,
- "min_torque": 0,
- "downshift_enabled": true,
- "angle_check_start_threshold": 0
}, - "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}, - "ocr_capture_variable_info": [
- {
- "variable_name": "string",
- "bounding_box": "string",
- "original_text_value": "string",
- "step_number": "string"
}
]
}
], - "step_detection_targets": [
- {
- "id": 0,
- "step_id": 0,
- "detection_target_id": 0,
- "detection_target_uuid": "string",
- "bbox_x": 0,
- "bbox_y": 0,
- "bbox_width": 0,
- "bbox_height": 0,
- "description": "string",
- "score": 0,
- "created_at": {
- "seconds": "string",
- "nanos": 0
}, - "updated_at": {
- "seconds": "string",
- "nanos": 0
}, - "manually_adjusted": true,
- "correct": true,
- "part_number": "string",
- "display_id": "string",
- "label": "string",
- "detection_target": {
- "id": 0,
- "uuid": "string",
- "model_id": 0,
- "label": "string",
- "display_id": "string",
- "part_number": "string",
- "description": "string",
- "linked_assemblies": [
- "string"
], - "created_at": {
- "seconds": "string",
- "nanos": 0
}, - "updated_at": {
- "seconds": "string",
- "nanos": 0
}, - "image_samples": [
- {
- "id": null,
- "uuid": null,
- "detection_target_id": null,
- "file_path": null,
- "width": null,
- "height": null,
- "capture_date": null,
- "capture_conditions": null,
- "created_at": null,
- "augmented": null,
- "correct": null,
- "label": null,
- "annotations": [ ]
}
], - "trained": true,
- "pending": true
}
}
], - "step_motions": [
- {
- "id": 0,
- "step_id": 0,
- "motion_type": "string",
- "sequence_order": 0,
- "step_positions": [
- {
- "id": 0,
- "step_motion_id": 0,
- "device_id": "string",
- "position_name": "string",
- "sequence_order": 0,
- "dwell_time_seconds": 0,
- "axis_positions": [
- null
], - "created_at": {
- "seconds": null,
- "nanos": null
}, - "updated_at": {
- "seconds": null,
- "nanos": null
}, - "roi_zoom": "string"
}
], - "created_at": {
- "seconds": "string",
- "nanos": 0
}, - "updated_at": {
- "seconds": "string",
- "nanos": 0
}, - "capture_all_images": true,
- "enabled": true
}
]
}
]
}, - "augmentation": {
- "id": "string",
- "assembly_id": {
- "uuid": "string"
}, - "lighting_aug": 0,
- "placement_aug": 0,
- "color_aug": 0,
- "prompt": "string",
- "negative_prompt": "string"
}, - "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}, - "classes": [
- "string"
], - "product_version": "string",
- "model_version": "string",
- "published": true,
- "approver": "string",
- "notes": "string",
- "record_videos": true,
- "last_edited": {
- "seconds": "string",
- "nanos": 0
}, - "active": true
}
}Set the active revision for a specific assembly revision
path Parameters
| revision_id required | string Example: d8dc6895-da23-4f4e-9eec-b508b8f9b3e2 The ID of the assembly revision |
Request Body schema: application/json
| assembly_id | string |
Responses
Request samples
- Payload
{- "assembly_id": "57618016-cd00-4fc8-85f5-e4b26304c6ba"
}Response samples
- 200
{- "status": "ok",
- "msg": ""
}Retrieve all revisions of a specific assembly
path Parameters
| revision_id required | string Example: d8dc6895-da23-4f4e-9eec-b508b8f9b3e2 The ID of the assembly revision |
Responses
Response samples
- 200
- 404
{- "status": "string",
- "msg": [
- {
- "id": {
- "uuid": "string"
}, - "name": "string",
- "description": "string",
- "image_link": "string",
- "tenant_id": "string",
- "training_complete": true,
- "revision_id": {
- "uuid": "string"
}, - "parent_id": {
- "uuid": "string"
}, - "revision": 0,
- "steps": {
- "steps": [
- {
- "id": "string",
- "name": "string",
- "description": "string",
- "image_link": "string",
- "video_link": "string",
- "overlay_link": "string",
- "minimum_predict": 0,
- "benchmark": 0,
- "roi_zoom": "string",
- "camera_id": "string",
- "perspective_change": true,
- "mask_perspective": true,
- "training_required": true,
- "classes": [
- "string"
], - "assembly_id": {
- "uuid": "string"
}, - "next_step_id": "string",
- "previous_step_id": "string",
- "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}, - "step_data": [
- {
- "step_data_info": [
- {
- "id": null,
- "label": null,
- "link": null,
- "value": null,
- "step_data_id": null,
- "type": null,
- "name": null,
- "options": null
}
], - "id": "string",
- "step_id": "string",
- "data_type": "ml",
- "units": "string",
- "name": "string",
- "tolerance": 0,
- "auto_align": true,
- "torque_data": {
- "program_id": 0,
- "target_torque": 0,
- "max_torque": 0,
- "torque_unit": "string",
- "run_speed": 0,
- "final_speed": 0,
- "speed_unit": "string",
- "torque_series": [
- null
], - "angle_series": [
- null
], - "final_angle": 0,
- "angle_threshold": 0,
- "verify_angle": true,
- "min_torque": 0,
- "downshift_enabled": true,
- "angle_check_start_threshold": 0
}, - "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": null,
- "nanos": null
}, - "end_date": {
- "seconds": null,
- "nanos": null
}
}, - "ocr_capture_variable_info": [
- {
- "variable_name": null,
- "bounding_box": null,
- "original_text_value": null,
- "step_number": null
}
]
}
], - "step_detection_targets": [
- {
- "id": 0,
- "step_id": 0,
- "detection_target_id": 0,
- "detection_target_uuid": "string",
- "bbox_x": 0,
- "bbox_y": 0,
- "bbox_width": 0,
- "bbox_height": 0,
- "description": "string",
- "score": 0,
- "created_at": {
- "seconds": "string",
- "nanos": 0
}, - "updated_at": {
- "seconds": "string",
- "nanos": 0
}, - "manually_adjusted": true,
- "correct": true,
- "part_number": "string",
- "display_id": "string",
- "label": "string",
- "detection_target": {
- "id": 0,
- "uuid": "string",
- "model_id": 0,
- "label": "string",
- "display_id": "string",
- "part_number": "string",
- "description": "string",
- "linked_assemblies": [
- null
], - "created_at": {
- "seconds": null,
- "nanos": null
}, - "updated_at": {
- "seconds": null,
- "nanos": null
}, - "image_samples": [
- null
], - "trained": true,
- "pending": true
}
}
], - "step_motions": [
- {
- "id": 0,
- "step_id": 0,
- "motion_type": "string",
- "sequence_order": 0,
- "step_positions": [
- {
- "id": null,
- "step_motion_id": null,
- "device_id": null,
- "position_name": null,
- "sequence_order": null,
- "dwell_time_seconds": null,
- "axis_positions": [ ],
- "created_at": null,
- "updated_at": null,
- "roi_zoom": null
}
], - "created_at": {
- "seconds": "string",
- "nanos": 0
}, - "updated_at": {
- "seconds": "string",
- "nanos": 0
}, - "capture_all_images": true,
- "enabled": true
}
]
}
]
}, - "augmentation": {
- "id": "string",
- "assembly_id": {
- "uuid": "string"
}, - "lighting_aug": 0,
- "placement_aug": 0,
- "color_aug": 0,
- "prompt": "string",
- "negative_prompt": "string"
}, - "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}, - "classes": [
- "string"
], - "product_version": "string",
- "model_version": "string",
- "published": true,
- "approver": "string",
- "notes": "string",
- "record_videos": true,
- "last_edited": {
- "seconds": "string",
- "nanos": 0
}, - "active": true
}
]
}Retrieve all coachable revisions
Each Assembly is made up of one or more Assembly Revisions, which act as "versions" of a given assembly. This endpoint retrieves the most recently published assembly for each assembly revision.
Responses
Response samples
- 200
- 404
{- "status": "string",
- "msg": [
- {
- "id": {
- "uuid": "string"
}, - "name": "string",
- "description": "string",
- "image_link": "string",
- "tenant_id": "string",
- "training_complete": true,
- "active_revision": "string",
- "published": true,
- "assembly": {
- "id": {
- "uuid": "string"
}, - "name": "string",
- "description": "string",
- "image_link": "string",
- "tenant_id": "string",
- "training_complete": true,
- "revision_id": {
- "uuid": "string"
}, - "parent_id": {
- "uuid": "string"
}, - "revision": 0,
- "steps": {
- "steps": [
- {
- "id": "string",
- "name": "string",
- "description": "string",
- "image_link": "string",
- "video_link": "string",
- "overlay_link": "string",
- "minimum_predict": 0,
- "benchmark": 0,
- "roi_zoom": "string",
- "camera_id": "string",
- "perspective_change": true,
- "mask_perspective": true,
- "training_required": true,
- "classes": [
- "string"
], - "assembly_id": {
- "uuid": "string"
}, - "next_step_id": "string",
- "previous_step_id": "string",
- "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}, - "step_data": [
- {
- "step_data_info": [
- null
], - "id": "string",
- "step_id": "string",
- "data_type": "ml",
- "units": "string",
- "name": "string",
- "tolerance": 0,
- "auto_align": true,
- "torque_data": {
- "program_id": null,
- "target_torque": null,
- "max_torque": null,
- "torque_unit": null,
- "run_speed": null,
- "final_speed": null,
- "speed_unit": null,
- "torque_series": [ ],
- "angle_series": [ ],
- "final_angle": null,
- "angle_threshold": null,
- "verify_angle": null,
- "min_torque": null,
- "downshift_enabled": null,
- "angle_check_start_threshold": null
}, - "options": {
- "page": null,
- "page_size": null,
- "start_date": null,
- "end_date": null
}, - "ocr_capture_variable_info": [
- null
]
}
], - "step_detection_targets": [
- {
- "id": 0,
- "step_id": 0,
- "detection_target_id": 0,
- "detection_target_uuid": "string",
- "bbox_x": 0,
- "bbox_y": 0,
- "bbox_width": 0,
- "bbox_height": 0,
- "description": "string",
- "score": 0,
- "created_at": {
- "seconds": null,
- "nanos": null
}, - "updated_at": {
- "seconds": null,
- "nanos": null
}, - "manually_adjusted": true,
- "correct": true,
- "part_number": "string",
- "display_id": "string",
- "label": "string",
- "detection_target": {
- "id": null,
- "uuid": null,
- "model_id": null,
- "label": null,
- "display_id": null,
- "part_number": null,
- "description": null,
- "linked_assemblies": [ ],
- "created_at": null,
- "updated_at": null,
- "image_samples": [ ],
- "trained": null,
- "pending": null
}
}
], - "step_motions": [
- {
- "id": 0,
- "step_id": 0,
- "motion_type": "string",
- "sequence_order": 0,
- "step_positions": [
- null
], - "created_at": {
- "seconds": null,
- "nanos": null
}, - "updated_at": {
- "seconds": null,
- "nanos": null
}, - "capture_all_images": true,
- "enabled": true
}
]
}
]
}, - "augmentation": {
- "id": "string",
- "assembly_id": {
- "uuid": "string"
}, - "lighting_aug": 0,
- "placement_aug": 0,
- "color_aug": 0,
- "prompt": "string",
- "negative_prompt": "string"
}, - "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}, - "classes": [
- "string"
], - "product_version": "string",
- "model_version": "string",
- "published": true,
- "approver": "string",
- "notes": "string",
- "record_videos": true,
- "last_edited": {
- "seconds": "string",
- "nanos": 0
}, - "active": true
}
}
]
}Retrieve all assemblies
Recall that Assembly Revisions are made up of one or more assemblies. Assemblies are the discrete items you perform coaching on. This endpoint retrieves every assembly in the database.
Responses
Response samples
- 200
- 404
{- "status": "string",
- "msg": [
- {
- "id": {
- "uuid": "string"
}, - "name": "string",
- "description": "string",
- "image_link": "string",
- "tenant_id": "string",
- "training_complete": true,
- "revision_id": {
- "uuid": "string"
}, - "parent_id": {
- "uuid": "string"
}, - "revision": 0,
- "steps": {
- "steps": [
- {
- "id": "string",
- "name": "string",
- "description": "string",
- "image_link": "string",
- "video_link": "string",
- "overlay_link": "string",
- "minimum_predict": 0,
- "benchmark": 0,
- "roi_zoom": "string",
- "camera_id": "string",
- "perspective_change": true,
- "mask_perspective": true,
- "training_required": true,
- "classes": [
- "string"
], - "assembly_id": {
- "uuid": "string"
}, - "next_step_id": "string",
- "previous_step_id": "string",
- "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}, - "step_data": [
- {
- "step_data_info": [
- {
- "id": null,
- "label": null,
- "link": null,
- "value": null,
- "step_data_id": null,
- "type": null,
- "name": null,
- "options": null
}
], - "id": "string",
- "step_id": "string",
- "data_type": "ml",
- "units": "string",
- "name": "string",
- "tolerance": 0,
- "auto_align": true,
- "torque_data": {
- "program_id": 0,
- "target_torque": 0,
- "max_torque": 0,
- "torque_unit": "string",
- "run_speed": 0,
- "final_speed": 0,
- "speed_unit": "string",
- "torque_series": [
- null
], - "angle_series": [
- null
], - "final_angle": 0,
- "angle_threshold": 0,
- "verify_angle": true,
- "min_torque": 0,
- "downshift_enabled": true,
- "angle_check_start_threshold": 0
}, - "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": null,
- "nanos": null
}, - "end_date": {
- "seconds": null,
- "nanos": null
}
}, - "ocr_capture_variable_info": [
- {
- "variable_name": null,
- "bounding_box": null,
- "original_text_value": null,
- "step_number": null
}
]
}
], - "step_detection_targets": [
- {
- "id": 0,
- "step_id": 0,
- "detection_target_id": 0,
- "detection_target_uuid": "string",
- "bbox_x": 0,
- "bbox_y": 0,
- "bbox_width": 0,
- "bbox_height": 0,
- "description": "string",
- "score": 0,
- "created_at": {
- "seconds": "string",
- "nanos": 0
}, - "updated_at": {
- "seconds": "string",
- "nanos": 0
}, - "manually_adjusted": true,
- "correct": true,
- "part_number": "string",
- "display_id": "string",
- "label": "string",
- "detection_target": {
- "id": 0,
- "uuid": "string",
- "model_id": 0,
- "label": "string",
- "display_id": "string",
- "part_number": "string",
- "description": "string",
- "linked_assemblies": [
- null
], - "created_at": {
- "seconds": null,
- "nanos": null
}, - "updated_at": {
- "seconds": null,
- "nanos": null
}, - "image_samples": [
- null
], - "trained": true,
- "pending": true
}
}
], - "step_motions": [
- {
- "id": 0,
- "step_id": 0,
- "motion_type": "string",
- "sequence_order": 0,
- "step_positions": [
- {
- "id": null,
- "step_motion_id": null,
- "device_id": null,
- "position_name": null,
- "sequence_order": null,
- "dwell_time_seconds": null,
- "axis_positions": [ ],
- "created_at": null,
- "updated_at": null,
- "roi_zoom": null
}
], - "created_at": {
- "seconds": "string",
- "nanos": 0
}, - "updated_at": {
- "seconds": "string",
- "nanos": 0
}, - "capture_all_images": true,
- "enabled": true
}
]
}
]
}, - "augmentation": {
- "id": "string",
- "assembly_id": {
- "uuid": "string"
}, - "lighting_aug": 0,
- "placement_aug": 0,
- "color_aug": 0,
- "prompt": "string",
- "negative_prompt": "string"
}, - "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}, - "classes": [
- "string"
], - "product_version": "string",
- "model_version": "string",
- "published": true,
- "approver": "string",
- "notes": "string",
- "record_videos": true,
- "last_edited": {
- "seconds": "string",
- "nanos": 0
}, - "active": true
}
]
}Create an assembly
Deprecated. We recommend using POST /model/new/{assembly_id} and navigating the training workflow to create an assembly.
Request Body schema: application/json
| name | string |
| description | string |
| image_link | string |
| tenant_id | string |
| training_complete | boolean |
object (AssemblyId) | |
object (AssemblyId) | |
| revision | integer <int32> |
object (Steps) | |
object (Augmentation) | |
object (DatabaseOptions) | |
| classes | Array of strings |
| product_version | string |
| model_version | string |
| published | boolean |
| approver | string |
| notes | string |
| record_videos | boolean |
object (Timestamp) | |
| active | boolean |
Responses
Request samples
- Payload
{- "name": "string",
- "description": "string",
- "image_link": "string",
- "tenant_id": "string",
- "training_complete": true,
- "revision_id": {
- "uuid": "string"
}, - "parent_id": {
- "uuid": "string"
}, - "revision": 0,
- "steps": {
- "steps": [
- {
- "id": "string",
- "name": "string",
- "description": "string",
- "image_link": "string",
- "video_link": "string",
- "overlay_link": "string",
- "minimum_predict": 0,
- "benchmark": 0,
- "roi_zoom": "string",
- "camera_id": "string",
- "perspective_change": true,
- "mask_perspective": true,
- "training_required": true,
- "classes": [
- "string"
], - "assembly_id": {
- "uuid": "string"
}, - "next_step_id": "string",
- "previous_step_id": "string",
- "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}, - "step_data": [
- {
- "step_data_info": [
- {
- "id": "string",
- "label": "string",
- "link": "string",
- "value": "string",
- "step_data_id": "string",
- "type": "string",
- "name": "string",
- "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": null,
- "nanos": null
}, - "end_date": {
- "seconds": null,
- "nanos": null
}
}
}
], - "id": "string",
- "step_id": "string",
- "data_type": "ml",
- "units": "string",
- "name": "string",
- "tolerance": 0,
- "auto_align": true,
- "torque_data": {
- "program_id": 0,
- "target_torque": 0,
- "max_torque": 0,
- "torque_unit": "string",
- "run_speed": 0,
- "final_speed": 0,
- "speed_unit": "string",
- "torque_series": [
- 0
], - "angle_series": [
- 0
], - "final_angle": 0,
- "angle_threshold": 0,
- "verify_angle": true,
- "min_torque": 0,
- "downshift_enabled": true,
- "angle_check_start_threshold": 0
}, - "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}, - "ocr_capture_variable_info": [
- {
- "variable_name": "string",
- "bounding_box": "string",
- "original_text_value": "string",
- "step_number": "string"
}
]
}
], - "step_detection_targets": [
- {
- "id": 0,
- "step_id": 0,
- "detection_target_id": 0,
- "detection_target_uuid": "string",
- "bbox_x": 0,
- "bbox_y": 0,
- "bbox_width": 0,
- "bbox_height": 0,
- "description": "string",
- "score": 0,
- "created_at": {
- "seconds": "string",
- "nanos": 0
}, - "updated_at": {
- "seconds": "string",
- "nanos": 0
}, - "manually_adjusted": true,
- "correct": true,
- "part_number": "string",
- "display_id": "string",
- "label": "string",
- "detection_target": {
- "id": 0,
- "uuid": "string",
- "model_id": 0,
- "label": "string",
- "display_id": "string",
- "part_number": "string",
- "description": "string",
- "linked_assemblies": [
- "string"
], - "created_at": {
- "seconds": "string",
- "nanos": 0
}, - "updated_at": {
- "seconds": "string",
- "nanos": 0
}, - "image_samples": [
- {
- "id": 0,
- "uuid": "string",
- "detection_target_id": 0,
- "file_path": "string",
- "width": 0,
- "height": 0,
- "capture_date": {
- "seconds": null,
- "nanos": null
}, - "capture_conditions": "string",
- "created_at": {
- "seconds": null,
- "nanos": null
}, - "augmented": true,
- "correct": true,
- "label": "string",
- "annotations": [
- null
]
}
], - "trained": true,
- "pending": true
}
}
], - "step_motions": [
- {
- "id": 0,
- "step_id": 0,
- "motion_type": "string",
- "sequence_order": 0,
- "step_positions": [
- {
- "id": 0,
- "step_motion_id": 0,
- "device_id": "string",
- "position_name": "string",
- "sequence_order": 0,
- "dwell_time_seconds": 0,
- "axis_positions": [
- {
- "component_id": null,
- "axis_type": null,
- "units": null,
- "axis_value": null,
- "start_value": null,
- "end_value": null,
- "step_distance": null
}
], - "created_at": {
- "seconds": "string",
- "nanos": 0
}, - "updated_at": {
- "seconds": "string",
- "nanos": 0
}, - "roi_zoom": "string"
}
], - "created_at": {
- "seconds": "string",
- "nanos": 0
}, - "updated_at": {
- "seconds": "string",
- "nanos": 0
}, - "capture_all_images": true,
- "enabled": true
}
]
}
]
}, - "augmentation": {
- "id": "string",
- "assembly_id": {
- "uuid": "string"
}, - "lighting_aug": 0,
- "placement_aug": 0,
- "color_aug": 0,
- "prompt": "string",
- "negative_prompt": "string"
}, - "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}, - "classes": [
- "string"
], - "product_version": "string",
- "model_version": "string",
- "published": true,
- "approver": "string",
- "notes": "string",
- "record_videos": true,
- "last_edited": {
- "seconds": "string",
- "nanos": 0
}, - "active": true
}Response samples
- 404
{- "status": "string",
- "msg": {
- "uuid": "string"
}
}Retrieve a specific assembly
path Parameters
| assembly_id required | string Example: 57618016-cd00-4fc8-85f5-e4b26304c6ba The ID of the assembly |
Responses
Response samples
- 200
- 404
{- "status": "string",
- "msg": {
- "id": {
- "uuid": "string"
}, - "name": "string",
- "description": "string",
- "image_link": "string",
- "tenant_id": "string",
- "training_complete": true,
- "revision_id": {
- "uuid": "string"
}, - "parent_id": {
- "uuid": "string"
}, - "revision": 0,
- "steps": {
- "steps": [
- {
- "id": "string",
- "name": "string",
- "description": "string",
- "image_link": "string",
- "video_link": "string",
- "overlay_link": "string",
- "minimum_predict": 0,
- "benchmark": 0,
- "roi_zoom": "string",
- "camera_id": "string",
- "perspective_change": true,
- "mask_perspective": true,
- "training_required": true,
- "classes": [
- "string"
], - "assembly_id": {
- "uuid": "string"
}, - "next_step_id": "string",
- "previous_step_id": "string",
- "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}, - "step_data": [
- {
- "step_data_info": [
- {
- "id": "string",
- "label": "string",
- "link": "string",
- "value": "string",
- "step_data_id": "string",
- "type": "string",
- "name": "string",
- "options": {
- "page": null,
- "page_size": null,
- "start_date": null,
- "end_date": null
}
}
], - "id": "string",
- "step_id": "string",
- "data_type": "ml",
- "units": "string",
- "name": "string",
- "tolerance": 0,
- "auto_align": true,
- "torque_data": {
- "program_id": 0,
- "target_torque": 0,
- "max_torque": 0,
- "torque_unit": "string",
- "run_speed": 0,
- "final_speed": 0,
- "speed_unit": "string",
- "torque_series": [
- 0
], - "angle_series": [
- 0
], - "final_angle": 0,
- "angle_threshold": 0,
- "verify_angle": true,
- "min_torque": 0,
- "downshift_enabled": true,
- "angle_check_start_threshold": 0
}, - "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}, - "ocr_capture_variable_info": [
- {
- "variable_name": "string",
- "bounding_box": "string",
- "original_text_value": "string",
- "step_number": "string"
}
]
}
], - "step_detection_targets": [
- {
- "id": 0,
- "step_id": 0,
- "detection_target_id": 0,
- "detection_target_uuid": "string",
- "bbox_x": 0,
- "bbox_y": 0,
- "bbox_width": 0,
- "bbox_height": 0,
- "description": "string",
- "score": 0,
- "created_at": {
- "seconds": "string",
- "nanos": 0
}, - "updated_at": {
- "seconds": "string",
- "nanos": 0
}, - "manually_adjusted": true,
- "correct": true,
- "part_number": "string",
- "display_id": "string",
- "label": "string",
- "detection_target": {
- "id": 0,
- "uuid": "string",
- "model_id": 0,
- "label": "string",
- "display_id": "string",
- "part_number": "string",
- "description": "string",
- "linked_assemblies": [
- "string"
], - "created_at": {
- "seconds": "string",
- "nanos": 0
}, - "updated_at": {
- "seconds": "string",
- "nanos": 0
}, - "image_samples": [
- {
- "id": null,
- "uuid": null,
- "detection_target_id": null,
- "file_path": null,
- "width": null,
- "height": null,
- "capture_date": null,
- "capture_conditions": null,
- "created_at": null,
- "augmented": null,
- "correct": null,
- "label": null,
- "annotations": [ ]
}
], - "trained": true,
- "pending": true
}
}
], - "step_motions": [
- {
- "id": 0,
- "step_id": 0,
- "motion_type": "string",
- "sequence_order": 0,
- "step_positions": [
- {
- "id": 0,
- "step_motion_id": 0,
- "device_id": "string",
- "position_name": "string",
- "sequence_order": 0,
- "dwell_time_seconds": 0,
- "axis_positions": [
- null
], - "created_at": {
- "seconds": null,
- "nanos": null
}, - "updated_at": {
- "seconds": null,
- "nanos": null
}, - "roi_zoom": "string"
}
], - "created_at": {
- "seconds": "string",
- "nanos": 0
}, - "updated_at": {
- "seconds": "string",
- "nanos": 0
}, - "capture_all_images": true,
- "enabled": true
}
]
}
]
}, - "augmentation": {
- "id": "string",
- "assembly_id": {
- "uuid": "string"
}, - "lighting_aug": 0,
- "placement_aug": 0,
- "color_aug": 0,
- "prompt": "string",
- "negative_prompt": "string"
}, - "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}, - "classes": [
- "string"
], - "product_version": "string",
- "model_version": "string",
- "published": true,
- "approver": "string",
- "notes": "string",
- "record_videos": true,
- "last_edited": {
- "seconds": "string",
- "nanos": 0
}, - "active": true
}
}Create or Update a specific assembly
path Parameters
| assembly_id required | string |
Request Body schema: application/json
object (AssemblyId) | |
| name | string |
| description | string |
| image_link | string |
| tenant_id | string |
| training_complete | boolean |
object (AssemblyId) | |
object (AssemblyId) | |
| revision | integer <int32> |
object (Steps) | |
object (Augmentation) | |
object (DatabaseOptions) | |
| classes | Array of strings |
| product_version | string |
| model_version | string |
| published | boolean |
| approver | string |
| notes | string |
| record_videos | boolean |
object (Timestamp) | |
| active | boolean |
Responses
Request samples
- Payload
{- "id": {
- "uuid": "string"
}, - "name": "string",
- "description": "string",
- "image_link": "string",
- "tenant_id": "string",
- "training_complete": true,
- "revision_id": {
- "uuid": "string"
}, - "parent_id": {
- "uuid": "string"
}, - "revision": 0,
- "steps": {
- "steps": [
- {
- "id": "string",
- "name": "string",
- "description": "string",
- "image_link": "string",
- "video_link": "string",
- "overlay_link": "string",
- "minimum_predict": 0,
- "benchmark": 0,
- "roi_zoom": "string",
- "camera_id": "string",
- "perspective_change": true,
- "mask_perspective": true,
- "training_required": true,
- "classes": [
- "string"
], - "assembly_id": {
- "uuid": "string"
}, - "next_step_id": "string",
- "previous_step_id": "string",
- "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}, - "step_data": [
- {
- "step_data_info": [
- {
- "id": "string",
- "label": "string",
- "link": "string",
- "value": "string",
- "step_data_id": "string",
- "type": "string",
- "name": "string",
- "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": null,
- "nanos": null
}, - "end_date": {
- "seconds": null,
- "nanos": null
}
}
}
], - "id": "string",
- "step_id": "string",
- "data_type": "ml",
- "units": "string",
- "name": "string",
- "tolerance": 0,
- "auto_align": true,
- "torque_data": {
- "program_id": 0,
- "target_torque": 0,
- "max_torque": 0,
- "torque_unit": "string",
- "run_speed": 0,
- "final_speed": 0,
- "speed_unit": "string",
- "torque_series": [
- 0
], - "angle_series": [
- 0
], - "final_angle": 0,
- "angle_threshold": 0,
- "verify_angle": true,
- "min_torque": 0,
- "downshift_enabled": true,
- "angle_check_start_threshold": 0
}, - "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}, - "ocr_capture_variable_info": [
- {
- "variable_name": "string",
- "bounding_box": "string",
- "original_text_value": "string",
- "step_number": "string"
}
]
}
], - "step_detection_targets": [
- {
- "id": 0,
- "step_id": 0,
- "detection_target_id": 0,
- "detection_target_uuid": "string",
- "bbox_x": 0,
- "bbox_y": 0,
- "bbox_width": 0,
- "bbox_height": 0,
- "description": "string",
- "score": 0,
- "created_at": {
- "seconds": "string",
- "nanos": 0
}, - "updated_at": {
- "seconds": "string",
- "nanos": 0
}, - "manually_adjusted": true,
- "correct": true,
- "part_number": "string",
- "display_id": "string",
- "label": "string",
- "detection_target": {
- "id": 0,
- "uuid": "string",
- "model_id": 0,
- "label": "string",
- "display_id": "string",
- "part_number": "string",
- "description": "string",
- "linked_assemblies": [
- "string"
], - "created_at": {
- "seconds": "string",
- "nanos": 0
}, - "updated_at": {
- "seconds": "string",
- "nanos": 0
}, - "image_samples": [
- {
- "id": 0,
- "uuid": "string",
- "detection_target_id": 0,
- "file_path": "string",
- "width": 0,
- "height": 0,
- "capture_date": {
- "seconds": null,
- "nanos": null
}, - "capture_conditions": "string",
- "created_at": {
- "seconds": null,
- "nanos": null
}, - "augmented": true,
- "correct": true,
- "label": "string",
- "annotations": [
- null
]
}
], - "trained": true,
- "pending": true
}
}
], - "step_motions": [
- {
- "id": 0,
- "step_id": 0,
- "motion_type": "string",
- "sequence_order": 0,
- "step_positions": [
- {
- "id": 0,
- "step_motion_id": 0,
- "device_id": "string",
- "position_name": "string",
- "sequence_order": 0,
- "dwell_time_seconds": 0,
- "axis_positions": [
- {
- "component_id": null,
- "axis_type": null,
- "units": null,
- "axis_value": null,
- "start_value": null,
- "end_value": null,
- "step_distance": null
}
], - "created_at": {
- "seconds": "string",
- "nanos": 0
}, - "updated_at": {
- "seconds": "string",
- "nanos": 0
}, - "roi_zoom": "string"
}
], - "created_at": {
- "seconds": "string",
- "nanos": 0
}, - "updated_at": {
- "seconds": "string",
- "nanos": 0
}, - "capture_all_images": true,
- "enabled": true
}
]
}
]
}, - "augmentation": {
- "id": "string",
- "assembly_id": {
- "uuid": "string"
}, - "lighting_aug": 0,
- "placement_aug": 0,
- "color_aug": 0,
- "prompt": "string",
- "negative_prompt": "string"
}, - "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}, - "classes": [
- "string"
], - "product_version": "string",
- "model_version": "string",
- "published": true,
- "approver": "string",
- "notes": "string",
- "record_videos": true,
- "last_edited": {
- "seconds": "string",
- "nanos": 0
}, - "active": true
}Response samples
- 200
{- "status": "string",
- "msg": {
- "uuid": "string"
}
}Retrieve all defined OCR Capture Variables
An OCR Capture Variable is a variable defined in a Serial Number Capture step. This retrieves all variables defined in every Serial Number Capture step for a specific assembly.
path Parameters
| assembly_id required | string Example: af7ad140-9548-4bef-8c9b-792e80d3f687 The ID of the assembly |
Responses
Response samples
- 200
{- "status": "string",
- "msg": [
- {
- "variable_name": "string",
- "bounding_box": "string",
- "original_text_value": "string",
- "step_number": "string"
}
]
}Get all steps for a specific assembly
Each assembly is made up of Steps. During coaching, these steps are shown to the operator chronologically to guide them from start to completion of the assembly. This endpoint retrieves every Step for a specific assembly.
path Parameters
| assembly_id required | string Example: 57618016-cd00-4fc8-85f5-e4b26304c6ba The ID of the assembly |
Responses
Response samples
- 200
- 404
{- "status": "string",
- "msg": [
- {
- "id": "string",
- "name": "string",
- "description": "string",
- "image_link": "string",
- "video_link": "string",
- "overlay_link": "string",
- "minimum_predict": 0,
- "benchmark": 0,
- "roi_zoom": "string",
- "camera_id": "string",
- "perspective_change": true,
- "mask_perspective": true,
- "training_required": true,
- "classes": [
- "string"
], - "assembly_id": {
- "uuid": "string"
}, - "next_step_id": "string",
- "previous_step_id": "string",
- "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}, - "step_data": [
- {
- "step_data_info": [
- {
- "id": "string",
- "label": "string",
- "link": "string",
- "value": "string",
- "step_data_id": "string",
- "type": "string",
- "name": "string",
- "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}
}
], - "id": "string",
- "step_id": "string",
- "data_type": "ml",
- "units": "string",
- "name": "string",
- "tolerance": 0,
- "auto_align": true,
- "torque_data": {
- "program_id": 0,
- "target_torque": 0,
- "max_torque": 0,
- "torque_unit": "string",
- "run_speed": 0,
- "final_speed": 0,
- "speed_unit": "string",
- "torque_series": [
- 0
], - "angle_series": [
- 0
], - "final_angle": 0,
- "angle_threshold": 0,
- "verify_angle": true,
- "min_torque": 0,
- "downshift_enabled": true,
- "angle_check_start_threshold": 0
}, - "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}, - "ocr_capture_variable_info": [
- {
- "variable_name": "string",
- "bounding_box": "string",
- "original_text_value": "string",
- "step_number": "string"
}
]
}
], - "step_detection_targets": [
- {
- "id": 0,
- "step_id": 0,
- "detection_target_id": 0,
- "detection_target_uuid": "string",
- "bbox_x": 0,
- "bbox_y": 0,
- "bbox_width": 0,
- "bbox_height": 0,
- "description": "string",
- "score": 0,
- "created_at": {
- "seconds": "string",
- "nanos": 0
}, - "updated_at": {
- "seconds": "string",
- "nanos": 0
}, - "manually_adjusted": true,
- "correct": true,
- "part_number": "string",
- "display_id": "string",
- "label": "string",
- "detection_target": {
- "id": 0,
- "uuid": "string",
- "model_id": 0,
- "label": "string",
- "display_id": "string",
- "part_number": "string",
- "description": "string",
- "linked_assemblies": [
- "string"
], - "created_at": {
- "seconds": "string",
- "nanos": 0
}, - "updated_at": {
- "seconds": "string",
- "nanos": 0
}, - "image_samples": [
- {
- "id": 0,
- "uuid": "string",
- "detection_target_id": 0,
- "file_path": "string",
- "width": 0,
- "height": 0,
- "capture_date": {
- "seconds": "string",
- "nanos": 0
}, - "capture_conditions": "string",
- "created_at": {
- "seconds": "string",
- "nanos": 0
}, - "augmented": true,
- "correct": true,
- "label": "string",
- "annotations": [
- {
- "id": null,
- "uuid": null,
- "image_sample_id": null,
- "bbox_x": null,
- "bbox_y": null,
- "bbox_width": null,
- "bbox_height": null,
- "created_at": null,
- "confidence": null,
- "similarity": null,
- "center_x": null,
- "center_y": null,
- "category": null,
- "label": null
}
]
}
], - "trained": true,
- "pending": true
}
}
], - "step_motions": [
- {
- "id": 0,
- "step_id": 0,
- "motion_type": "string",
- "sequence_order": 0,
- "step_positions": [
- {
- "id": 0,
- "step_motion_id": 0,
- "device_id": "string",
- "position_name": "string",
- "sequence_order": 0,
- "dwell_time_seconds": 0,
- "axis_positions": [
- {
- "component_id": "string",
- "axis_type": "string",
- "units": "string",
- "axis_value": 0,
- "start_value": 0,
- "end_value": 0,
- "step_distance": 0
}
], - "created_at": {
- "seconds": "string",
- "nanos": 0
}, - "updated_at": {
- "seconds": "string",
- "nanos": 0
}, - "roi_zoom": "string"
}
], - "created_at": {
- "seconds": "string",
- "nanos": 0
}, - "updated_at": {
- "seconds": "string",
- "nanos": 0
}, - "capture_all_images": true,
- "enabled": true
}
]
}
]
}Append a new step to a specific assembly
path Parameters
| assembly_id required | string |
Request Body schema: application/json
| name | string |
| description | string |
| image_link | string |
| video_link | string |
| overlay_link | string |
| minimum_predict | number <float> |
| benchmark | number <float> |
| roi_zoom | string |
| camera_id | string |
object (AssemblyId) |
Responses
Request samples
- Payload
{- "name": "string",
- "description": "string",
- "image_link": "string",
- "video_link": "string",
- "overlay_link": "string",
- "minimum_predict": 0,
- "benchmark": 0,
- "roi_zoom": "string",
- "camera_id": "string",
- "assembly_id": {
- "uuid": "string"
}
}Response samples
- 200
{- "id": 0
}Get a step from a specific assembly
path Parameters
| assembly_id required | string |
| step_id required | string |
Responses
Response samples
- 200
- 404
{- "status": "string",
- "msg": {
- "id": "string",
- "name": "string",
- "description": "string",
- "image_link": "string",
- "video_link": "string",
- "overlay_link": "string",
- "minimum_predict": 0,
- "benchmark": 0,
- "roi_zoom": "string",
- "camera_id": "string",
- "perspective_change": true,
- "mask_perspective": true,
- "training_required": true,
- "classes": [
- "string"
], - "assembly_id": {
- "uuid": "string"
}, - "next_step_id": "string",
- "previous_step_id": "string",
- "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}, - "step_data": [
- {
- "step_data_info": [
- {
- "id": "string",
- "label": "string",
- "link": "string",
- "value": "string",
- "step_data_id": "string",
- "type": "string",
- "name": "string",
- "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}
}
], - "id": "string",
- "step_id": "string",
- "data_type": "ml",
- "units": "string",
- "name": "string",
- "tolerance": 0,
- "auto_align": true,
- "torque_data": {
- "program_id": 0,
- "target_torque": 0,
- "max_torque": 0,
- "torque_unit": "string",
- "run_speed": 0,
- "final_speed": 0,
- "speed_unit": "string",
- "torque_series": [
- 0
], - "angle_series": [
- 0
], - "final_angle": 0,
- "angle_threshold": 0,
- "verify_angle": true,
- "min_torque": 0,
- "downshift_enabled": true,
- "angle_check_start_threshold": 0
}, - "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}, - "ocr_capture_variable_info": [
- {
- "variable_name": "string",
- "bounding_box": "string",
- "original_text_value": "string",
- "step_number": "string"
}
]
}
], - "step_detection_targets": [
- {
- "id": 0,
- "step_id": 0,
- "detection_target_id": 0,
- "detection_target_uuid": "string",
- "bbox_x": 0,
- "bbox_y": 0,
- "bbox_width": 0,
- "bbox_height": 0,
- "description": "string",
- "score": 0,
- "created_at": {
- "seconds": "string",
- "nanos": 0
}, - "updated_at": {
- "seconds": "string",
- "nanos": 0
}, - "manually_adjusted": true,
- "correct": true,
- "part_number": "string",
- "display_id": "string",
- "label": "string",
- "detection_target": {
- "id": 0,
- "uuid": "string",
- "model_id": 0,
- "label": "string",
- "display_id": "string",
- "part_number": "string",
- "description": "string",
- "linked_assemblies": [
- "string"
], - "created_at": {
- "seconds": "string",
- "nanos": 0
}, - "updated_at": {
- "seconds": "string",
- "nanos": 0
}, - "image_samples": [
- {
- "id": 0,
- "uuid": "string",
- "detection_target_id": 0,
- "file_path": "string",
- "width": 0,
- "height": 0,
- "capture_date": {
- "seconds": "string",
- "nanos": 0
}, - "capture_conditions": "string",
- "created_at": {
- "seconds": "string",
- "nanos": 0
}, - "augmented": true,
- "correct": true,
- "label": "string",
- "annotations": [
- {
- "id": 0,
- "uuid": "string",
- "image_sample_id": 0,
- "bbox_x": 0,
- "bbox_y": 0,
- "bbox_width": 0,
- "bbox_height": 0,
- "created_at": {
- "seconds": null,
- "nanos": null
}, - "confidence": 0,
- "similarity": 0,
- "center_x": 0,
- "center_y": 0,
- "category": "string",
- "label": "string"
}
]
}
], - "trained": true,
- "pending": true
}
}
], - "step_motions": [
- {
- "id": 0,
- "step_id": 0,
- "motion_type": "string",
- "sequence_order": 0,
- "step_positions": [
- {
- "id": 0,
- "step_motion_id": 0,
- "device_id": "string",
- "position_name": "string",
- "sequence_order": 0,
- "dwell_time_seconds": 0,
- "axis_positions": [
- {
- "component_id": "string",
- "axis_type": "string",
- "units": "string",
- "axis_value": 0,
- "start_value": 0,
- "end_value": 0,
- "step_distance": 0
}
], - "created_at": {
- "seconds": "string",
- "nanos": 0
}, - "updated_at": {
- "seconds": "string",
- "nanos": 0
}, - "roi_zoom": "string"
}
], - "created_at": {
- "seconds": "string",
- "nanos": 0
}, - "updated_at": {
- "seconds": "string",
- "nanos": 0
}, - "capture_all_images": true,
- "enabled": true
}
]
}
}Update information about a specific step
path Parameters
| assembly_id required | string |
| step_id required | string |
Request Body schema: application/json
| id | string |
| name | string |
| description | string |
| image_link | string |
| video_link | string |
| overlay_link | string |
| minimum_predict | number <float> |
| benchmark | number <float> |
| roi_zoom | string |
| camera_id | string |
| perspective_change | boolean |
| mask_perspective | boolean |
| training_required | boolean |
| classes | Array of strings |
object (AssemblyId) | |
| next_step_id | string |
| previous_step_id | string |
object (DatabaseOptions) | |
Array of objects (StepData) | |
Array of objects (StepDetectionTarget) | |
Array of objects (StepMotion) |
Responses
Request samples
- Payload
{- "id": "string",
- "name": "string",
- "description": "string",
- "image_link": "string",
- "video_link": "string",
- "overlay_link": "string",
- "minimum_predict": 0,
- "benchmark": 0,
- "roi_zoom": "string",
- "camera_id": "string",
- "perspective_change": true,
- "mask_perspective": true,
- "training_required": true,
- "classes": [
- "string"
], - "assembly_id": {
- "uuid": "string"
}, - "next_step_id": "string",
- "previous_step_id": "string",
- "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}, - "step_data": [
- {
- "step_data_info": [
- {
- "id": "string",
- "label": "string",
- "link": "string",
- "value": "string",
- "step_data_id": "string",
- "type": "string",
- "name": "string",
- "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}
}
], - "id": "string",
- "step_id": "string",
- "data_type": "ml",
- "units": "string",
- "name": "string",
- "tolerance": 0,
- "auto_align": true,
- "torque_data": {
- "program_id": 0,
- "target_torque": 0,
- "max_torque": 0,
- "torque_unit": "string",
- "run_speed": 0,
- "final_speed": 0,
- "speed_unit": "string",
- "torque_series": [
- 0
], - "angle_series": [
- 0
], - "final_angle": 0,
- "angle_threshold": 0,
- "verify_angle": true,
- "min_torque": 0,
- "downshift_enabled": true,
- "angle_check_start_threshold": 0
}, - "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}, - "ocr_capture_variable_info": [
- {
- "variable_name": "string",
- "bounding_box": "string",
- "original_text_value": "string",
- "step_number": "string"
}
]
}
], - "step_detection_targets": [
- {
- "id": 0,
- "step_id": 0,
- "detection_target_id": 0,
- "detection_target_uuid": "string",
- "bbox_x": 0,
- "bbox_y": 0,
- "bbox_width": 0,
- "bbox_height": 0,
- "description": "string",
- "score": 0,
- "created_at": {
- "seconds": "string",
- "nanos": 0
}, - "updated_at": {
- "seconds": "string",
- "nanos": 0
}, - "manually_adjusted": true,
- "correct": true,
- "part_number": "string",
- "display_id": "string",
- "label": "string",
- "detection_target": {
- "id": 0,
- "uuid": "string",
- "model_id": 0,
- "label": "string",
- "display_id": "string",
- "part_number": "string",
- "description": "string",
- "linked_assemblies": [
- "string"
], - "created_at": {
- "seconds": "string",
- "nanos": 0
}, - "updated_at": {
- "seconds": "string",
- "nanos": 0
}, - "image_samples": [
- {
- "id": 0,
- "uuid": "string",
- "detection_target_id": 0,
- "file_path": "string",
- "width": 0,
- "height": 0,
- "capture_date": {
- "seconds": "string",
- "nanos": 0
}, - "capture_conditions": "string",
- "created_at": {
- "seconds": "string",
- "nanos": 0
}, - "augmented": true,
- "correct": true,
- "label": "string",
- "annotations": [
- {
- "id": 0,
- "uuid": "string",
- "image_sample_id": 0,
- "bbox_x": 0,
- "bbox_y": 0,
- "bbox_width": 0,
- "bbox_height": 0,
- "created_at": {
- "seconds": "string",
- "nanos": 0
}, - "confidence": 0,
- "similarity": 0,
- "center_x": 0,
- "center_y": 0,
- "category": "string",
- "label": "string"
}
]
}
], - "trained": true,
- "pending": true
}
}
], - "step_motions": [
- {
- "id": 0,
- "step_id": 0,
- "motion_type": "string",
- "sequence_order": 0,
- "step_positions": [
- {
- "id": 0,
- "step_motion_id": 0,
- "device_id": "string",
- "position_name": "string",
- "sequence_order": 0,
- "dwell_time_seconds": 0,
- "axis_positions": [
- {
- "component_id": "string",
- "axis_type": "string",
- "units": "string",
- "axis_value": 0,
- "start_value": 0,
- "end_value": 0,
- "step_distance": 0
}
], - "created_at": {
- "seconds": "string",
- "nanos": 0
}, - "updated_at": {
- "seconds": "string",
- "nanos": 0
}, - "roi_zoom": "string"
}
], - "created_at": {
- "seconds": "string",
- "nanos": 0
}, - "updated_at": {
- "seconds": "string",
- "nanos": 0
}, - "capture_all_images": true,
- "enabled": true
}
]
}Response samples
- 200
{- "id": 0
}Response samples
- 200
{- "status": "string",
- "msg": {
- "id": "string",
- "assembly_id": {
- "uuid": "string"
}, - "lighting_aug": 0,
- "placement_aug": 0,
- "color_aug": 0,
- "prompt": "string",
- "negative_prompt": "string"
}
}Add or Update information of an augmentation for a specific assembly
path Parameters
| assembly_id required | string |
Request Body schema: application/json
| id | string |
object (AssemblyId) | |
| lighting_aug | number <float> |
| placement_aug | number <float> |
| color_aug | number <float> |
| prompt | string |
| negative_prompt | string |
Responses
Request samples
- Payload
{- "id": "string",
- "assembly_id": {
- "uuid": "string"
}, - "lighting_aug": 0,
- "placement_aug": 0,
- "color_aug": 0,
- "prompt": "string",
- "negative_prompt": "string"
}Response samples
- 200
{- "status": "string",
- "msg": {
- "uuid": "string"
}
}Retrieve performance information of an operator for a specific assembly.
path Parameters
| record_id required | string |
| operator_id required | string |
Responses
Response samples
- 200
{- "status": "string",
- "msg": {
- "operator_metrics": [
- {
- "operator": {
- "id": "string",
- "first_name": "string",
- "last_name": "string",
- "num_records": 0,
- "role": "string",
- "rfid": "string",
- "password": "string",
- "active": true,
- "has_password": true,
- "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}
}, - "step": {
- "id": "string",
- "name": "string",
- "description": "string",
- "image_link": "string",
- "video_link": "string",
- "overlay_link": "string",
- "minimum_predict": 0,
- "benchmark": 0,
- "roi_zoom": "string",
- "camera_id": "string",
- "perspective_change": true,
- "mask_perspective": true,
- "training_required": true,
- "classes": [
- "string"
], - "assembly_id": {
- "uuid": "string"
}, - "next_step_id": "string",
- "previous_step_id": "string",
- "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}, - "step_data": [
- {
- "step_data_info": [
- {
- "id": "string",
- "label": "string",
- "link": "string",
- "value": "string",
- "step_data_id": "string",
- "type": "string",
- "name": "string",
- "options": {
- "page": null,
- "page_size": null,
- "start_date": null,
- "end_date": null
}
}
], - "id": "string",
- "step_id": "string",
- "data_type": "ml",
- "units": "string",
- "name": "string",
- "tolerance": 0,
- "auto_align": true,
- "torque_data": {
- "program_id": 0,
- "target_torque": 0,
- "max_torque": 0,
- "torque_unit": "string",
- "run_speed": 0,
- "final_speed": 0,
- "speed_unit": "string",
- "torque_series": [
- 0
], - "angle_series": [
- 0
], - "final_angle": 0,
- "angle_threshold": 0,
- "verify_angle": true,
- "min_torque": 0,
- "downshift_enabled": true,
- "angle_check_start_threshold": 0
}, - "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}, - "ocr_capture_variable_info": [
- {
- "variable_name": "string",
- "bounding_box": "string",
- "original_text_value": "string",
- "step_number": "string"
}
]
}
], - "step_detection_targets": [
- {
- "id": 0,
- "step_id": 0,
- "detection_target_id": 0,
- "detection_target_uuid": "string",
- "bbox_x": 0,
- "bbox_y": 0,
- "bbox_width": 0,
- "bbox_height": 0,
- "description": "string",
- "score": 0,
- "created_at": {
- "seconds": "string",
- "nanos": 0
}, - "updated_at": {
- "seconds": "string",
- "nanos": 0
}, - "manually_adjusted": true,
- "correct": true,
- "part_number": "string",
- "display_id": "string",
- "label": "string",
- "detection_target": {
- "id": 0,
- "uuid": "string",
- "model_id": 0,
- "label": "string",
- "display_id": "string",
- "part_number": "string",
- "description": "string",
- "linked_assemblies": [
- "string"
], - "created_at": {
- "seconds": "string",
- "nanos": 0
}, - "updated_at": {
- "seconds": "string",
- "nanos": 0
}, - "image_samples": [
- {
- "id": null,
- "uuid": null,
- "detection_target_id": null,
- "file_path": null,
- "width": null,
- "height": null,
- "capture_date": null,
- "capture_conditions": null,
- "created_at": null,
- "augmented": null,
- "correct": null,
- "label": null,
- "annotations": [ ]
}
], - "trained": true,
- "pending": true
}
}
], - "step_motions": [
- {
- "id": 0,
- "step_id": 0,
- "motion_type": "string",
- "sequence_order": 0,
- "step_positions": [
- {
- "id": 0,
- "step_motion_id": 0,
- "device_id": "string",
- "position_name": "string",
- "sequence_order": 0,
- "dwell_time_seconds": 0,
- "axis_positions": [
- null
], - "created_at": {
- "seconds": null,
- "nanos": null
}, - "updated_at": {
- "seconds": null,
- "nanos": null
}, - "roi_zoom": "string"
}
], - "created_at": {
- "seconds": "string",
- "nanos": 0
}, - "updated_at": {
- "seconds": "string",
- "nanos": 0
}, - "capture_all_images": true,
- "enabled": true
}
]
}, - "assembly_id": {
- "uuid": "string"
}, - "step_record": {
- "id": "string",
- "prediction": 0,
- "complete": true,
- "time_taken": 0,
- "metric_datetime": "string",
- "delta_from_benchmark": 0,
- "benchmark": 0,
- "skipped": true,
- "supervisor_override": true,
- "torque_data": {
- "program_id": 0,
- "target_torque": 0,
- "max_torque": 0,
- "torque_unit": "string",
- "run_speed": 0,
- "final_speed": 0,
- "speed_unit": "string",
- "torque_series": [
- 0
], - "angle_series": [
- 0
], - "final_angle": 0,
- "angle_threshold": 0,
- "verify_angle": true,
- "min_torque": 0,
- "downshift_enabled": true,
- "angle_check_start_threshold": 0
}, - "num_incorrect": 0,
- "is_rework": true
}, - "assembly_record": {
- "id": {
- "uuid": "string"
}, - "ref_assembly_id": {
- "uuid": "string"
}, - "ref_assembly": {
- "id": {
- "uuid": "string"
}, - "name": "string",
- "description": "string",
- "image_link": "string",
- "tenant_id": "string",
- "training_complete": true,
- "revision_id": {
- "uuid": "string"
}, - "parent_id": {
- "uuid": "string"
}, - "revision": 0,
- "steps": {
- "steps": [
- {
- "id": "string",
- "name": "string",
- "description": "string",
- "image_link": "string",
- "video_link": "string",
- "overlay_link": "string",
- "minimum_predict": 0,
- "benchmark": 0,
- "roi_zoom": "string",
- "camera_id": "string",
- "perspective_change": true,
- "mask_perspective": true,
- "training_required": true,
- "classes": [
- null
], - "assembly_id": {
- "uuid": null
}, - "next_step_id": "string",
- "previous_step_id": "string",
- "options": {
- "page": null,
- "page_size": null,
- "start_date": null,
- "end_date": null
}, - "step_data": [
- null
], - "step_detection_targets": [
- null
], - "step_motions": [
- null
]
}
]
}, - "augmentation": {
- "id": "string",
- "assembly_id": {
- "uuid": "string"
}, - "lighting_aug": 0,
- "placement_aug": 0,
- "color_aug": 0,
- "prompt": "string",
- "negative_prompt": "string"
}, - "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}, - "classes": [
- "string"
], - "product_version": "string",
- "model_version": "string",
- "published": true,
- "approver": "string",
- "notes": "string",
- "record_videos": true,
- "last_edited": {
- "seconds": "string",
- "nanos": 0
}, - "active": true
}, - "operator": {
- "id": "string",
- "first_name": "string",
- "last_name": "string",
- "num_records": 0,
- "role": "string",
- "rfid": "string",
- "password": "string",
- "active": true,
- "has_password": true,
- "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}
}, - "benchmark": 0,
- "complete": true,
- "assembly_record_datetime": "string",
- "num_records": 0,
- "qa_report_link": "string",
- "ocr_capture_variable_records": {
- "ocr_capture_variable_records": [
- {
- "id": "string",
- "assembly_record_id": "string",
- "step_id": "string",
- "variable_name": "string",
- "variable_value": "string"
}
]
}, - "quality_hold": true,
- "time_taken": 0,
- "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}, - "is_rework": true,
- "original_assembly_record_id": "string",
- "resume_from_step_id": 0,
- "rework_id": "string",
- "rework_reason": "string",
- "resumed_by_record_id": "string",
- "rework_completed": true
}, - "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}
}
], - "avg_time": 0,
- "avg_step_time": 0,
- "quality": 0,
- "ocr_capture_variable_records": {
- "ocr_capture_variable_records": [
- {
- "id": "string",
- "assembly_record_id": "string",
- "step_id": "string",
- "variable_name": "string",
- "variable_value": "string"
}
]
}
}
}Checks if a given ocr capture variable type is in use on any assembly. Returns an 'in_use' status and information on the assemblies that reference the variable
Responses
Response samples
- 200
- 400
{- "status": "string",
- "msg": {
- "in_use": true,
- "assembly_count": 0,
- "assemblies": [
- {
- "assembly_id": "string",
- "assembly_name": "string",
- "steps": [
- {
- "step_id": "string"
}
]
}
]
}
}Renames an existing ocr_capture_variable pair. Updates all references to utilize the revised name
Responses
Response samples
- 200
- 400
{- "status": "string",
- "msg": {
- "code": "string",
- "product_version": "string",
- "msg": "string",
- "count": 0,
- "target": "string",
- "err_code": "string"
}
}Retrieve all defined OCR Capture Variables for a specific step
An OCR Capture Variable is a variable defined in a Serial Number Capture step. Given a Step ID, this retrieves all variables defined for that specific step.
path Parameters
| step_id required | integer Example: 245 The Step ID in question |
Responses
Response samples
- 200
{- "status": "string",
- "msg": [
- {
- "variable_name": "string",
- "bounding_box": "string",
- "original_text_value": "string",
- "step_number": "string"
}
]
}Delete all OCR Capture Variables for a specific step
An OCR Capture Variable is a variable defined in a Serial Number Capture step. Given a Step ID, this retrieves all variables defined for that specific step.
path Parameters
| step_id required | string |
Responses
Response samples
- 200
{- "status": "ok",
- "msg": ""
}Retrieve step data for a specific step
Each Step is made up of StepData, an array of actions that describe what occurs in this Step. This returns all StepData for a specific Step.
path Parameters
| step_id required | string |
Responses
Response samples
- 200
{- "status": "string",
- "msg": {
- "step_data_info": [
- {
- "id": "string",
- "label": "string",
- "link": "string",
- "value": "string",
- "step_data_id": "string",
- "type": "string",
- "name": "string",
- "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}
}
], - "id": "string",
- "step_id": "string",
- "data_type": "ml",
- "units": "string",
- "name": "string",
- "tolerance": 0,
- "auto_align": true,
- "torque_data": {
- "program_id": 0,
- "target_torque": 0,
- "max_torque": 0,
- "torque_unit": "string",
- "run_speed": 0,
- "final_speed": 0,
- "speed_unit": "string",
- "torque_series": [
- 0
], - "angle_series": [
- 0
], - "final_angle": 0,
- "angle_threshold": 0,
- "verify_angle": true,
- "min_torque": 0,
- "downshift_enabled": true,
- "angle_check_start_threshold": 0
}, - "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}, - "ocr_capture_variable_info": [
- {
- "variable_name": "string",
- "bounding_box": "string",
- "original_text_value": "string",
- "step_number": "string"
}
]
}
}Add step data to a specific step
path Parameters
| step_id required | string |
Request Body schema: application/json
Array of objects (StepDataInfo) | |
| data_type | string Describes what this StepData's action refers to. Possible values are: 'ml', 'ocr-check', 'ocr-capture', 'ocr-verify', 'torque', 'input', 'output', 'qa'. |
| units | string |
| name | string |
| tolerance | number <float> |
| auto_align | boolean |
object (TorqueData) | |
object (DatabaseOptions) | |
Array of objects (OCRCaptureVariableInfo) |
Responses
Request samples
- Payload
{- "step_data_info": [
- {
- "id": "string",
- "label": "string",
- "link": "string",
- "value": "string",
- "step_data_id": "string",
- "type": "string",
- "name": "string",
- "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}
}
], - "data_type": "ml",
- "units": "string",
- "name": "string",
- "tolerance": 0,
- "auto_align": true,
- "torque_data": {
- "program_id": 0,
- "target_torque": 0,
- "max_torque": 0,
- "torque_unit": "string",
- "run_speed": 0,
- "final_speed": 0,
- "speed_unit": "string",
- "torque_series": [
- 0
], - "angle_series": [
- 0
], - "final_angle": 0,
- "angle_threshold": 0,
- "verify_angle": true,
- "min_torque": 0,
- "downshift_enabled": true,
- "angle_check_start_threshold": 0
}, - "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}, - "ocr_capture_variable_info": [
- {
- "variable_name": "string",
- "bounding_box": "string",
- "original_text_value": "string",
- "step_number": "string"
}
]
}Response samples
- 201
{- "id": 0
}Get all StepDataInfo from specific StepData
Just like Steps are made up of StepData, StepData is made up of StepDataInfo. StepDataInfo is primarily key/value pairs that the are utilized for coaching in some way. The Key/Values that the StepDataInfo contains depends on the context of the StepData's data_type field.
path Parameters
| step_id required | string |
| step_data_id required | string |
Responses
Response samples
- 200
{- "status": "string",
- "msg": [
- {
- "id": "string",
- "label": "string",
- "link": "string",
- "value": "string",
- "step_data_id": "string",
- "type": "string",
- "name": "string",
- "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}
}
]
}Add a new StepDataInfo to a specific Step
path Parameters
| step_id required | string |
| step_data_id required | string |
Request Body schema: application/json
| label | string |
| link | string |
| value | string |
| step_data_id | string |
| type | string |
| name | string |
object (DatabaseOptions) |
Responses
Request samples
- Payload
{- "label": "string",
- "link": "string",
- "value": "string",
- "step_data_id": "string",
- "type": "string",
- "name": "string",
- "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}
}Response samples
- 201
{- "id": 0
}Add or Update information about a specific StepData
path Parameters
| step_id required | string |
| step_data_id required | string |
Request Body schema: application/json
Array of objects (StepDataInfo) | |
| id | string |
| step_id | string |
| data_type | string Describes what this StepData's action refers to. Possible values are: 'ml', 'ocr-check', 'ocr-capture', 'ocr-verify', 'torque', 'input', 'output', 'qa'. |
| units | string |
| name | string |
| tolerance | number <float> |
| auto_align | boolean |
object (TorqueData) | |
object (DatabaseOptions) | |
Array of objects (OCRCaptureVariableInfo) |
Responses
Request samples
- Payload
{- "step_data_info": [
- {
- "id": "string",
- "label": "string",
- "link": "string",
- "value": "string",
- "step_data_id": "string",
- "type": "string",
- "name": "string",
- "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}
}
], - "id": "string",
- "step_id": "string",
- "data_type": "ml",
- "units": "string",
- "name": "string",
- "tolerance": 0,
- "auto_align": true,
- "torque_data": {
- "program_id": 0,
- "target_torque": 0,
- "max_torque": 0,
- "torque_unit": "string",
- "run_speed": 0,
- "final_speed": 0,
- "speed_unit": "string",
- "torque_series": [
- 0
], - "angle_series": [
- 0
], - "final_angle": 0,
- "angle_threshold": 0,
- "verify_angle": true,
- "min_torque": 0,
- "downshift_enabled": true,
- "angle_check_start_threshold": 0
}, - "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}, - "ocr_capture_variable_info": [
- {
- "variable_name": "string",
- "bounding_box": "string",
- "original_text_value": "string",
- "step_number": "string"
}
]
}Response samples
- 200
{- "id": 0
}Add or Update information about a specific StepDataInfo
path Parameters
| step_data_info_id required | string |
Request Body schema: application/json
| id | string |
| label | string |
| link | string |
| value | string |
| step_data_id | string |
| type | string |
| name | string |
object (DatabaseOptions) |
Responses
Request samples
- Payload
{- "id": "string",
- "label": "string",
- "link": "string",
- "value": "string",
- "step_data_id": "string",
- "type": "string",
- "name": "string",
- "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}
}Response samples
- 200
{- "id": 0
}Retrieve metrics info from a specific assembly record
Each assembly record is a coaching session performed by a particular operator. Although redundant, the operator ID of the assembly record is required as well.
path Parameters
| assembly_record_id required | string Example: 796f3b09-b3a1-4410-8d1a-c8ba38c0f751 The ID of the assembly record |
| operator_id required | integer Example: 1 The ID of the assembly |
Responses
Response samples
- 200
- 404
{- "status": "string",
- "msg": {
- "operator_metrics": [
- {
- "operator": {
- "id": "string",
- "first_name": "string",
- "last_name": "string",
- "num_records": 0,
- "role": "string",
- "rfid": "string",
- "password": "string",
- "active": true,
- "has_password": true,
- "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}
}, - "step": {
- "id": "string",
- "name": "string",
- "description": "string",
- "image_link": "string",
- "video_link": "string",
- "overlay_link": "string",
- "minimum_predict": 0,
- "benchmark": 0,
- "roi_zoom": "string",
- "camera_id": "string",
- "perspective_change": true,
- "mask_perspective": true,
- "training_required": true,
- "classes": [
- "string"
], - "assembly_id": {
- "uuid": "string"
}, - "next_step_id": "string",
- "previous_step_id": "string",
- "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}, - "step_data": [
- {
- "step_data_info": [
- {
- "id": "string",
- "label": "string",
- "link": "string",
- "value": "string",
- "step_data_id": "string",
- "type": "string",
- "name": "string",
- "options": {
- "page": null,
- "page_size": null,
- "start_date": null,
- "end_date": null
}
}
], - "id": "string",
- "step_id": "string",
- "data_type": "ml",
- "units": "string",
- "name": "string",
- "tolerance": 0,
- "auto_align": true,
- "torque_data": {
- "program_id": 0,
- "target_torque": 0,
- "max_torque": 0,
- "torque_unit": "string",
- "run_speed": 0,
- "final_speed": 0,
- "speed_unit": "string",
- "torque_series": [
- 0
], - "angle_series": [
- 0
], - "final_angle": 0,
- "angle_threshold": 0,
- "verify_angle": true,
- "min_torque": 0,
- "downshift_enabled": true,
- "angle_check_start_threshold": 0
}, - "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}, - "ocr_capture_variable_info": [
- {
- "variable_name": "string",
- "bounding_box": "string",
- "original_text_value": "string",
- "step_number": "string"
}
]
}
], - "step_detection_targets": [
- {
- "id": 0,
- "step_id": 0,
- "detection_target_id": 0,
- "detection_target_uuid": "string",
- "bbox_x": 0,
- "bbox_y": 0,
- "bbox_width": 0,
- "bbox_height": 0,
- "description": "string",
- "score": 0,
- "created_at": {
- "seconds": "string",
- "nanos": 0
}, - "updated_at": {
- "seconds": "string",
- "nanos": 0
}, - "manually_adjusted": true,
- "correct": true,
- "part_number": "string",
- "display_id": "string",
- "label": "string",
- "detection_target": {
- "id": 0,
- "uuid": "string",
- "model_id": 0,
- "label": "string",
- "display_id": "string",
- "part_number": "string",
- "description": "string",
- "linked_assemblies": [
- "string"
], - "created_at": {
- "seconds": "string",
- "nanos": 0
}, - "updated_at": {
- "seconds": "string",
- "nanos": 0
}, - "image_samples": [
- {
- "id": null,
- "uuid": null,
- "detection_target_id": null,
- "file_path": null,
- "width": null,
- "height": null,
- "capture_date": null,
- "capture_conditions": null,
- "created_at": null,
- "augmented": null,
- "correct": null,
- "label": null,
- "annotations": [ ]
}
], - "trained": true,
- "pending": true
}
}
], - "step_motions": [
- {
- "id": 0,
- "step_id": 0,
- "motion_type": "string",
- "sequence_order": 0,
- "step_positions": [
- {
- "id": 0,
- "step_motion_id": 0,
- "device_id": "string",
- "position_name": "string",
- "sequence_order": 0,
- "dwell_time_seconds": 0,
- "axis_positions": [
- null
], - "created_at": {
- "seconds": null,
- "nanos": null
}, - "updated_at": {
- "seconds": null,
- "nanos": null
}, - "roi_zoom": "string"
}
], - "created_at": {
- "seconds": "string",
- "nanos": 0
}, - "updated_at": {
- "seconds": "string",
- "nanos": 0
}, - "capture_all_images": true,
- "enabled": true
}
]
}, - "assembly_id": {
- "uuid": "string"
}, - "step_record": {
- "id": "string",
- "prediction": 0,
- "complete": true,
- "time_taken": 0,
- "metric_datetime": "string",
- "delta_from_benchmark": 0,
- "benchmark": 0,
- "skipped": true,
- "supervisor_override": true,
- "torque_data": {
- "program_id": 0,
- "target_torque": 0,
- "max_torque": 0,
- "torque_unit": "string",
- "run_speed": 0,
- "final_speed": 0,
- "speed_unit": "string",
- "torque_series": [
- 0
], - "angle_series": [
- 0
], - "final_angle": 0,
- "angle_threshold": 0,
- "verify_angle": true,
- "min_torque": 0,
- "downshift_enabled": true,
- "angle_check_start_threshold": 0
}, - "num_incorrect": 0,
- "is_rework": true
}, - "assembly_record": {
- "id": {
- "uuid": "string"
}, - "ref_assembly_id": {
- "uuid": "string"
}, - "ref_assembly": {
- "id": {
- "uuid": "string"
}, - "name": "string",
- "description": "string",
- "image_link": "string",
- "tenant_id": "string",
- "training_complete": true,
- "revision_id": {
- "uuid": "string"
}, - "parent_id": {
- "uuid": "string"
}, - "revision": 0,
- "steps": {
- "steps": [
- {
- "id": "string",
- "name": "string",
- "description": "string",
- "image_link": "string",
- "video_link": "string",
- "overlay_link": "string",
- "minimum_predict": 0,
- "benchmark": 0,
- "roi_zoom": "string",
- "camera_id": "string",
- "perspective_change": true,
- "mask_perspective": true,
- "training_required": true,
- "classes": [
- null
], - "assembly_id": {
- "uuid": null
}, - "next_step_id": "string",
- "previous_step_id": "string",
- "options": {
- "page": null,
- "page_size": null,
- "start_date": null,
- "end_date": null
}, - "step_data": [
- null
], - "step_detection_targets": [
- null
], - "step_motions": [
- null
]
}
]
}, - "augmentation": {
- "id": "string",
- "assembly_id": {
- "uuid": "string"
}, - "lighting_aug": 0,
- "placement_aug": 0,
- "color_aug": 0,
- "prompt": "string",
- "negative_prompt": "string"
}, - "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}, - "classes": [
- "string"
], - "product_version": "string",
- "model_version": "string",
- "published": true,
- "approver": "string",
- "notes": "string",
- "record_videos": true,
- "last_edited": {
- "seconds": "string",
- "nanos": 0
}, - "active": true
}, - "operator": {
- "id": "string",
- "first_name": "string",
- "last_name": "string",
- "num_records": 0,
- "role": "string",
- "rfid": "string",
- "password": "string",
- "active": true,
- "has_password": true,
- "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}
}, - "benchmark": 0,
- "complete": true,
- "assembly_record_datetime": "string",
- "num_records": 0,
- "qa_report_link": "string",
- "ocr_capture_variable_records": {
- "ocr_capture_variable_records": [
- {
- "id": "string",
- "assembly_record_id": "string",
- "step_id": "string",
- "variable_name": "string",
- "variable_value": "string"
}
]
}, - "quality_hold": true,
- "time_taken": 0,
- "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}, - "is_rework": true,
- "original_assembly_record_id": "string",
- "resume_from_step_id": 0,
- "rework_id": "string",
- "rework_reason": "string",
- "resumed_by_record_id": "string",
- "rework_completed": true
}, - "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}
}
], - "avg_time": 0,
- "avg_step_time": 0,
- "quality": 0,
- "ocr_capture_variable_records": {
- "ocr_capture_variable_records": [
- {
- "id": "string",
- "assembly_record_id": "string",
- "step_id": "string",
- "variable_name": "string",
- "variable_value": "string"
}
]
}
}
}Response samples
- 200
- 404
{- "status": "string",
- "msg": {
- "assembly_records": [
- {
- "assembly_record_id": "string",
- "assembly_id": "string",
- "assembly_revisions_id": "string",
- "name": "string",
- "description": "string",
- "revision_number": 0,
- "approver": "string",
- "datetime": "string",
- "complete": true,
- "time_taken": 0,
- "benchmark": 0,
- "software_version": "string",
- "model_version": "string",
- "quality": 0,
- "confidence": 0,
- "performance": 0,
- "performance_explanation": "string",
- "captured_variables": [
- {
- "id": "string",
- "assembly_record_id": "string",
- "step_id": "string",
- "variable_name": "string",
- "variable_value": "string"
}
], - "steps": [
- {
- "step_record_id": "string",
- "step_id": "string",
- "step_number": "string",
- "step_name": "string",
- "datetime": "string",
- "complete": true,
- "prediction": 0,
- "time_taken": 0,
- "supervisor_override": true,
- "skipped": true,
- "status": "string",
- "performance": 0,
- "performance_explanation": "string",
- "type": "string",
- "units": "string",
- "description": "string",
- "torque_data": {
- "program_id": 0,
- "target_torque": 0,
- "max_torque": 0,
- "torque_unit": "string",
- "run_speed": 0,
- "final_speed": 0,
- "speed_unit": "string",
- "torque_series": [
- 0
], - "angle_series": [
- 0
], - "final_angle": 0,
- "angle_threshold": 0,
- "verify_angle": true,
- "min_torque": 0,
- "downshift_enabled": true,
- "angle_check_start_threshold": 0
}, - "benchmark": 0
}
], - "quality_hold": true
}
], - "total_records": 0
}
}Retrieve operator analytics with filtering and sorting
Request Body schema: application/json
object (Timestamp) | |
object (Timestamp) | |
Array of objects (OperatorAnalyticsFilter) | |
object (OperatorAnalyticsSort) | |
| page | integer <int32> |
| page_size | integer <int32> |
| include_steps | boolean |
| include_ocr_variables | boolean |
Responses
Request samples
- Payload
{- "start_datetime": {
- "seconds": "string",
- "nanos": 0
}, - "end_datetime": {
- "seconds": "string",
- "nanos": 0
}, - "filters": [
- {
- "field": "string",
- "operator": "string",
- "value": "string",
- "values": [
- "string"
]
}
], - "sort": {
- "field": "string",
- "direction": "string"
}, - "page": 0,
- "page_size": 0,
- "include_steps": true,
- "include_ocr_variables": true
}Response samples
- 200
- 404
{- "status": "string",
- "msg": {
- "assembly_records": [
- {
- "assembly_record_id": "string",
- "assembly_id": "string",
- "assembly_revisions_id": "string",
- "name": "string",
- "description": "string",
- "revision_number": 0,
- "approver": "string",
- "datetime": "string",
- "complete": true,
- "time_taken": 0,
- "benchmark": 0,
- "qa_report_link": "string",
- "software_version": "string",
- "model_version": "string",
- "quality": 0,
- "confidence": 0,
- "performance": 0,
- "performance_explanation": "string",
- "captured_variables": [
- {
- "id": "string",
- "assembly_record_id": "string",
- "step_id": "string",
- "variable_name": "string",
- "variable_value": "string"
}
], - "steps": [
- {
- "step_record_id": "string",
- "step_id": "string",
- "step_number": "string",
- "step_name": "string",
- "datetime": "string",
- "complete": true,
- "prediction": 0,
- "time_taken": 0,
- "supervisor_override": true,
- "skipped": true,
- "status": "string",
- "performance": 0,
- "performance_explanation": "string",
- "type": "string",
- "units": "string",
- "description": "string",
- "record_torque_data": {
- "program_id": 0,
- "target_torque": 0,
- "max_torque": 0,
- "torque_unit": "string",
- "run_speed": 0,
- "final_speed": 0,
- "speed_unit": "string",
- "torque_series": [
- 0
], - "angle_series": [
- 0
], - "final_angle": 0,
- "angle_threshold": 0,
- "verify_angle": true,
- "min_torque": 0,
- "downshift_enabled": true,
- "angle_check_start_threshold": 0
}, - "benchmark": 0,
- "operator_id": "string",
- "num_incorrect": 0,
- "captured_variable_records": {
- "ocr_capture_variable_records": [
- {
- "id": "string",
- "assembly_record_id": "string",
- "step_id": "string",
- "variable_name": "string",
- "variable_value": "string"
}
]
}, - "step_record_detection_targets": {
- "step_record_detection_targets": [
- {
- "id": 0,
- "step_record_id": 0,
- "detection_target_id": 0,
- "bbox_x": 0,
- "bbox_y": 0,
- "bbox_width": 0,
- "bbox_height": 0,
- "description": "string",
- "score": 0,
- "confidence": 0,
- "created_at": {
- "seconds": null,
- "nanos": null
}, - "updated_at": {
- "seconds": null,
- "nanos": null
}, - "correct": true,
- "step_record_position_id": 0,
- "part_number": "string",
- "display_id": "string",
- "label": "string",
- "detection_target": {
- "id": null,
- "uuid": null,
- "model_id": null,
- "label": null,
- "display_id": null,
- "part_number": null,
- "description": null,
- "linked_assemblies": [ ],
- "created_at": null,
- "updated_at": null,
- "image_samples": [ ],
- "trained": null,
- "pending": null
}, - "category": "string"
}
]
}, - "record_operator_id": 0,
- "step_data_info": {
- "id": "string",
- "label": "string",
- "link": "string",
- "value": "string",
- "step_data_id": "string",
- "type": "string",
- "name": "string",
- "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}
}, - "ocr_capture_variables": {
- "ocr_capture_variables": [
- {
- "variable_name": "string",
- "bounding_box": "string",
- "original_text_value": "string",
- "step_number": "string"
}
]
}, - "design_torque_data": {
- "program_id": 0,
- "target_torque": 0,
- "max_torque": 0,
- "torque_unit": "string",
- "run_speed": 0,
- "final_speed": 0,
- "speed_unit": "string",
- "torque_series": [
- 0
], - "angle_series": [
- 0
], - "final_angle": 0,
- "angle_threshold": 0,
- "verify_angle": true,
- "min_torque": 0,
- "downshift_enabled": true,
- "angle_check_start_threshold": 0
}, - "step_detection_targets": {
- "step_detection_targets": [
- {
- "id": 0,
- "step_id": 0,
- "detection_target_id": 0,
- "detection_target_uuid": "string",
- "bbox_x": 0,
- "bbox_y": 0,
- "bbox_width": 0,
- "bbox_height": 0,
- "description": "string",
- "score": 0,
- "created_at": {
- "seconds": null,
- "nanos": null
}, - "updated_at": {
- "seconds": null,
- "nanos": null
}, - "manually_adjusted": true,
- "correct": true,
- "part_number": "string",
- "display_id": "string",
- "label": "string",
- "detection_target": {
- "id": null,
- "uuid": null,
- "model_id": null,
- "label": null,
- "display_id": null,
- "part_number": null,
- "description": null,
- "linked_assemblies": [ ],
- "created_at": null,
- "updated_at": null,
- "image_samples": [ ],
- "trained": null,
- "pending": null
}
}
]
}, - "operator": {
- "id": "string",
- "first_name": "string",
- "last_name": "string",
- "num_records": 0,
- "role": "string",
- "rfid": "string",
- "password": "string",
- "active": true,
- "has_password": true,
- "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}
}
}
], - "quality_hold": true,
- "operator": {
- "id": "string",
- "first_name": "string",
- "last_name": "string",
- "num_records": 0,
- "role": "string",
- "rfid": "string",
- "password": "string",
- "active": true,
- "has_password": true,
- "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}
}
}
], - "total_pages": 0
}
}Retrieve information about all previous coaching sessions of a specific assembly
path Parameters
| assembly_id required | string Example: 57618016-cd00-4fc8-85f5-e4b26304c6ba The ID of the assembly |
Responses
Response samples
- 200
{- "status": "string",
- "msg": [
- {
- "id": {
- "uuid": "string"
}, - "ref_assembly_id": {
- "uuid": "string"
}, - "ref_assembly": {
- "id": {
- "uuid": "string"
}, - "name": "string",
- "description": "string",
- "image_link": "string",
- "tenant_id": "string",
- "training_complete": true,
- "revision_id": {
- "uuid": "string"
}, - "parent_id": {
- "uuid": "string"
}, - "revision": 0,
- "steps": {
- "steps": [
- {
- "id": "string",
- "name": "string",
- "description": "string",
- "image_link": "string",
- "video_link": "string",
- "overlay_link": "string",
- "minimum_predict": 0,
- "benchmark": 0,
- "roi_zoom": "string",
- "camera_id": "string",
- "perspective_change": true,
- "mask_perspective": true,
- "training_required": true,
- "classes": [
- "string"
], - "assembly_id": {
- "uuid": "string"
}, - "next_step_id": "string",
- "previous_step_id": "string",
- "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}, - "step_data": [
- {
- "step_data_info": [
- null
], - "id": "string",
- "step_id": "string",
- "data_type": "ml",
- "units": "string",
- "name": "string",
- "tolerance": 0,
- "auto_align": true,
- "torque_data": {
- "program_id": null,
- "target_torque": null,
- "max_torque": null,
- "torque_unit": null,
- "run_speed": null,
- "final_speed": null,
- "speed_unit": null,
- "torque_series": [ ],
- "angle_series": [ ],
- "final_angle": null,
- "angle_threshold": null,
- "verify_angle": null,
- "min_torque": null,
- "downshift_enabled": null,
- "angle_check_start_threshold": null
}, - "options": {
- "page": null,
- "page_size": null,
- "start_date": null,
- "end_date": null
}, - "ocr_capture_variable_info": [
- null
]
}
], - "step_detection_targets": [
- {
- "id": 0,
- "step_id": 0,
- "detection_target_id": 0,
- "detection_target_uuid": "string",
- "bbox_x": 0,
- "bbox_y": 0,
- "bbox_width": 0,
- "bbox_height": 0,
- "description": "string",
- "score": 0,
- "created_at": {
- "seconds": null,
- "nanos": null
}, - "updated_at": {
- "seconds": null,
- "nanos": null
}, - "manually_adjusted": true,
- "correct": true,
- "part_number": "string",
- "display_id": "string",
- "label": "string",
- "detection_target": {
- "id": null,
- "uuid": null,
- "model_id": null,
- "label": null,
- "display_id": null,
- "part_number": null,
- "description": null,
- "linked_assemblies": [ ],
- "created_at": null,
- "updated_at": null,
- "image_samples": [ ],
- "trained": null,
- "pending": null
}
}
], - "step_motions": [
- {
- "id": 0,
- "step_id": 0,
- "motion_type": "string",
- "sequence_order": 0,
- "step_positions": [
- null
], - "created_at": {
- "seconds": null,
- "nanos": null
}, - "updated_at": {
- "seconds": null,
- "nanos": null
}, - "capture_all_images": true,
- "enabled": true
}
]
}
]
}, - "augmentation": {
- "id": "string",
- "assembly_id": {
- "uuid": "string"
}, - "lighting_aug": 0,
- "placement_aug": 0,
- "color_aug": 0,
- "prompt": "string",
- "negative_prompt": "string"
}, - "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}, - "classes": [
- "string"
], - "product_version": "string",
- "model_version": "string",
- "published": true,
- "approver": "string",
- "notes": "string",
- "record_videos": true,
- "last_edited": {
- "seconds": "string",
- "nanos": 0
}, - "active": true
}, - "operator": {
- "id": "string",
- "first_name": "string",
- "last_name": "string",
- "num_records": 0,
- "role": "string",
- "rfid": "string",
- "password": "string",
- "active": true,
- "has_password": true,
- "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}
}, - "benchmark": 0,
- "complete": true,
- "assembly_record_datetime": "string",
- "num_records": 0,
- "qa_report_link": "string",
- "ocr_capture_variable_records": {
- "ocr_capture_variable_records": [
- {
- "id": "string",
- "assembly_record_id": "string",
- "step_id": "string",
- "variable_name": "string",
- "variable_value": "string"
}
]
}, - "quality_hold": true,
- "time_taken": 0,
- "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}, - "is_rework": true,
- "original_assembly_record_id": "string",
- "resume_from_step_id": 0,
- "rework_id": "string",
- "rework_reason": "string",
- "resumed_by_record_id": "string",
- "rework_completed": true
}
]
}Get incomplete assembly records for rework
Returns assembly records that are not complete and have not been resumed. Used by the Rework screen. Supports optional filtering by date range and OCR capture data.
query Parameters
| page | integer Example: page=1 Page number (1-indexed) |
| page_size | integer Example: page_size=10 Number of records per page |
| start_date | string Example: start_date=2024-01-01T00:00:00Z Start date filter (ISO 8601 format) |
| end_date | string Example: end_date=2024-12-31T23:59:59Z End date filter (ISO 8601 format) |
| ocr_capture_type | string Example: ocr_capture_type=Serial Number OCR capture type filter (e.g., 'Serial Number') |
| ocr_capture_value | string Example: ocr_capture_value=ABC123 OCR capture value filter |
Responses
Response samples
- 200
- 404
{- "status": "ok",
- "msg": ""
}Resume an incomplete assembly record
Creates a new rework assembly record that resumes from a specific step. Copies completed step records from the original.
path Parameters
| assembly_record_id required | string Example: 796f3b09-b3a1-4410-8d1a-c8ba38c0f751 The UUID of the original incomplete assembly record |
Request Body schema: application/json
| resume_from_step_id required | integer <int32> Step ID to resume from |
| operator_id required | integer <int32> Operator performing the rework |
| rework_reason required | string Reason for the rework |
| rework_id | string Optional DISP/rework ID |
Responses
Request samples
- Payload
{- "device_id": "superpod_001",
- "device_type": "superpod",
- "device_name": "SuperPod Station 1",
- "ip_address": "192.168.1.100",
- "port": 502,
- "connection_timeout": 5000,
- "max_retries": 3
}Response samples
- 200
- 400
- 500
{- "status": "ok",
- "msg": ""
}Delete a single assembly record (soft delete)
Soft deletes an assembly record. Used by the Rework page to remove incomplete records.
path Parameters
| record_id required | string Example: 796f3b09-b3a1-4410-8d1a-c8ba38c0f751 The UUID of the assembly record to delete |
Responses
Response samples
- 200
- 500
{- "status": "ok",
- "msg": ""
}Retrieve information about a specific record
path Parameters
| record_id required | string Example: 796f3b09-b3a1-4410-8d1a-c8ba38c0f751 The ID of the assembly record |
Responses
Response samples
- 200
- 404
{- "status": "string",
- "msg": {
- "id": {
- "uuid": "string"
}, - "ref_assembly_id": {
- "uuid": "string"
}, - "ref_assembly": {
- "id": {
- "uuid": "string"
}, - "name": "string",
- "description": "string",
- "image_link": "string",
- "tenant_id": "string",
- "training_complete": true,
- "revision_id": {
- "uuid": "string"
}, - "parent_id": {
- "uuid": "string"
}, - "revision": 0,
- "steps": {
- "steps": [
- {
- "id": "string",
- "name": "string",
- "description": "string",
- "image_link": "string",
- "video_link": "string",
- "overlay_link": "string",
- "minimum_predict": 0,
- "benchmark": 0,
- "roi_zoom": "string",
- "camera_id": "string",
- "perspective_change": true,
- "mask_perspective": true,
- "training_required": true,
- "classes": [
- "string"
], - "assembly_id": {
- "uuid": "string"
}, - "next_step_id": "string",
- "previous_step_id": "string",
- "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}, - "step_data": [
- {
- "step_data_info": [
- {
- "id": null,
- "label": null,
- "link": null,
- "value": null,
- "step_data_id": null,
- "type": null,
- "name": null,
- "options": null
}
], - "id": "string",
- "step_id": "string",
- "data_type": "ml",
- "units": "string",
- "name": "string",
- "tolerance": 0,
- "auto_align": true,
- "torque_data": {
- "program_id": 0,
- "target_torque": 0,
- "max_torque": 0,
- "torque_unit": "string",
- "run_speed": 0,
- "final_speed": 0,
- "speed_unit": "string",
- "torque_series": [
- null
], - "angle_series": [
- null
], - "final_angle": 0,
- "angle_threshold": 0,
- "verify_angle": true,
- "min_torque": 0,
- "downshift_enabled": true,
- "angle_check_start_threshold": 0
}, - "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": null,
- "nanos": null
}, - "end_date": {
- "seconds": null,
- "nanos": null
}
}, - "ocr_capture_variable_info": [
- {
- "variable_name": null,
- "bounding_box": null,
- "original_text_value": null,
- "step_number": null
}
]
}
], - "step_detection_targets": [
- {
- "id": 0,
- "step_id": 0,
- "detection_target_id": 0,
- "detection_target_uuid": "string",
- "bbox_x": 0,
- "bbox_y": 0,
- "bbox_width": 0,
- "bbox_height": 0,
- "description": "string",
- "score": 0,
- "created_at": {
- "seconds": "string",
- "nanos": 0
}, - "updated_at": {
- "seconds": "string",
- "nanos": 0
}, - "manually_adjusted": true,
- "correct": true,
- "part_number": "string",
- "display_id": "string",
- "label": "string",
- "detection_target": {
- "id": 0,
- "uuid": "string",
- "model_id": 0,
- "label": "string",
- "display_id": "string",
- "part_number": "string",
- "description": "string",
- "linked_assemblies": [
- null
], - "created_at": {
- "seconds": null,
- "nanos": null
}, - "updated_at": {
- "seconds": null,
- "nanos": null
}, - "image_samples": [
- null
], - "trained": true,
- "pending": true
}
}
], - "step_motions": [
- {
- "id": 0,
- "step_id": 0,
- "motion_type": "string",
- "sequence_order": 0,
- "step_positions": [
- {
- "id": null,
- "step_motion_id": null,
- "device_id": null,
- "position_name": null,
- "sequence_order": null,
- "dwell_time_seconds": null,
- "axis_positions": [ ],
- "created_at": null,
- "updated_at": null,
- "roi_zoom": null
}
], - "created_at": {
- "seconds": "string",
- "nanos": 0
}, - "updated_at": {
- "seconds": "string",
- "nanos": 0
}, - "capture_all_images": true,
- "enabled": true
}
]
}
]
}, - "augmentation": {
- "id": "string",
- "assembly_id": {
- "uuid": "string"
}, - "lighting_aug": 0,
- "placement_aug": 0,
- "color_aug": 0,
- "prompt": "string",
- "negative_prompt": "string"
}, - "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}, - "classes": [
- "string"
], - "product_version": "string",
- "model_version": "string",
- "published": true,
- "approver": "string",
- "notes": "string",
- "record_videos": true,
- "last_edited": {
- "seconds": "string",
- "nanos": 0
}, - "active": true
}, - "operator": {
- "id": "string",
- "first_name": "string",
- "last_name": "string",
- "num_records": 0,
- "role": "string",
- "rfid": "string",
- "password": "string",
- "active": true,
- "has_password": true,
- "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}
}, - "benchmark": 0,
- "complete": true,
- "assembly_record_datetime": "string",
- "num_records": 0,
- "qa_report_link": "string",
- "ocr_capture_variable_records": {
- "ocr_capture_variable_records": [
- {
- "id": "string",
- "assembly_record_id": "string",
- "step_id": "string",
- "variable_name": "string",
- "variable_value": "string"
}
]
}, - "quality_hold": true,
- "time_taken": 0,
- "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}, - "is_rework": true,
- "original_assembly_record_id": "string",
- "resume_from_step_id": 0,
- "rework_id": "string",
- "rework_reason": "string",
- "resumed_by_record_id": "string",
- "rework_completed": true
}
}Get the most recent assembly record for a specific assembly
Despite this returning an array, it only returns the most recent record.
path Parameters
| assembly_id required | string Example: 57618016-cd00-4fc8-85f5-e4b26304c6ba The ID of the assembly to retrieve records from |
| limit required | integer Example: 1 Required, but currently unused. Only returns one result. |
Responses
Response samples
- 200
- 404
{- "status": "string",
- "msg": [
- {
- "id": {
- "uuid": "string"
}, - "ref_assembly_id": {
- "uuid": "string"
}, - "ref_assembly": {
- "id": {
- "uuid": "string"
}, - "name": "string",
- "description": "string",
- "image_link": "string",
- "tenant_id": "string",
- "training_complete": true,
- "revision_id": {
- "uuid": "string"
}, - "parent_id": {
- "uuid": "string"
}, - "revision": 0,
- "steps": {
- "steps": [
- {
- "id": "string",
- "name": "string",
- "description": "string",
- "image_link": "string",
- "video_link": "string",
- "overlay_link": "string",
- "minimum_predict": 0,
- "benchmark": 0,
- "roi_zoom": "string",
- "camera_id": "string",
- "perspective_change": true,
- "mask_perspective": true,
- "training_required": true,
- "classes": [
- "string"
], - "assembly_id": {
- "uuid": "string"
}, - "next_step_id": "string",
- "previous_step_id": "string",
- "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}, - "step_data": [
- {
- "step_data_info": [
- null
], - "id": "string",
- "step_id": "string",
- "data_type": "ml",
- "units": "string",
- "name": "string",
- "tolerance": 0,
- "auto_align": true,
- "torque_data": {
- "program_id": null,
- "target_torque": null,
- "max_torque": null,
- "torque_unit": null,
- "run_speed": null,
- "final_speed": null,
- "speed_unit": null,
- "torque_series": [ ],
- "angle_series": [ ],
- "final_angle": null,
- "angle_threshold": null,
- "verify_angle": null,
- "min_torque": null,
- "downshift_enabled": null,
- "angle_check_start_threshold": null
}, - "options": {
- "page": null,
- "page_size": null,
- "start_date": null,
- "end_date": null
}, - "ocr_capture_variable_info": [
- null
]
}
], - "step_detection_targets": [
- {
- "id": 0,
- "step_id": 0,
- "detection_target_id": 0,
- "detection_target_uuid": "string",
- "bbox_x": 0,
- "bbox_y": 0,
- "bbox_width": 0,
- "bbox_height": 0,
- "description": "string",
- "score": 0,
- "created_at": {
- "seconds": null,
- "nanos": null
}, - "updated_at": {
- "seconds": null,
- "nanos": null
}, - "manually_adjusted": true,
- "correct": true,
- "part_number": "string",
- "display_id": "string",
- "label": "string",
- "detection_target": {
- "id": null,
- "uuid": null,
- "model_id": null,
- "label": null,
- "display_id": null,
- "part_number": null,
- "description": null,
- "linked_assemblies": [ ],
- "created_at": null,
- "updated_at": null,
- "image_samples": [ ],
- "trained": null,
- "pending": null
}
}
], - "step_motions": [
- {
- "id": 0,
- "step_id": 0,
- "motion_type": "string",
- "sequence_order": 0,
- "step_positions": [
- null
], - "created_at": {
- "seconds": null,
- "nanos": null
}, - "updated_at": {
- "seconds": null,
- "nanos": null
}, - "capture_all_images": true,
- "enabled": true
}
]
}
]
}, - "augmentation": {
- "id": "string",
- "assembly_id": {
- "uuid": "string"
}, - "lighting_aug": 0,
- "placement_aug": 0,
- "color_aug": 0,
- "prompt": "string",
- "negative_prompt": "string"
}, - "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}, - "classes": [
- "string"
], - "product_version": "string",
- "model_version": "string",
- "published": true,
- "approver": "string",
- "notes": "string",
- "record_videos": true,
- "last_edited": {
- "seconds": "string",
- "nanos": 0
}, - "active": true
}, - "operator": {
- "id": "string",
- "first_name": "string",
- "last_name": "string",
- "num_records": 0,
- "role": "string",
- "rfid": "string",
- "password": "string",
- "active": true,
- "has_password": true,
- "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}
}, - "benchmark": 0,
- "complete": true,
- "assembly_record_datetime": "string",
- "num_records": 0,
- "qa_report_link": "string",
- "ocr_capture_variable_records": {
- "ocr_capture_variable_records": [
- {
- "id": "string",
- "assembly_record_id": "string",
- "step_id": "string",
- "variable_name": "string",
- "variable_value": "string"
}
]
}, - "quality_hold": true,
- "time_taken": 0,
- "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}, - "is_rework": true,
- "original_assembly_record_id": "string",
- "resume_from_step_id": 0,
- "rework_id": "string",
- "rework_reason": "string",
- "resumed_by_record_id": "string",
- "rework_completed": true
}
]
}Get the most recent record for a specific operator
Despite this returning an array, it only returns the most recent record.
path Parameters
| operator_id required | integer Example: 1 The ID of the Operator to retrieve most recent record from |
| limit required | integer Example: 1 Required, but currently unused. Only returns one result. |
Responses
Response samples
- 200
- 404
{- "status": "string",
- "msg": [
- {
- "id": {
- "uuid": "string"
}, - "ref_assembly_id": {
- "uuid": "string"
}, - "ref_assembly": {
- "id": {
- "uuid": "string"
}, - "name": "string",
- "description": "string",
- "image_link": "string",
- "tenant_id": "string",
- "training_complete": true,
- "revision_id": {
- "uuid": "string"
}, - "parent_id": {
- "uuid": "string"
}, - "revision": 0,
- "steps": {
- "steps": [
- {
- "id": "string",
- "name": "string",
- "description": "string",
- "image_link": "string",
- "video_link": "string",
- "overlay_link": "string",
- "minimum_predict": 0,
- "benchmark": 0,
- "roi_zoom": "string",
- "camera_id": "string",
- "perspective_change": true,
- "mask_perspective": true,
- "training_required": true,
- "classes": [
- "string"
], - "assembly_id": {
- "uuid": "string"
}, - "next_step_id": "string",
- "previous_step_id": "string",
- "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}, - "step_data": [
- {
- "step_data_info": [
- null
], - "id": "string",
- "step_id": "string",
- "data_type": "ml",
- "units": "string",
- "name": "string",
- "tolerance": 0,
- "auto_align": true,
- "torque_data": {
- "program_id": null,
- "target_torque": null,
- "max_torque": null,
- "torque_unit": null,
- "run_speed": null,
- "final_speed": null,
- "speed_unit": null,
- "torque_series": [ ],
- "angle_series": [ ],
- "final_angle": null,
- "angle_threshold": null,
- "verify_angle": null,
- "min_torque": null,
- "downshift_enabled": null,
- "angle_check_start_threshold": null
}, - "options": {
- "page": null,
- "page_size": null,
- "start_date": null,
- "end_date": null
}, - "ocr_capture_variable_info": [
- null
]
}
], - "step_detection_targets": [
- {
- "id": 0,
- "step_id": 0,
- "detection_target_id": 0,
- "detection_target_uuid": "string",
- "bbox_x": 0,
- "bbox_y": 0,
- "bbox_width": 0,
- "bbox_height": 0,
- "description": "string",
- "score": 0,
- "created_at": {
- "seconds": null,
- "nanos": null
}, - "updated_at": {
- "seconds": null,
- "nanos": null
}, - "manually_adjusted": true,
- "correct": true,
- "part_number": "string",
- "display_id": "string",
- "label": "string",
- "detection_target": {
- "id": null,
- "uuid": null,
- "model_id": null,
- "label": null,
- "display_id": null,
- "part_number": null,
- "description": null,
- "linked_assemblies": [ ],
- "created_at": null,
- "updated_at": null,
- "image_samples": [ ],
- "trained": null,
- "pending": null
}
}
], - "step_motions": [
- {
- "id": 0,
- "step_id": 0,
- "motion_type": "string",
- "sequence_order": 0,
- "step_positions": [
- null
], - "created_at": {
- "seconds": null,
- "nanos": null
}, - "updated_at": {
- "seconds": null,
- "nanos": null
}, - "capture_all_images": true,
- "enabled": true
}
]
}
]
}, - "augmentation": {
- "id": "string",
- "assembly_id": {
- "uuid": "string"
}, - "lighting_aug": 0,
- "placement_aug": 0,
- "color_aug": 0,
- "prompt": "string",
- "negative_prompt": "string"
}, - "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}, - "classes": [
- "string"
], - "product_version": "string",
- "model_version": "string",
- "published": true,
- "approver": "string",
- "notes": "string",
- "record_videos": true,
- "last_edited": {
- "seconds": "string",
- "nanos": 0
}, - "active": true
}, - "operator": {
- "id": "string",
- "first_name": "string",
- "last_name": "string",
- "num_records": 0,
- "role": "string",
- "rfid": "string",
- "password": "string",
- "active": true,
- "has_password": true,
- "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}
}, - "benchmark": 0,
- "complete": true,
- "assembly_record_datetime": "string",
- "num_records": 0,
- "qa_report_link": "string",
- "ocr_capture_variable_records": {
- "ocr_capture_variable_records": [
- {
- "id": "string",
- "assembly_record_id": "string",
- "step_id": "string",
- "variable_name": "string",
- "variable_value": "string"
}
]
}, - "quality_hold": true,
- "time_taken": 0,
- "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}, - "is_rework": true,
- "original_assembly_record_id": "string",
- "resume_from_step_id": 0,
- "rework_id": "string",
- "rework_reason": "string",
- "resumed_by_record_id": "string",
- "rework_completed": true
}
]
}Retrieve performance information of specific step, performed by a specific operator, of a previously coached assembly
path Parameters
| record_id required | string |
| operator_id required | string |
| step_id required | string |
Responses
Response samples
- 200
{- "status": "string",
- "msg": [
- {
- "operator": {
- "id": "string",
- "first_name": "string",
- "last_name": "string",
- "num_records": 0,
- "role": "string",
- "rfid": "string",
- "password": "string",
- "active": true,
- "has_password": true,
- "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}
}, - "step": {
- "id": "string",
- "name": "string",
- "description": "string",
- "image_link": "string",
- "video_link": "string",
- "overlay_link": "string",
- "minimum_predict": 0,
- "benchmark": 0,
- "roi_zoom": "string",
- "camera_id": "string",
- "perspective_change": true,
- "mask_perspective": true,
- "training_required": true,
- "classes": [
- "string"
], - "assembly_id": {
- "uuid": "string"
}, - "next_step_id": "string",
- "previous_step_id": "string",
- "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}, - "step_data": [
- {
- "step_data_info": [
- {
- "id": "string",
- "label": "string",
- "link": "string",
- "value": "string",
- "step_data_id": "string",
- "type": "string",
- "name": "string",
- "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": null,
- "nanos": null
}, - "end_date": {
- "seconds": null,
- "nanos": null
}
}
}
], - "id": "string",
- "step_id": "string",
- "data_type": "ml",
- "units": "string",
- "name": "string",
- "tolerance": 0,
- "auto_align": true,
- "torque_data": {
- "program_id": 0,
- "target_torque": 0,
- "max_torque": 0,
- "torque_unit": "string",
- "run_speed": 0,
- "final_speed": 0,
- "speed_unit": "string",
- "torque_series": [
- 0
], - "angle_series": [
- 0
], - "final_angle": 0,
- "angle_threshold": 0,
- "verify_angle": true,
- "min_torque": 0,
- "downshift_enabled": true,
- "angle_check_start_threshold": 0
}, - "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}, - "ocr_capture_variable_info": [
- {
- "variable_name": "string",
- "bounding_box": "string",
- "original_text_value": "string",
- "step_number": "string"
}
]
}
], - "step_detection_targets": [
- {
- "id": 0,
- "step_id": 0,
- "detection_target_id": 0,
- "detection_target_uuid": "string",
- "bbox_x": 0,
- "bbox_y": 0,
- "bbox_width": 0,
- "bbox_height": 0,
- "description": "string",
- "score": 0,
- "created_at": {
- "seconds": "string",
- "nanos": 0
}, - "updated_at": {
- "seconds": "string",
- "nanos": 0
}, - "manually_adjusted": true,
- "correct": true,
- "part_number": "string",
- "display_id": "string",
- "label": "string",
- "detection_target": {
- "id": 0,
- "uuid": "string",
- "model_id": 0,
- "label": "string",
- "display_id": "string",
- "part_number": "string",
- "description": "string",
- "linked_assemblies": [
- "string"
], - "created_at": {
- "seconds": "string",
- "nanos": 0
}, - "updated_at": {
- "seconds": "string",
- "nanos": 0
}, - "image_samples": [
- {
- "id": 0,
- "uuid": "string",
- "detection_target_id": 0,
- "file_path": "string",
- "width": 0,
- "height": 0,
- "capture_date": {
- "seconds": null,
- "nanos": null
}, - "capture_conditions": "string",
- "created_at": {
- "seconds": null,
- "nanos": null
}, - "augmented": true,
- "correct": true,
- "label": "string",
- "annotations": [
- null
]
}
], - "trained": true,
- "pending": true
}
}
], - "step_motions": [
- {
- "id": 0,
- "step_id": 0,
- "motion_type": "string",
- "sequence_order": 0,
- "step_positions": [
- {
- "id": 0,
- "step_motion_id": 0,
- "device_id": "string",
- "position_name": "string",
- "sequence_order": 0,
- "dwell_time_seconds": 0,
- "axis_positions": [
- {
- "component_id": null,
- "axis_type": null,
- "units": null,
- "axis_value": null,
- "start_value": null,
- "end_value": null,
- "step_distance": null
}
], - "created_at": {
- "seconds": "string",
- "nanos": 0
}, - "updated_at": {
- "seconds": "string",
- "nanos": 0
}, - "roi_zoom": "string"
}
], - "created_at": {
- "seconds": "string",
- "nanos": 0
}, - "updated_at": {
- "seconds": "string",
- "nanos": 0
}, - "capture_all_images": true,
- "enabled": true
}
]
}, - "assembly_id": {
- "uuid": "string"
}, - "step_record": {
- "id": "string",
- "prediction": 0,
- "complete": true,
- "time_taken": 0,
- "metric_datetime": "string",
- "delta_from_benchmark": 0,
- "benchmark": 0,
- "skipped": true,
- "supervisor_override": true,
- "torque_data": {
- "program_id": 0,
- "target_torque": 0,
- "max_torque": 0,
- "torque_unit": "string",
- "run_speed": 0,
- "final_speed": 0,
- "speed_unit": "string",
- "torque_series": [
- 0
], - "angle_series": [
- 0
], - "final_angle": 0,
- "angle_threshold": 0,
- "verify_angle": true,
- "min_torque": 0,
- "downshift_enabled": true,
- "angle_check_start_threshold": 0
}, - "num_incorrect": 0,
- "is_rework": true
}, - "assembly_record": {
- "id": {
- "uuid": "string"
}, - "ref_assembly_id": {
- "uuid": "string"
}, - "ref_assembly": {
- "id": {
- "uuid": "string"
}, - "name": "string",
- "description": "string",
- "image_link": "string",
- "tenant_id": "string",
- "training_complete": true,
- "revision_id": {
- "uuid": "string"
}, - "parent_id": {
- "uuid": "string"
}, - "revision": 0,
- "steps": {
- "steps": [
- {
- "id": "string",
- "name": "string",
- "description": "string",
- "image_link": "string",
- "video_link": "string",
- "overlay_link": "string",
- "minimum_predict": 0,
- "benchmark": 0,
- "roi_zoom": "string",
- "camera_id": "string",
- "perspective_change": true,
- "mask_perspective": true,
- "training_required": true,
- "classes": [
- "string"
], - "assembly_id": {
- "uuid": "string"
}, - "next_step_id": "string",
- "previous_step_id": "string",
- "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": null,
- "nanos": null
}, - "end_date": {
- "seconds": null,
- "nanos": null
}
}, - "step_data": [
- {
- "step_data_info": [ ],
- "id": null,
- "step_id": null,
- "data_type": null,
- "units": null,
- "name": null,
- "tolerance": null,
- "auto_align": null,
- "torque_data": null,
- "options": null,
- "ocr_capture_variable_info": [ ]
}
], - "step_detection_targets": [
- {
- "id": null,
- "step_id": null,
- "detection_target_id": null,
- "detection_target_uuid": null,
- "bbox_x": null,
- "bbox_y": null,
- "bbox_width": null,
- "bbox_height": null,
- "description": null,
- "score": null,
- "created_at": null,
- "updated_at": null,
- "manually_adjusted": null,
- "correct": null,
- "part_number": null,
- "display_id": null,
- "label": null,
- "detection_target": null
}
], - "step_motions": [
- {
- "id": null,
- "step_id": null,
- "motion_type": null,
- "sequence_order": null,
- "step_positions": [ ],
- "created_at": null,
- "updated_at": null,
- "capture_all_images": null,
- "enabled": null
}
]
}
]
}, - "augmentation": {
- "id": "string",
- "assembly_id": {
- "uuid": "string"
}, - "lighting_aug": 0,
- "placement_aug": 0,
- "color_aug": 0,
- "prompt": "string",
- "negative_prompt": "string"
}, - "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}, - "classes": [
- "string"
], - "product_version": "string",
- "model_version": "string",
- "published": true,
- "approver": "string",
- "notes": "string",
- "record_videos": true,
- "last_edited": {
- "seconds": "string",
- "nanos": 0
}, - "active": true
}, - "operator": {
- "id": "string",
- "first_name": "string",
- "last_name": "string",
- "num_records": 0,
- "role": "string",
- "rfid": "string",
- "password": "string",
- "active": true,
- "has_password": true,
- "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}
}, - "benchmark": 0,
- "complete": true,
- "assembly_record_datetime": "string",
- "num_records": 0,
- "qa_report_link": "string",
- "ocr_capture_variable_records": {
- "ocr_capture_variable_records": [
- {
- "id": "string",
- "assembly_record_id": "string",
- "step_id": "string",
- "variable_name": "string",
- "variable_value": "string"
}
]
}, - "quality_hold": true,
- "time_taken": 0,
- "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}, - "is_rework": true,
- "original_assembly_record_id": "string",
- "resume_from_step_id": 0,
- "rework_id": "string",
- "rework_reason": "string",
- "resumed_by_record_id": "string",
- "rework_completed": true
}, - "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}
}
]
}Response samples
- 200
{- "status": "string",
- "msg": {
- "operators": [
- {
- "id": "string",
- "first_name": "string",
- "last_name": "string",
- "num_records": 0,
- "role": "string",
- "rfid": "string",
- "password": "string",
- "active": true,
- "has_password": true,
- "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}
}
]
}
}Add a new operator
Request Body schema: application/json
| id | string |
| first_name | string |
| last_name | string |
| num_records | integer <int32> |
| role | string |
| rfid | string |
| password | string |
| active | boolean |
| has_password | boolean |
object (DatabaseOptions) |
Responses
Request samples
- Payload
{- "id": "string",
- "first_name": "string",
- "last_name": "string",
- "num_records": 0,
- "role": "string",
- "rfid": "string",
- "password": "string",
- "active": true,
- "has_password": true,
- "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}
}Response samples
- 200
{- "status": "ok",
- "msg": ""
}Response samples
- 200
{- "status": "string",
- "msg": {
- "operators": [
- {
- "id": "string",
- "first_name": "string",
- "last_name": "string",
- "num_records": 0,
- "role": "string",
- "rfid": "string",
- "password": "string",
- "active": true,
- "has_password": true,
- "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}
}
]
}
}Update active status for existing operator
Request Body schema: application/json
| id | string |
| first_name | string |
| last_name | string |
| num_records | integer <int32> |
| role | string |
| rfid | string |
| password | string |
| active | boolean |
| has_password | boolean |
object (DatabaseOptions) |
Responses
Request samples
- Payload
{- "id": "string",
- "first_name": "string",
- "last_name": "string",
- "num_records": 0,
- "role": "string",
- "rfid": "string",
- "password": "string",
- "active": true,
- "has_password": true,
- "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}
}Response samples
- 200
{- "status": "ok",
- "msg": ""
}Get the operator id given operator First Name and Last Name
Request Body schema: application/json
| first_name | string |
| last_name | string |
Responses
Request samples
- Payload
{- "first_name": "jane",
- "last_name": "doe"
}Response samples
- 200
{- "status": "ok",
- "msg": ""
}Response samples
- 200
{- "status": "string",
- "msg": {
- "operators": [
- {
- "id": "string",
- "first_name": "string",
- "last_name": "string",
- "num_records": 0,
- "role": "string",
- "rfid": "string",
- "password": "string",
- "active": true,
- "has_password": true,
- "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}
}
]
}
}Update role for existing operator
Request Body schema: application/json
| id | string |
| first_name | string |
| last_name | string |
| num_records | integer <int32> |
| role | string |
| rfid | string |
| password | string |
| active | boolean |
| has_password | boolean |
object (DatabaseOptions) |
Responses
Request samples
- Payload
{- "id": "string",
- "first_name": "string",
- "last_name": "string",
- "num_records": 0,
- "role": "string",
- "rfid": "string",
- "password": "string",
- "active": true,
- "has_password": true,
- "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}
}Response samples
- 200
{- "status": "ok",
- "msg": ""
}Update name for existing operator
Request Body schema: application/json
| id | string |
| first_name | string |
| last_name | string |
| num_records | integer <int32> |
| role | string |
| rfid | string |
| password | string |
| active | boolean |
| has_password | boolean |
object (DatabaseOptions) |
Responses
Request samples
- Payload
{- "id": "string",
- "first_name": "string",
- "last_name": "string",
- "num_records": 0,
- "role": "string",
- "rfid": "string",
- "password": "string",
- "active": true,
- "has_password": true,
- "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}
}Response samples
- 200
{- "status": "ok",
- "msg": ""
}Update password for an existing operator
Request Body schema: application/json
| id | string |
| first_name | string |
| last_name | string |
| num_records | integer <int32> |
| role | string |
| rfid | string |
| password | string |
| active | boolean |
| has_password | boolean |
object (DatabaseOptions) |
Responses
Request samples
- Payload
{- "id": "string",
- "first_name": "string",
- "last_name": "string",
- "num_records": 0,
- "role": "string",
- "rfid": "string",
- "password": "string",
- "active": true,
- "has_password": true,
- "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}
}Response samples
- 200
- 400
- 500
{- "status": "ok",
- "msg": ""
}Verifies if the provided RFID is associated with an active Operator. Returns the active operator
Request Body schema: application/json
| rfid | string |
Responses
Request samples
- Payload
{- "rfid": "string"
}Response samples
- 200
- 400
- 500
{- "status": "string",
- "msg": {
- "id": "string",
- "first_name": "string",
- "last_name": "string",
- "num_records": 0,
- "role": "string",
- "rfid": "string",
- "password": "string",
- "active": true,
- "has_password": true,
- "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}
}
}Authenticates operator credentials provided operator first_name, last_name, and password
Request Body schema: application/json
| first_name | string |
| last_name | string |
| password | string |
Responses
Request samples
- Payload
{- "first_name": "string",
- "last_name": "string",
- "password": "string"
}Response samples
- 200
- 400
- 500
{- "status": "ok",
- "msg": ""
}Response samples
- 200
{- "status": "string",
- "msg": {
- "operator_metrics": [
- {
- "operator": {
- "id": "string",
- "first_name": "string",
- "last_name": "string",
- "num_records": 0,
- "role": "string",
- "rfid": "string",
- "password": "string",
- "active": true,
- "has_password": true,
- "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}
}, - "step": {
- "id": "string",
- "name": "string",
- "description": "string",
- "image_link": "string",
- "video_link": "string",
- "overlay_link": "string",
- "minimum_predict": 0,
- "benchmark": 0,
- "roi_zoom": "string",
- "camera_id": "string",
- "perspective_change": true,
- "mask_perspective": true,
- "training_required": true,
- "classes": [
- "string"
], - "assembly_id": {
- "uuid": "string"
}, - "next_step_id": "string",
- "previous_step_id": "string",
- "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}, - "step_data": [
- {
- "step_data_info": [
- {
- "id": "string",
- "label": "string",
- "link": "string",
- "value": "string",
- "step_data_id": "string",
- "type": "string",
- "name": "string",
- "options": {
- "page": null,
- "page_size": null,
- "start_date": null,
- "end_date": null
}
}
], - "id": "string",
- "step_id": "string",
- "data_type": "ml",
- "units": "string",
- "name": "string",
- "tolerance": 0,
- "auto_align": true,
- "torque_data": {
- "program_id": 0,
- "target_torque": 0,
- "max_torque": 0,
- "torque_unit": "string",
- "run_speed": 0,
- "final_speed": 0,
- "speed_unit": "string",
- "torque_series": [
- 0
], - "angle_series": [
- 0
], - "final_angle": 0,
- "angle_threshold": 0,
- "verify_angle": true,
- "min_torque": 0,
- "downshift_enabled": true,
- "angle_check_start_threshold": 0
}, - "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}, - "ocr_capture_variable_info": [
- {
- "variable_name": "string",
- "bounding_box": "string",
- "original_text_value": "string",
- "step_number": "string"
}
]
}
], - "step_detection_targets": [
- {
- "id": 0,
- "step_id": 0,
- "detection_target_id": 0,
- "detection_target_uuid": "string",
- "bbox_x": 0,
- "bbox_y": 0,
- "bbox_width": 0,
- "bbox_height": 0,
- "description": "string",
- "score": 0,
- "created_at": {
- "seconds": "string",
- "nanos": 0
}, - "updated_at": {
- "seconds": "string",
- "nanos": 0
}, - "manually_adjusted": true,
- "correct": true,
- "part_number": "string",
- "display_id": "string",
- "label": "string",
- "detection_target": {
- "id": 0,
- "uuid": "string",
- "model_id": 0,
- "label": "string",
- "display_id": "string",
- "part_number": "string",
- "description": "string",
- "linked_assemblies": [
- "string"
], - "created_at": {
- "seconds": "string",
- "nanos": 0
}, - "updated_at": {
- "seconds": "string",
- "nanos": 0
}, - "image_samples": [
- {
- "id": null,
- "uuid": null,
- "detection_target_id": null,
- "file_path": null,
- "width": null,
- "height": null,
- "capture_date": null,
- "capture_conditions": null,
- "created_at": null,
- "augmented": null,
- "correct": null,
- "label": null,
- "annotations": [ ]
}
], - "trained": true,
- "pending": true
}
}
], - "step_motions": [
- {
- "id": 0,
- "step_id": 0,
- "motion_type": "string",
- "sequence_order": 0,
- "step_positions": [
- {
- "id": 0,
- "step_motion_id": 0,
- "device_id": "string",
- "position_name": "string",
- "sequence_order": 0,
- "dwell_time_seconds": 0,
- "axis_positions": [
- null
], - "created_at": {
- "seconds": null,
- "nanos": null
}, - "updated_at": {
- "seconds": null,
- "nanos": null
}, - "roi_zoom": "string"
}
], - "created_at": {
- "seconds": "string",
- "nanos": 0
}, - "updated_at": {
- "seconds": "string",
- "nanos": 0
}, - "capture_all_images": true,
- "enabled": true
}
]
}, - "assembly_id": {
- "uuid": "string"
}, - "step_record": {
- "id": "string",
- "prediction": 0,
- "complete": true,
- "time_taken": 0,
- "metric_datetime": "string",
- "delta_from_benchmark": 0,
- "benchmark": 0,
- "skipped": true,
- "supervisor_override": true,
- "torque_data": {
- "program_id": 0,
- "target_torque": 0,
- "max_torque": 0,
- "torque_unit": "string",
- "run_speed": 0,
- "final_speed": 0,
- "speed_unit": "string",
- "torque_series": [
- 0
], - "angle_series": [
- 0
], - "final_angle": 0,
- "angle_threshold": 0,
- "verify_angle": true,
- "min_torque": 0,
- "downshift_enabled": true,
- "angle_check_start_threshold": 0
}, - "num_incorrect": 0,
- "is_rework": true
}, - "assembly_record": {
- "id": {
- "uuid": "string"
}, - "ref_assembly_id": {
- "uuid": "string"
}, - "ref_assembly": {
- "id": {
- "uuid": "string"
}, - "name": "string",
- "description": "string",
- "image_link": "string",
- "tenant_id": "string",
- "training_complete": true,
- "revision_id": {
- "uuid": "string"
}, - "parent_id": {
- "uuid": "string"
}, - "revision": 0,
- "steps": {
- "steps": [
- {
- "id": "string",
- "name": "string",
- "description": "string",
- "image_link": "string",
- "video_link": "string",
- "overlay_link": "string",
- "minimum_predict": 0,
- "benchmark": 0,
- "roi_zoom": "string",
- "camera_id": "string",
- "perspective_change": true,
- "mask_perspective": true,
- "training_required": true,
- "classes": [
- null
], - "assembly_id": {
- "uuid": null
}, - "next_step_id": "string",
- "previous_step_id": "string",
- "options": {
- "page": null,
- "page_size": null,
- "start_date": null,
- "end_date": null
}, - "step_data": [
- null
], - "step_detection_targets": [
- null
], - "step_motions": [
- null
]
}
]
}, - "augmentation": {
- "id": "string",
- "assembly_id": {
- "uuid": "string"
}, - "lighting_aug": 0,
- "placement_aug": 0,
- "color_aug": 0,
- "prompt": "string",
- "negative_prompt": "string"
}, - "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}, - "classes": [
- "string"
], - "product_version": "string",
- "model_version": "string",
- "published": true,
- "approver": "string",
- "notes": "string",
- "record_videos": true,
- "last_edited": {
- "seconds": "string",
- "nanos": 0
}, - "active": true
}, - "operator": {
- "id": "string",
- "first_name": "string",
- "last_name": "string",
- "num_records": 0,
- "role": "string",
- "rfid": "string",
- "password": "string",
- "active": true,
- "has_password": true,
- "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}
}, - "benchmark": 0,
- "complete": true,
- "assembly_record_datetime": "string",
- "num_records": 0,
- "qa_report_link": "string",
- "ocr_capture_variable_records": {
- "ocr_capture_variable_records": [
- {
- "id": "string",
- "assembly_record_id": "string",
- "step_id": "string",
- "variable_name": "string",
- "variable_value": "string"
}
]
}, - "quality_hold": true,
- "time_taken": 0,
- "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}, - "is_rework": true,
- "original_assembly_record_id": "string",
- "resume_from_step_id": 0,
- "rework_id": "string",
- "rework_reason": "string",
- "resumed_by_record_id": "string",
- "rework_completed": true
}, - "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}
}
], - "avg_time": 0,
- "avg_step_time": 0,
- "quality": 0,
- "ocr_capture_variable_records": {
- "ocr_capture_variable_records": [
- {
- "id": "string",
- "assembly_record_id": "string",
- "step_id": "string",
- "variable_name": "string",
- "variable_value": "string"
}
]
}
}
}Get metrics on a previously coached assembly performed by a specific operator
path Parameters
| operator_id required | string |
| assembly_record_id required | string |
Responses
Response samples
- 200
{- "status": "string",
- "msg": {
- "operator_metrics": [
- {
- "operator": {
- "id": "string",
- "first_name": "string",
- "last_name": "string",
- "num_records": 0,
- "role": "string",
- "rfid": "string",
- "password": "string",
- "active": true,
- "has_password": true,
- "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}
}, - "step": {
- "id": "string",
- "name": "string",
- "description": "string",
- "image_link": "string",
- "video_link": "string",
- "overlay_link": "string",
- "minimum_predict": 0,
- "benchmark": 0,
- "roi_zoom": "string",
- "camera_id": "string",
- "perspective_change": true,
- "mask_perspective": true,
- "training_required": true,
- "classes": [
- "string"
], - "assembly_id": {
- "uuid": "string"
}, - "next_step_id": "string",
- "previous_step_id": "string",
- "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}, - "step_data": [
- {
- "step_data_info": [
- {
- "id": "string",
- "label": "string",
- "link": "string",
- "value": "string",
- "step_data_id": "string",
- "type": "string",
- "name": "string",
- "options": {
- "page": null,
- "page_size": null,
- "start_date": null,
- "end_date": null
}
}
], - "id": "string",
- "step_id": "string",
- "data_type": "ml",
- "units": "string",
- "name": "string",
- "tolerance": 0,
- "auto_align": true,
- "torque_data": {
- "program_id": 0,
- "target_torque": 0,
- "max_torque": 0,
- "torque_unit": "string",
- "run_speed": 0,
- "final_speed": 0,
- "speed_unit": "string",
- "torque_series": [
- 0
], - "angle_series": [
- 0
], - "final_angle": 0,
- "angle_threshold": 0,
- "verify_angle": true,
- "min_torque": 0,
- "downshift_enabled": true,
- "angle_check_start_threshold": 0
}, - "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}, - "ocr_capture_variable_info": [
- {
- "variable_name": "string",
- "bounding_box": "string",
- "original_text_value": "string",
- "step_number": "string"
}
]
}
], - "step_detection_targets": [
- {
- "id": 0,
- "step_id": 0,
- "detection_target_id": 0,
- "detection_target_uuid": "string",
- "bbox_x": 0,
- "bbox_y": 0,
- "bbox_width": 0,
- "bbox_height": 0,
- "description": "string",
- "score": 0,
- "created_at": {
- "seconds": "string",
- "nanos": 0
}, - "updated_at": {
- "seconds": "string",
- "nanos": 0
}, - "manually_adjusted": true,
- "correct": true,
- "part_number": "string",
- "display_id": "string",
- "label": "string",
- "detection_target": {
- "id": 0,
- "uuid": "string",
- "model_id": 0,
- "label": "string",
- "display_id": "string",
- "part_number": "string",
- "description": "string",
- "linked_assemblies": [
- "string"
], - "created_at": {
- "seconds": "string",
- "nanos": 0
}, - "updated_at": {
- "seconds": "string",
- "nanos": 0
}, - "image_samples": [
- {
- "id": null,
- "uuid": null,
- "detection_target_id": null,
- "file_path": null,
- "width": null,
- "height": null,
- "capture_date": null,
- "capture_conditions": null,
- "created_at": null,
- "augmented": null,
- "correct": null,
- "label": null,
- "annotations": [ ]
}
], - "trained": true,
- "pending": true
}
}
], - "step_motions": [
- {
- "id": 0,
- "step_id": 0,
- "motion_type": "string",
- "sequence_order": 0,
- "step_positions": [
- {
- "id": 0,
- "step_motion_id": 0,
- "device_id": "string",
- "position_name": "string",
- "sequence_order": 0,
- "dwell_time_seconds": 0,
- "axis_positions": [
- null
], - "created_at": {
- "seconds": null,
- "nanos": null
}, - "updated_at": {
- "seconds": null,
- "nanos": null
}, - "roi_zoom": "string"
}
], - "created_at": {
- "seconds": "string",
- "nanos": 0
}, - "updated_at": {
- "seconds": "string",
- "nanos": 0
}, - "capture_all_images": true,
- "enabled": true
}
]
}, - "assembly_id": {
- "uuid": "string"
}, - "step_record": {
- "id": "string",
- "prediction": 0,
- "complete": true,
- "time_taken": 0,
- "metric_datetime": "string",
- "delta_from_benchmark": 0,
- "benchmark": 0,
- "skipped": true,
- "supervisor_override": true,
- "torque_data": {
- "program_id": 0,
- "target_torque": 0,
- "max_torque": 0,
- "torque_unit": "string",
- "run_speed": 0,
- "final_speed": 0,
- "speed_unit": "string",
- "torque_series": [
- 0
], - "angle_series": [
- 0
], - "final_angle": 0,
- "angle_threshold": 0,
- "verify_angle": true,
- "min_torque": 0,
- "downshift_enabled": true,
- "angle_check_start_threshold": 0
}, - "num_incorrect": 0,
- "is_rework": true
}, - "assembly_record": {
- "id": {
- "uuid": "string"
}, - "ref_assembly_id": {
- "uuid": "string"
}, - "ref_assembly": {
- "id": {
- "uuid": "string"
}, - "name": "string",
- "description": "string",
- "image_link": "string",
- "tenant_id": "string",
- "training_complete": true,
- "revision_id": {
- "uuid": "string"
}, - "parent_id": {
- "uuid": "string"
}, - "revision": 0,
- "steps": {
- "steps": [
- {
- "id": "string",
- "name": "string",
- "description": "string",
- "image_link": "string",
- "video_link": "string",
- "overlay_link": "string",
- "minimum_predict": 0,
- "benchmark": 0,
- "roi_zoom": "string",
- "camera_id": "string",
- "perspective_change": true,
- "mask_perspective": true,
- "training_required": true,
- "classes": [
- null
], - "assembly_id": {
- "uuid": null
}, - "next_step_id": "string",
- "previous_step_id": "string",
- "options": {
- "page": null,
- "page_size": null,
- "start_date": null,
- "end_date": null
}, - "step_data": [
- null
], - "step_detection_targets": [
- null
], - "step_motions": [
- null
]
}
]
}, - "augmentation": {
- "id": "string",
- "assembly_id": {
- "uuid": "string"
}, - "lighting_aug": 0,
- "placement_aug": 0,
- "color_aug": 0,
- "prompt": "string",
- "negative_prompt": "string"
}, - "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}, - "classes": [
- "string"
], - "product_version": "string",
- "model_version": "string",
- "published": true,
- "approver": "string",
- "notes": "string",
- "record_videos": true,
- "last_edited": {
- "seconds": "string",
- "nanos": 0
}, - "active": true
}, - "operator": {
- "id": "string",
- "first_name": "string",
- "last_name": "string",
- "num_records": 0,
- "role": "string",
- "rfid": "string",
- "password": "string",
- "active": true,
- "has_password": true,
- "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}
}, - "benchmark": 0,
- "complete": true,
- "assembly_record_datetime": "string",
- "num_records": 0,
- "qa_report_link": "string",
- "ocr_capture_variable_records": {
- "ocr_capture_variable_records": [
- {
- "id": "string",
- "assembly_record_id": "string",
- "step_id": "string",
- "variable_name": "string",
- "variable_value": "string"
}
]
}, - "quality_hold": true,
- "time_taken": 0,
- "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}, - "is_rework": true,
- "original_assembly_record_id": "string",
- "resume_from_step_id": 0,
- "rework_id": "string",
- "rework_reason": "string",
- "resumed_by_record_id": "string",
- "rework_completed": true
}, - "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}
}
], - "avg_time": 0,
- "avg_step_time": 0,
- "quality": 0,
- "ocr_capture_variable_records": {
- "ocr_capture_variable_records": [
- {
- "id": "string",
- "assembly_record_id": "string",
- "step_id": "string",
- "variable_name": "string",
- "variable_value": "string"
}
]
}
}
}Retrieve performance information of specific step, performed by a specific operator, of a previously coached assembly
path Parameters
| operator_id required | string |
| assembly_record_id required | string |
| step_id required | string |
Responses
Response samples
- 200
- 404
{- "status": "string",
- "msg": {
- "operator_metrics": [
- {
- "operator": {
- "id": "string",
- "first_name": "string",
- "last_name": "string",
- "num_records": 0,
- "role": "string",
- "rfid": "string",
- "password": "string",
- "active": true,
- "has_password": true,
- "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}
}, - "step": {
- "id": "string",
- "name": "string",
- "description": "string",
- "image_link": "string",
- "video_link": "string",
- "overlay_link": "string",
- "minimum_predict": 0,
- "benchmark": 0,
- "roi_zoom": "string",
- "camera_id": "string",
- "perspective_change": true,
- "mask_perspective": true,
- "training_required": true,
- "classes": [
- "string"
], - "assembly_id": {
- "uuid": "string"
}, - "next_step_id": "string",
- "previous_step_id": "string",
- "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}, - "step_data": [
- {
- "step_data_info": [
- {
- "id": "string",
- "label": "string",
- "link": "string",
- "value": "string",
- "step_data_id": "string",
- "type": "string",
- "name": "string",
- "options": {
- "page": null,
- "page_size": null,
- "start_date": null,
- "end_date": null
}
}
], - "id": "string",
- "step_id": "string",
- "data_type": "ml",
- "units": "string",
- "name": "string",
- "tolerance": 0,
- "auto_align": true,
- "torque_data": {
- "program_id": 0,
- "target_torque": 0,
- "max_torque": 0,
- "torque_unit": "string",
- "run_speed": 0,
- "final_speed": 0,
- "speed_unit": "string",
- "torque_series": [
- 0
], - "angle_series": [
- 0
], - "final_angle": 0,
- "angle_threshold": 0,
- "verify_angle": true,
- "min_torque": 0,
- "downshift_enabled": true,
- "angle_check_start_threshold": 0
}, - "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}, - "ocr_capture_variable_info": [
- {
- "variable_name": "string",
- "bounding_box": "string",
- "original_text_value": "string",
- "step_number": "string"
}
]
}
], - "step_detection_targets": [
- {
- "id": 0,
- "step_id": 0,
- "detection_target_id": 0,
- "detection_target_uuid": "string",
- "bbox_x": 0,
- "bbox_y": 0,
- "bbox_width": 0,
- "bbox_height": 0,
- "description": "string",
- "score": 0,
- "created_at": {
- "seconds": "string",
- "nanos": 0
}, - "updated_at": {
- "seconds": "string",
- "nanos": 0
}, - "manually_adjusted": true,
- "correct": true,
- "part_number": "string",
- "display_id": "string",
- "label": "string",
- "detection_target": {
- "id": 0,
- "uuid": "string",
- "model_id": 0,
- "label": "string",
- "display_id": "string",
- "part_number": "string",
- "description": "string",
- "linked_assemblies": [
- "string"
], - "created_at": {
- "seconds": "string",
- "nanos": 0
}, - "updated_at": {
- "seconds": "string",
- "nanos": 0
}, - "image_samples": [
- {
- "id": null,
- "uuid": null,
- "detection_target_id": null,
- "file_path": null,
- "width": null,
- "height": null,
- "capture_date": null,
- "capture_conditions": null,
- "created_at": null,
- "augmented": null,
- "correct": null,
- "label": null,
- "annotations": [ ]
}
], - "trained": true,
- "pending": true
}
}
], - "step_motions": [
- {
- "id": 0,
- "step_id": 0,
- "motion_type": "string",
- "sequence_order": 0,
- "step_positions": [
- {
- "id": 0,
- "step_motion_id": 0,
- "device_id": "string",
- "position_name": "string",
- "sequence_order": 0,
- "dwell_time_seconds": 0,
- "axis_positions": [
- null
], - "created_at": {
- "seconds": null,
- "nanos": null
}, - "updated_at": {
- "seconds": null,
- "nanos": null
}, - "roi_zoom": "string"
}
], - "created_at": {
- "seconds": "string",
- "nanos": 0
}, - "updated_at": {
- "seconds": "string",
- "nanos": 0
}, - "capture_all_images": true,
- "enabled": true
}
]
}, - "assembly_id": {
- "uuid": "string"
}, - "step_record": {
- "id": "string",
- "prediction": 0,
- "complete": true,
- "time_taken": 0,
- "metric_datetime": "string",
- "delta_from_benchmark": 0,
- "benchmark": 0,
- "skipped": true,
- "supervisor_override": true,
- "torque_data": {
- "program_id": 0,
- "target_torque": 0,
- "max_torque": 0,
- "torque_unit": "string",
- "run_speed": 0,
- "final_speed": 0,
- "speed_unit": "string",
- "torque_series": [
- 0
], - "angle_series": [
- 0
], - "final_angle": 0,
- "angle_threshold": 0,
- "verify_angle": true,
- "min_torque": 0,
- "downshift_enabled": true,
- "angle_check_start_threshold": 0
}, - "num_incorrect": 0,
- "is_rework": true
}, - "assembly_record": {
- "id": {
- "uuid": "string"
}, - "ref_assembly_id": {
- "uuid": "string"
}, - "ref_assembly": {
- "id": {
- "uuid": "string"
}, - "name": "string",
- "description": "string",
- "image_link": "string",
- "tenant_id": "string",
- "training_complete": true,
- "revision_id": {
- "uuid": "string"
}, - "parent_id": {
- "uuid": "string"
}, - "revision": 0,
- "steps": {
- "steps": [
- {
- "id": "string",
- "name": "string",
- "description": "string",
- "image_link": "string",
- "video_link": "string",
- "overlay_link": "string",
- "minimum_predict": 0,
- "benchmark": 0,
- "roi_zoom": "string",
- "camera_id": "string",
- "perspective_change": true,
- "mask_perspective": true,
- "training_required": true,
- "classes": [
- null
], - "assembly_id": {
- "uuid": null
}, - "next_step_id": "string",
- "previous_step_id": "string",
- "options": {
- "page": null,
- "page_size": null,
- "start_date": null,
- "end_date": null
}, - "step_data": [
- null
], - "step_detection_targets": [
- null
], - "step_motions": [
- null
]
}
]
}, - "augmentation": {
- "id": "string",
- "assembly_id": {
- "uuid": "string"
}, - "lighting_aug": 0,
- "placement_aug": 0,
- "color_aug": 0,
- "prompt": "string",
- "negative_prompt": "string"
}, - "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}, - "classes": [
- "string"
], - "product_version": "string",
- "model_version": "string",
- "published": true,
- "approver": "string",
- "notes": "string",
- "record_videos": true,
- "last_edited": {
- "seconds": "string",
- "nanos": 0
}, - "active": true
}, - "operator": {
- "id": "string",
- "first_name": "string",
- "last_name": "string",
- "num_records": 0,
- "role": "string",
- "rfid": "string",
- "password": "string",
- "active": true,
- "has_password": true,
- "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}
}, - "benchmark": 0,
- "complete": true,
- "assembly_record_datetime": "string",
- "num_records": 0,
- "qa_report_link": "string",
- "ocr_capture_variable_records": {
- "ocr_capture_variable_records": [
- {
- "id": "string",
- "assembly_record_id": "string",
- "step_id": "string",
- "variable_name": "string",
- "variable_value": "string"
}
]
}, - "quality_hold": true,
- "time_taken": 0,
- "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}, - "is_rework": true,
- "original_assembly_record_id": "string",
- "resume_from_step_id": 0,
- "rework_id": "string",
- "rework_reason": "string",
- "resumed_by_record_id": "string",
- "rework_completed": true
}, - "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}
}
], - "avg_time": 0,
- "avg_step_time": 0,
- "quality": 0,
- "ocr_capture_variable_records": {
- "ocr_capture_variable_records": [
- {
- "id": "string",
- "assembly_record_id": "string",
- "step_id": "string",
- "variable_name": "string",
- "variable_value": "string"
}
]
}
}
}Response samples
- 200
- 404
{- "status": "string",
- "msg": {
- "records": [
- {
- "id": {
- "uuid": "string"
}, - "ref_assembly_id": {
- "uuid": "string"
}, - "ref_assembly": {
- "id": {
- "uuid": "string"
}, - "name": "string",
- "description": "string",
- "image_link": "string",
- "tenant_id": "string",
- "training_complete": true,
- "revision_id": {
- "uuid": "string"
}, - "parent_id": {
- "uuid": "string"
}, - "revision": 0,
- "steps": {
- "steps": [
- {
- "id": "string",
- "name": "string",
- "description": "string",
- "image_link": "string",
- "video_link": "string",
- "overlay_link": "string",
- "minimum_predict": 0,
- "benchmark": 0,
- "roi_zoom": "string",
- "camera_id": "string",
- "perspective_change": true,
- "mask_perspective": true,
- "training_required": true,
- "classes": [
- "string"
], - "assembly_id": {
- "uuid": "string"
}, - "next_step_id": "string",
- "previous_step_id": "string",
- "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": null,
- "nanos": null
}, - "end_date": {
- "seconds": null,
- "nanos": null
}
}, - "step_data": [
- {
- "step_data_info": [ ],
- "id": null,
- "step_id": null,
- "data_type": null,
- "units": null,
- "name": null,
- "tolerance": null,
- "auto_align": null,
- "torque_data": null,
- "options": null,
- "ocr_capture_variable_info": [ ]
}
], - "step_detection_targets": [
- {
- "id": null,
- "step_id": null,
- "detection_target_id": null,
- "detection_target_uuid": null,
- "bbox_x": null,
- "bbox_y": null,
- "bbox_width": null,
- "bbox_height": null,
- "description": null,
- "score": null,
- "created_at": null,
- "updated_at": null,
- "manually_adjusted": null,
- "correct": null,
- "part_number": null,
- "display_id": null,
- "label": null,
- "detection_target": null
}
], - "step_motions": [
- {
- "id": null,
- "step_id": null,
- "motion_type": null,
- "sequence_order": null,
- "step_positions": [ ],
- "created_at": null,
- "updated_at": null,
- "capture_all_images": null,
- "enabled": null
}
]
}
]
}, - "augmentation": {
- "id": "string",
- "assembly_id": {
- "uuid": "string"
}, - "lighting_aug": 0,
- "placement_aug": 0,
- "color_aug": 0,
- "prompt": "string",
- "negative_prompt": "string"
}, - "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}, - "classes": [
- "string"
], - "product_version": "string",
- "model_version": "string",
- "published": true,
- "approver": "string",
- "notes": "string",
- "record_videos": true,
- "last_edited": {
- "seconds": "string",
- "nanos": 0
}, - "active": true
}, - "operator": {
- "id": "string",
- "first_name": "string",
- "last_name": "string",
- "num_records": 0,
- "role": "string",
- "rfid": "string",
- "password": "string",
- "active": true,
- "has_password": true,
- "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}
}, - "benchmark": 0,
- "complete": true,
- "assembly_record_datetime": "string",
- "num_records": 0,
- "qa_report_link": "string",
- "ocr_capture_variable_records": {
- "ocr_capture_variable_records": [
- {
- "id": "string",
- "assembly_record_id": "string",
- "step_id": "string",
- "variable_name": "string",
- "variable_value": "string"
}
]
}, - "quality_hold": true,
- "time_taken": 0,
- "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}, - "is_rework": true,
- "original_assembly_record_id": "string",
- "resume_from_step_id": 0,
- "rework_id": "string",
- "rework_reason": "string",
- "resumed_by_record_id": "string",
- "rework_completed": true
}
], - "total_pages": 0
}
}Response samples
- 200
- 404
{- "status": "string",
- "msg": {
- "records": [
- {
- "id": {
- "uuid": "string"
}, - "ref_assembly_id": {
- "uuid": "string"
}, - "ref_assembly": {
- "id": {
- "uuid": "string"
}, - "name": "string",
- "description": "string",
- "image_link": "string",
- "tenant_id": "string",
- "training_complete": true,
- "revision_id": {
- "uuid": "string"
}, - "parent_id": {
- "uuid": "string"
}, - "revision": 0,
- "steps": {
- "steps": [
- {
- "id": "string",
- "name": "string",
- "description": "string",
- "image_link": "string",
- "video_link": "string",
- "overlay_link": "string",
- "minimum_predict": 0,
- "benchmark": 0,
- "roi_zoom": "string",
- "camera_id": "string",
- "perspective_change": true,
- "mask_perspective": true,
- "training_required": true,
- "classes": [
- "string"
], - "assembly_id": {
- "uuid": "string"
}, - "next_step_id": "string",
- "previous_step_id": "string",
- "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": null,
- "nanos": null
}, - "end_date": {
- "seconds": null,
- "nanos": null
}
}, - "step_data": [
- {
- "step_data_info": [ ],
- "id": null,
- "step_id": null,
- "data_type": null,
- "units": null,
- "name": null,
- "tolerance": null,
- "auto_align": null,
- "torque_data": null,
- "options": null,
- "ocr_capture_variable_info": [ ]
}
], - "step_detection_targets": [
- {
- "id": null,
- "step_id": null,
- "detection_target_id": null,
- "detection_target_uuid": null,
- "bbox_x": null,
- "bbox_y": null,
- "bbox_width": null,
- "bbox_height": null,
- "description": null,
- "score": null,
- "created_at": null,
- "updated_at": null,
- "manually_adjusted": null,
- "correct": null,
- "part_number": null,
- "display_id": null,
- "label": null,
- "detection_target": null
}
], - "step_motions": [
- {
- "id": null,
- "step_id": null,
- "motion_type": null,
- "sequence_order": null,
- "step_positions": [ ],
- "created_at": null,
- "updated_at": null,
- "capture_all_images": null,
- "enabled": null
}
]
}
]
}, - "augmentation": {
- "id": "string",
- "assembly_id": {
- "uuid": "string"
}, - "lighting_aug": 0,
- "placement_aug": 0,
- "color_aug": 0,
- "prompt": "string",
- "negative_prompt": "string"
}, - "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}, - "classes": [
- "string"
], - "product_version": "string",
- "model_version": "string",
- "published": true,
- "approver": "string",
- "notes": "string",
- "record_videos": true,
- "last_edited": {
- "seconds": "string",
- "nanos": 0
}, - "active": true
}, - "operator": {
- "id": "string",
- "first_name": "string",
- "last_name": "string",
- "num_records": 0,
- "role": "string",
- "rfid": "string",
- "password": "string",
- "active": true,
- "has_password": true,
- "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}
}, - "benchmark": 0,
- "complete": true,
- "assembly_record_datetime": "string",
- "num_records": 0,
- "qa_report_link": "string",
- "ocr_capture_variable_records": {
- "ocr_capture_variable_records": [
- {
- "id": "string",
- "assembly_record_id": "string",
- "step_id": "string",
- "variable_name": "string",
- "variable_value": "string"
}
]
}, - "quality_hold": true,
- "time_taken": 0,
- "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}, - "is_rework": true,
- "original_assembly_record_id": "string",
- "resume_from_step_id": 0,
- "rework_id": "string",
- "rework_reason": "string",
- "resumed_by_record_id": "string",
- "rework_completed": true
}
], - "total_pages": 0
}
}Response samples
- 200
- 400
{- "status": "string",
- "msg": [
- {
- "id": "string",
- "name": "string",
- "mfg": "string",
- "serial_number": "string",
- "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}
}
]
}Adds a new camera to the database
Request Body schema: application/json
| id | string |
| name | string |
| mfg | string |
| serial_number | string |
object (DatabaseOptions) |
Responses
Request samples
- Payload
{- "id": "string",
- "name": "string",
- "mfg": "string",
- "serial_number": "string",
- "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}
}Response samples
- 200
{- "status": "string",
- "msg": {
- "code": "string",
- "product_version": "string",
- "msg": "string",
- "count": 0,
- "target": "string",
- "err_code": "string"
}
}Deletes camera from the database
Request Body schema: application/json
| id | string |
| name | string |
| mfg | string |
| serial_number | string |
object (DatabaseOptions) |
Responses
Request samples
- Payload
{- "id": "string",
- "name": "string",
- "mfg": "string",
- "serial_number": "string",
- "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}
}Response samples
- 200
{- "status": "ok",
- "msg": ""
}Gets an M-JPEG stream of the active camera
Gets an M-JPEG stream of the active camera. Make sure to start the camera pipeline first via POST /camera_stream.
Request Body schema: application/json
| id | string |
| name | string |
| mfg | string |
| serial_number | string |
object (DatabaseOptions) |
Responses
Request samples
- Payload
{- "id": "string",
- "name": "string",
- "mfg": "string",
- "serial_number": "string",
- "options": {
- "page": 0,
- "page_size": 0,
- "start_date": {
- "seconds": "string",
- "nanos": 0
}, - "end_date": {
- "seconds": "string",
- "nanos": 0
}
}
}Response samples
- 200
{- "status": "string",
- "msg": {
- "resolution": "string",
- "resize_pipeline": "string",
- "resize_web": "string",
- "framerate": 0,
- "iso": 0,
- "rotation": 0,
- "zoom": "string",
- "ip": "string",
- "port": "string",
- "stream_path": "string",
- "pipeline_color_format": "string",
- "device_user_name": "string",
- "camera_type": "string",
- "device_serial_number": "string",
- "emulation": true,
- "user_set": "string",
- "model": "string",
- "Width": 0,
- "Height": 0,
- "OffsetX": 0,
- "OffsetY": 0,
- "ReverseX": 0,
- "ReverseY": 0,
- "PixelFormat": "string",
- "AcquisitionMode": "string",
- "ExposureAuto": "string",
- "ExposureMode": "string",
- "AcquisitionFrameRateAbs": 0,
- "AcquisitionFrameRate": 0,
- "PylonIgnoreCaps": 0,
- "DeviceUserID": "string",
- "ImageFilepath": "string",
- "CameraWidth": 0,
- "CameraHeight": 0,
- "CameraOffsetX": 0,
- "CameraOffsetY": 0,
- "AutoFocus": true,
- "WhiteBalanceRed": 0,
- "WhiteBalanceGreen": 0,
- "WhiteBalanceBlue": 0,
- "ExposureTime": 0,
- "Gain": 0,
- "MaxGain": 0,
- "MaxExposureTime": 0,
- "AutoReconnect": true,
- "WidthMax": 0,
- "HeightMax": 0,
- "system_options": {
- "use_alignment_ai": true,
- "alignment_mode": "string",
- "alignment_ai_threshold": 0,
- "use_multistep_model": true,
- "auto_advance_video_only": true
}, - "test_config": {
- "test_dir": "string",
- "assembly_id": "string",
- "step_label": "string",
- "disable_crop": true,
- "disable_camera_change": true,
- "override_auto_step": true
}, - "force_full_range": true
}
}Update the configuration of a specific camera
Request Body schema: application/json
| resolution | string |
| resize_pipeline | string |
| resize_web | string |
| framerate | number <float> |
| iso | integer <int32> |
| rotation | integer <int32> |
| zoom | string |
| ip | string |
| port | string |
| stream_path | string |
| pipeline_color_format | string |
| device_user_name | string |
| camera_type | string Possible values are: UNKNOWN BASLER_ACE BASLER_GIGE BASLER_AC2 BASLER_USB BASLER_EMULATOR RASPBERRY_PI |
| device_serial_number | string |
| emulation | boolean |
| user_set | string |
| model | string |
| Width | integer <int32> |
| Height | integer <int32> |
| OffsetX | integer <int32> |
| OffsetY | integer <int32> |
| ReverseX | integer <int32> |
| ReverseY | integer <int32> |
| PixelFormat | string |
| AcquisitionMode | string |
| ExposureAuto | string |
| ExposureMode | string |
| AcquisitionFrameRateAbs | number <float> |
| AcquisitionFrameRate | number <float> |
| PylonIgnoreCaps | integer <int32> |
| DeviceUserID | string |
| ImageFilepath | string |
| CameraWidth | integer <int32> |
| CameraHeight | integer <int32> |
| CameraOffsetX | integer <int32> |
| CameraOffsetY | integer <int32> |
| AutoFocus | boolean |
| WhiteBalanceRed | number <float> |
| WhiteBalanceGreen | number <float> |
| WhiteBalanceBlue | number <float> |
| ExposureTime | number <float> |
| Gain | number <float> |
| MaxGain | number <float> |
| MaxExposureTime | integer <int32> |
| AutoReconnect | boolean |
| WidthMax | integer <int32> |
| HeightMax | integer <int32> |
object (SystemOptions) | |
object (CameraTestConfig) | |
| force_full_range | boolean |
Responses
Request samples
- Payload
{- "resolution": "string",
- "resize_pipeline": "string",
- "resize_web": "string",
- "framerate": 0,
- "iso": 0,
- "rotation": 0,
- "zoom": "string",
- "ip": "string",
- "port": "string",
- "stream_path": "string",
- "pipeline_color_format": "string",
- "device_user_name": "string",
- "camera_type": "string",
- "device_serial_number": "string",
- "emulation": true,
- "user_set": "string",
- "model": "string",
- "Width": 0,
- "Height": 0,
- "OffsetX": 0,
- "OffsetY": 0,
- "ReverseX": 0,
- "ReverseY": 0,
- "PixelFormat": "string",
- "AcquisitionMode": "string",
- "ExposureAuto": "string",
- "ExposureMode": "string",
- "AcquisitionFrameRateAbs": 0,
- "AcquisitionFrameRate": 0,
- "PylonIgnoreCaps": 0,
- "DeviceUserID": "string",
- "ImageFilepath": "string",
- "CameraWidth": 0,
- "CameraHeight": 0,
- "CameraOffsetX": 0,
- "CameraOffsetY": 0,
- "AutoFocus": true,
- "WhiteBalanceRed": 0,
- "WhiteBalanceGreen": 0,
- "WhiteBalanceBlue": 0,
- "ExposureTime": 0,
- "Gain": 0,
- "MaxGain": 0,
- "MaxExposureTime": 0,
- "AutoReconnect": true,
- "WidthMax": 0,
- "HeightMax": 0,
- "system_options": {
- "use_alignment_ai": true,
- "alignment_mode": "string",
- "alignment_ai_threshold": 0,
- "use_multistep_model": true,
- "auto_advance_video_only": true
}, - "test_config": {
- "test_dir": "string",
- "assembly_id": "string",
- "step_label": "string",
- "disable_crop": true,
- "disable_camera_change": true,
- "override_auto_step": true
}, - "force_full_range": true
}Response samples
- 200
{- "status": "string",
- "msg": {
- "roi_zoom": "string",
- "camera_name": "string"
}
}Get all Basler device usernames
Some Camera endpoints require a "device_user_name", which is an identifier for a given Basler camera. This endpoint returns all configured basler device user names. Response is returned in a JSON serialized string. Sample response:
{
"status": "ok",
"msg": "[\"RAP_CAM_01\", \"RAP_CAM_02\"]"
}
Responses
Response samples
- 200
{- "status": "ok",
- "msg": ""
}Triggers the Auto Adjust functionality of a specific camera
For cameras ending in PD01, also triggers optimize focus workflow
Request Body schema: application/json
| device_user_name required | string A Basler device username |
Responses
Request samples
- Payload
{- "device_user_name": "string"
}Response samples
- 200
{- "status": "ok",
- "msg": ""
}Triggers the Auto Focus functionality of a specific camera
Use force_full_range=true to skip cached diopter ranges and run full autofocus.
Request Body schema: application/json
| device_user_name required | string A Basler device username |
| force_full_range | boolean Default: false If true, skip cached ranges and run full autofocus |
Responses
Request samples
- Payload
{- "device_user_name": "string",
- "force_full_range": false
}Response samples
- 200
{- "status": "ok",
- "msg": ""
}Optimize autofocus by learning diopter ranges ()
Triggers autofocus optimization to learn optimal diopter ranges for faster future autofocus. This is a manual optimization - user should move camera to different working distances and trigger this endpoint at each position. Database automatically updates with learned ranges.
Request Body schema: application/json
| device_user_name required | string A Basler device username |
Responses
Request samples
- Payload
{- "device_user_name": "string"
}Response samples
- 200
{- "status": "ok",
- "msg": ""
}Set the max gain of a specific camera
Request Body schema: application/json
| device_user_name required | string A Basler device username |
| max_gain | number <float> |
Responses
Request samples
- Payload
{- "device_user_name": "string",
- "max_gain": 0
}Response samples
- 200
{- "status": "ok",
- "msg": ""
}Set exposure time for manual user adjustments with permanent storage
Request Body schema: application/json
| max | integer <int32> Exposure time in microseconds |
| device_user_name | string Camera device name |
Responses
Request samples
- Payload
{- "max": 0,
- "device_user_name": "string"
}Response samples
- 200
{- "status": "ok",
- "msg": ""
}Set the max exposure time of a specific camera
Request Body schema: application/json
| device_user_name | string |
| max_exposure_time | integer <int32> Exposure time in microseconds |
Responses
Request samples
- Payload
{- "device_user_name": "string",
- "max_exposure_time": 0
}Response samples
- 200
- 400
{- "status": "ok",
- "msg": ""
}Get the health status of system components
Request Body schema: application/json
| _compute_sensor_camera_basler | string Possible values are: UNKNOWN UP DOWN RESET |
| _compute_sensor_mechanical_io | string Possible values are: UNKNOWN UP DOWN RESET |
| _buslog_scheduler | string Possible values are: UNKNOWN UP DOWN RESET |
| _store_filesys | string Possible values are: UNKNOWN UP DOWN RESET |
| _store_database | string Possible values are: UNKNOWN UP DOWN RESET |
| _compute_predict | string Possible values are: UNKNOWN UP DOWN RESET |
| _compute_sequencer | string Possible values are: UNKNOWN UP DOWN RESET |
| _compute_train.*? | string Possible values are: UNKNOWN UP DOWN RESET |
| _compute_recorder | string Possible values are: UNKNOWN UP DOWN RESET |
| _ui_webserver | string Possible values are: UNKNOWN UP DOWN RESET |
| _buslog_reporting | string Possible values are: UNKNOWN UP DOWN RESET |
Request samples
- Payload
{- "_compute_sensor_camera_basler": "UP",
- "_compute_sensor_mechanical_io": "UP",
- "_buslog_scheduler": "UP",
- "_store_filesys": "UP",
- "_store_database": "UP",
- "_compute_predict": "UP",
- "_compute_sequencer": "UP",
- "_compute_train.*?": "UP",
- "_compute_recorder": "UP",
- "_ui_webserver": "UP",
- "_buslog_reporting": "UP"
}Change how frequently a report is emailed, and who receives one
Request Body schema: application/json
| frequency | string Values can be "DAILY", "WEEKLY", "MONTHLY" |
| report_type | string Currently, the only valid value is "ASSEMBLY" |
| recipients | Array of strings |
Responses
Request samples
- Payload
{- "frequency": "WEEKLY",
- "report_type": "string",
- "recipients": [
- "string"
]
}Response samples
- 200
- 400
{- "status": "string",
- "msg": {
- "id": "string",
- "recipients": [
- "string"
], - "report_type": "string",
- "frequency": "string",
- "last_ran": "string"
}
}Return all scheduled reports
Returns a list of all scheduled reports. Currently there is only ever one scheduled report which can be continuously overwritten by POST /scheduled-report. This will change in the future.
Responses
Response samples
- 200
- 400
{- "status": "string",
- "msg": {
- "scheduled_reports": [
- {
- "id": "string",
- "recipients": [
- "string"
], - "report_type": "string",
- "frequency": "string",
- "last_ran": "string"
}
]
}
}Update information about a specific scheduled report
path Parameters
| scheduled_report_id required | integer Example: 1 The ID of the scheduled report |
Request Body schema: application/json
| frequency | string Values can be "DAILY", "WEEKLY", "MONTHLY" |
| recipients | Array of strings |
Responses
Request samples
- Payload
{- "frequency": "WEEKLY",
- "recipients": [
- "string"
]
}Response samples
- 200
- 400
{- "status": "string",
- "msg": {
- "scheduled_reports": [
- {
- "id": "string",
- "recipients": [
- "string"
], - "report_type": "string",
- "frequency": "string",
- "last_ran": "string"
}
]
}
}Set the static IP and subnet mask for this workstations Rapta Gateway.
Request Body schema: application/json
| static_ip | string |
| subnet_mask | string |
object (Status) |
Responses
Request samples
- Payload
{- "static_ip": "desired_rapta_ip",
- "subnet_mask": "255.255.255.0"
}Response samples
- 200
- 400
- 500
{- "status": "ok",
- "msg": ""
}Retrieve current status of the backup service. States whether the service is idle, ongoing backups or restorations, or if an error has occurred.
Responses
Response samples
- 200
{- "status": "string",
- "msg": {
- "backup_status": "string",
- "reason": "string",
- "service_unusable": true
}
}Create or update a data backup connection
Request Body schema: application/json
| id | string |
| username | string |
| uri | string |
| directory | string |
| backup_enabled | boolean |
| backup_automatically | boolean |
| exception_recipients | Array of strings |
object (Timestamp) | |
| restore_message | string |
| restore_status | string Possible values are: SUCCESS FAIL STARTED ENDED QUEUED UNAVAILABLE CANCELLED ERROR INVALID_ARGUMENT NOT_FOUND OK IDLE BUSY UNKNOWN INITIALIZING CHECKSUM_MISMATCH WARNING NOT_INITIALIZED ALREADY_EXISTS INTERNAL_ERROR UP DOWN WRONG_VERSION |
object (Timestamp) | |
| backup_message | string |
| backup_status | string Possible values are: SUCCESS FAIL STARTED ENDED QUEUED UNAVAILABLE CANCELLED ERROR INVALID_ARGUMENT NOT_FOUND OK IDLE BUSY UNKNOWN INITIALIZING CHECKSUM_MISMATCH WARNING NOT_INITIALIZED ALREADY_EXISTS INTERNAL_ERROR UP DOWN WRONG_VERSION |
Responses
Request samples
- Payload
{- "username": "smb_username",
- "password": "MySMBPassword",
- "uri": "127.0.0.1",
- "directory": "RaptaShare"
}Response samples
- 200
- 400
- 500
{- "status": "ok",
- "msg": ""
}Response samples
- 200
{- "status": "string",
- "msg": [
- {
- "device": "string",
- "model_name": "string",
- "partitions": [
- {
- "device": "string",
- "uri": "string",
- "max_storage": "string",
- "used_storage": "string",
- "free_storage": "string",
- "supported": true
}
]
}
]
}Connect to a smart wrench device
Request Body schema: application/json
| address required | string |
| port | integer <int32> |
| timeout_ms | integer <int32> |
| connection_type | string |
| manufacturer | string |
| model | string |
| connection_parameters | object |
Responses
Request samples
- Payload
{- "address": "string",
- "port": 0,
- "timeout_ms": 0,
- "connection_type": "string",
- "manufacturer": "string",
- "model": "string",
- "connection_parameters": { }
}Response samples
- 200
- 500
{- "status": "string",
- "msg": {
- "connected": true,
- "status_message": "string",
- "serial_number": 0,
- "firmware_version": 0,
- "error_code": "string",
- "ready": true
}
}Disconnect from a smart wrench device
Request Body schema: application/json
| address required | string |
Responses
Request samples
- Payload
{- "address": "string"
}Response samples
- 200
- 500
{- "status": "string",
- "msg": {
- "connected": true,
- "status_message": "string",
- "serial_number": 0,
- "firmware_version": 0,
- "error_code": "string",
- "ready": true
}
}Get the current status of a smart wrench device
query Parameters
| address required | string Address of the wrench |
Responses
Response samples
- 200
- 500
{- "status": "string",
- "msg": {
- "connected": true,
- "status_message": "string",
- "serial_number": 0,
- "firmware_version": 0,
- "error_code": "string",
- "ready": true
}
}Response samples
- 200
- 500
{- "status": "string",
- "msg": {
- "configs": [
- {
- "connection_type": "string",
- "address": "string",
- "port": 0,
- "timeout_ms": 0,
- "polling_interval_ms": 0,
- "manufacturer": "string",
- "model": "string",
- "connection_parameters": [
- {
- "key": "string",
- "value": "string"
}
]
}
]
}
}Toggle wrench functionalities (enable, disable, lock, unlock)
Request Body schema: application/json
| action required | string One of 'enable', 'disable', 'lock', 'unlock' |
| program_nr | integer <int32> Program number if applicable |
Responses
Request samples
- Payload
{- "action": "string",
- "program_nr": 0
}Response samples
- 200
- 500
{- "status": "string",
- "msg": {
- "action": "string",
- "timestamp": {
- "seconds": "string",
- "nanos": 0
}, - "torque": 0,
- "angle": "string",
- "speed": "string",
- "program_nr": 0,
- "operation_complete": true,
- "status_message": "string",
- "target_torque": 0,
- "max_torque": 0,
- "min_torque": 0,
- "min_angle": 0,
- "max_angle": 0,
- "run_speed": "string",
- "final_speed": "string",
- "torque_unit": "string",
- "speed_unit": "string",
- "torque_series": [
- 0
], - "angle_series": [
- 0
], - "operation_timeout": true,
- "torque_status": "string",
- "angle_status": "string",
- "speed_status": "string",
- "peak_torque": 0
}
}Response samples
- 200
- 500
{- "status": "string",
- "msg": {
- "action": "string",
- "timestamp": {
- "seconds": "string",
- "nanos": 0
}, - "torque": 0,
- "angle": "string",
- "speed": "string",
- "program_nr": 0,
- "operation_complete": true,
- "status_message": "string",
- "target_torque": 0,
- "max_torque": 0,
- "min_torque": 0,
- "min_angle": 0,
- "max_angle": 0,
- "run_speed": "string",
- "final_speed": "string",
- "torque_unit": "string",
- "speed_unit": "string",
- "torque_series": [
- 0
], - "angle_series": [
- 0
], - "operation_timeout": true,
- "torque_status": "string",
- "angle_status": "string",
- "speed_status": "string",
- "peak_torque": 0
}
}Configure a tightening program
Request Body schema: application/json
| program_nr required | integer <int32> |
| program required | object |
Responses
Request samples
- Payload
{- "program_nr": 0,
- "program": { }
}Response samples
- 200
- 500
{- "status": "string",
- "msg": {
- "action": "string",
- "timestamp": {
- "seconds": "string",
- "nanos": 0
}, - "torque": 0,
- "angle": "string",
- "speed": "string",
- "program_nr": 0,
- "operation_complete": true,
- "status_message": "string",
- "target_torque": 0,
- "max_torque": 0,
- "min_torque": 0,
- "min_angle": 0,
- "max_angle": 0,
- "run_speed": "string",
- "final_speed": "string",
- "torque_unit": "string",
- "speed_unit": "string",
- "torque_series": [
- 0
], - "angle_series": [
- 0
], - "operation_timeout": true,
- "torque_status": "string",
- "angle_status": "string",
- "speed_status": "string",
- "peak_torque": 0
}
}Set sequence information
Request Body schema: application/json
| program_nr required | integer <int32> |
| sequence_number required | integer <int32> |
Responses
Request samples
- Payload
{- "program_nr": 0,
- "sequence_number": 0
}Response samples
- 200
- 500
{- "status": "string",
- "msg": {
- "action": "string",
- "timestamp": {
- "seconds": "string",
- "nanos": 0
}, - "torque": 0,
- "angle": "string",
- "speed": "string",
- "program_nr": 0,
- "operation_complete": true,
- "status_message": "string",
- "target_torque": 0,
- "max_torque": 0,
- "min_torque": 0,
- "min_angle": 0,
- "max_angle": 0,
- "run_speed": "string",
- "final_speed": "string",
- "torque_unit": "string",
- "speed_unit": "string",
- "torque_series": [
- 0
], - "angle_series": [
- 0
], - "operation_timeout": true,
- "torque_status": "string",
- "angle_status": "string",
- "speed_status": "string",
- "peak_torque": 0
}
}Response samples
- 200
- 500
{- "status": "string",
- "msg": {
- "action": "string",
- "timestamp": {
- "seconds": "string",
- "nanos": 0
}, - "torque": 0,
- "angle": "string",
- "speed": "string",
- "program_nr": 0,
- "operation_complete": true,
- "status_message": "string",
- "target_torque": 0,
- "max_torque": 0,
- "min_torque": 0,
- "min_angle": 0,
- "max_angle": 0,
- "run_speed": "string",
- "final_speed": "string",
- "torque_unit": "string",
- "speed_unit": "string",
- "torque_series": [
- 0
], - "angle_series": [
- 0
], - "operation_timeout": true,
- "torque_status": "string",
- "angle_status": "string",
- "speed_status": "string",
- "peak_torque": 0
}
}Set Alignment AI step id
path Parameters
| step_id required | integer Example: 1 The ID of the step |
| assembly_id required | integer Example: 1 The ID of the assembly |
query Parameters
| mode | string Enum: "continuous" "manual" Example: mode=continuous The mode of the step |
Responses
Response samples
- 200
- 500
{- "status": "ok",
- "msg": ""
}Response samples
- 200
- 404
{- "status": "string",
- "msg": [
- {
- "base_nn": {
- "type": "string",
- "product_type": "string",
- "version": "string",
- "python_version": "string",
- "tensorflow_version": "string",
- "model_name": "string",
- "model_type": "string",
- "model_category": "string"
}, - "timestamp": {
- "seconds": "string",
- "nanos": 0
}, - "configuration": {
- "duration": 0,
- "sample_size": 0,
- "image_height": 0,
- "image_width": 0,
- "image_channels": 0,
- "batch_size": 0,
- "validation_split": 0,
- "training_steps": 0,
- "epochs": 0,
- "tfloat16": true
}, - "data_dir": "string",
- "assembly_id": {
- "uuid": "string"
}, - "augmentation": {
- "id": "string",
- "assembly_id": {
- "uuid": "string"
}, - "lighting_aug": 0,
- "placement_aug": 0,
- "color_aug": 0,
- "prompt": "string",
- "negative_prompt": "string"
}, - "occlusion": true,
- "step_id": "string",
- "training_speed": 0,
- "name": "string"
}
]
}Create a new model in the parts library
Request Body schema: application/json
| name required | string |
| version | string |
| architecture | string |
Responses
Request samples
- Payload
{- "name": "YOLOv8",
- "version": "1.0",
- "architecture": "CNN"
}Response samples
- 200
- 500
{- "status": "string",
- "msg": {
- "base_nn": {
- "type": "string",
- "product_type": "string",
- "version": "string",
- "python_version": "string",
- "tensorflow_version": "string",
- "model_name": "string",
- "model_type": "string",
- "model_category": "string"
}, - "timestamp": {
- "seconds": "string",
- "nanos": 0
}, - "configuration": {
- "duration": 0,
- "sample_size": 0,
- "image_height": 0,
- "image_width": 0,
- "image_channels": 0,
- "batch_size": 0,
- "validation_split": 0,
- "training_steps": 0,
- "epochs": 0,
- "tfloat16": true
}, - "data_dir": "string",
- "assembly_id": {
- "uuid": "string"
}, - "augmentation": {
- "id": "string",
- "assembly_id": {
- "uuid": "string"
}, - "lighting_aug": 0,
- "placement_aug": 0,
- "color_aug": 0,
- "prompt": "string",
- "negative_prompt": "string"
}, - "occlusion": true,
- "step_id": "string",
- "training_speed": 0,
- "name": "string"
}
}Retrieve a fully populated model from the parts library
path Parameters
| model_identifier required | string Example: 1 The ID, UUID, or name of the model |
query Parameters
| page | integer Default: 1 Example: page=1 Page number for detection targets (1-indexed) |
| page_size | integer Example: page_size=20 Number of detection targets per page. Omit to return all targets. |
Responses
Response samples
- 200
- 404
{- "status": "string",
- "msg": {
- "base_nn": {
- "type": "string",
- "product_type": "string",
- "version": "string",
- "python_version": "string",
- "tensorflow_version": "string",
- "model_name": "string",
- "model_type": "string",
- "model_category": "string"
}, - "timestamp": {
- "seconds": "string",
- "nanos": 0
}, - "configuration": {
- "duration": 0,
- "sample_size": 0,
- "image_height": 0,
- "image_width": 0,
- "image_channels": 0,
- "batch_size": 0,
- "validation_split": 0,
- "training_steps": 0,
- "epochs": 0,
- "tfloat16": true
}, - "data_dir": "string",
- "assembly_id": {
- "uuid": "string"
}, - "augmentation": {
- "id": "string",
- "assembly_id": {
- "uuid": "string"
}, - "lighting_aug": 0,
- "placement_aug": 0,
- "color_aug": 0,
- "prompt": "string",
- "negative_prompt": "string"
}, - "occlusion": true,
- "step_id": "string",
- "training_speed": 0,
- "name": "string"
}
}Retrieve a specific model from the parts library
path Parameters
| model_identifier required | string Example: 1 The ID, UUID, or name of the model |
Responses
Response samples
- 200
- 404
{- "status": "string",
- "msg": {
- "base_nn": {
- "type": "string",
- "product_type": "string",
- "version": "string",
- "python_version": "string",
- "tensorflow_version": "string",
- "model_name": "string",
- "model_type": "string",
- "model_category": "string"
}, - "timestamp": {
- "seconds": "string",
- "nanos": 0
}, - "configuration": {
- "duration": 0,
- "sample_size": 0,
- "image_height": 0,
- "image_width": 0,
- "image_channels": 0,
- "batch_size": 0,
- "validation_split": 0,
- "training_steps": 0,
- "epochs": 0,
- "tfloat16": true
}, - "data_dir": "string",
- "assembly_id": {
- "uuid": "string"
}, - "augmentation": {
- "id": "string",
- "assembly_id": {
- "uuid": "string"
}, - "lighting_aug": 0,
- "placement_aug": 0,
- "color_aug": 0,
- "prompt": "string",
- "negative_prompt": "string"
}, - "occlusion": true,
- "step_id": "string",
- "training_speed": 0,
- "name": "string"
}
}Update a model in the parts library
path Parameters
| model_identifier required | string Example: 1 The ID, UUID, or name of the model |
Request Body schema: application/json
| name | string |
| version | string |
| architecture | string |
Responses
Request samples
- Payload
{- "name": "YOLOv8-updated",
- "version": "1.1",
- "architecture": "CNN"
}Response samples
- 200
- 500
{- "status": "string",
- "msg": {
- "base_nn": {
- "type": "string",
- "product_type": "string",
- "version": "string",
- "python_version": "string",
- "tensorflow_version": "string",
- "model_name": "string",
- "model_type": "string",
- "model_category": "string"
}, - "timestamp": {
- "seconds": "string",
- "nanos": 0
}, - "configuration": {
- "duration": 0,
- "sample_size": 0,
- "image_height": 0,
- "image_width": 0,
- "image_channels": 0,
- "batch_size": 0,
- "validation_split": 0,
- "training_steps": 0,
- "epochs": 0,
- "tfloat16": true
}, - "data_dir": "string",
- "assembly_id": {
- "uuid": "string"
}, - "augmentation": {
- "id": "string",
- "assembly_id": {
- "uuid": "string"
}, - "lighting_aug": 0,
- "placement_aug": 0,
- "color_aug": 0,
- "prompt": "string",
- "negative_prompt": "string"
}, - "occlusion": true,
- "step_id": "string",
- "training_speed": 0,
- "name": "string"
}
}Retrieve all detection targets from the parts library
path Parameters
| model_id required | string |
Responses
Response samples
- 200
- 404
{- "status": "string",
- "msg": [
- {
- "id": 0,
- "uuid": "string",
- "model_id": 0,
- "label": "string",
- "display_id": "string",
- "part_number": "string",
- "description": "string",
- "linked_assemblies": [
- "string"
], - "created_at": {
- "seconds": "string",
- "nanos": 0
}, - "updated_at": {
- "seconds": "string",
- "nanos": 0
}, - "image_samples": [
- {
- "id": 0,
- "uuid": "string",
- "detection_target_id": 0,
- "file_path": "string",
- "width": 0,
- "height": 0,
- "capture_date": {
- "seconds": "string",
- "nanos": 0
}, - "capture_conditions": "string",
- "created_at": {
- "seconds": "string",
- "nanos": 0
}, - "augmented": true,
- "correct": true,
- "label": "string",
- "annotations": [
- {
- "id": 0,
- "uuid": "string",
- "image_sample_id": 0,
- "bbox_x": 0,
- "bbox_y": 0,
- "bbox_width": 0,
- "bbox_height": 0,
- "created_at": {
- "seconds": "string",
- "nanos": 0
}, - "confidence": 0,
- "similarity": 0,
- "center_x": 0,
- "center_y": 0,
- "category": "string",
- "label": "string"
}
]
}
], - "trained": true,
- "pending": true
}
]
}Retrieve a fully populated detection target from the parts library
path Parameters
| target_identifier required | string Example: 1 The ID, UUID, or label of the detection target |
Responses
Response samples
- 200
- 404
{- "status": "string",
- "msg": {
- "id": 0,
- "uuid": "string",
- "model_id": 0,
- "label": "string",
- "display_id": "string",
- "part_number": "string",
- "description": "string",
- "linked_assemblies": [
- "string"
], - "created_at": {
- "seconds": "string",
- "nanos": 0
}, - "updated_at": {
- "seconds": "string",
- "nanos": 0
}, - "image_samples": [
- {
- "id": 0,
- "uuid": "string",
- "detection_target_id": 0,
- "file_path": "string",
- "width": 0,
- "height": 0,
- "capture_date": {
- "seconds": "string",
- "nanos": 0
}, - "capture_conditions": "string",
- "created_at": {
- "seconds": "string",
- "nanos": 0
}, - "augmented": true,
- "correct": true,
- "label": "string",
- "annotations": [
- {
- "id": 0,
- "uuid": "string",
- "image_sample_id": 0,
- "bbox_x": 0,
- "bbox_y": 0,
- "bbox_width": 0,
- "bbox_height": 0,
- "created_at": {
- "seconds": "string",
- "nanos": 0
}, - "confidence": 0,
- "similarity": 0,
- "center_x": 0,
- "center_y": 0,
- "category": "string",
- "label": "string"
}
]
}
], - "trained": true,
- "pending": true
}
}Retrieve a specific detection target from the parts library
path Parameters
| target_identifier required | string Example: 1 The ID, UUID, or label of the detection target |
Responses
Response samples
- 200
- 404
{- "status": "string",
- "msg": {
- "id": 0,
- "uuid": "string",
- "model_id": 0,
- "label": "string",
- "display_id": "string",
- "part_number": "string",
- "description": "string",
- "linked_assemblies": [
- "string"
], - "created_at": {
- "seconds": "string",
- "nanos": 0
}, - "updated_at": {
- "seconds": "string",
- "nanos": 0
}, - "image_samples": [
- {
- "id": 0,
- "uuid": "string",
- "detection_target_id": 0,
- "file_path": "string",
- "width": 0,
- "height": 0,
- "capture_date": {
- "seconds": "string",
- "nanos": 0
}, - "capture_conditions": "string",
- "created_at": {
- "seconds": "string",
- "nanos": 0
}, - "augmented": true,
- "correct": true,
- "label": "string",
- "annotations": [
- {
- "id": 0,
- "uuid": "string",
- "image_sample_id": 0,
- "bbox_x": 0,
- "bbox_y": 0,
- "bbox_width": 0,
- "bbox_height": 0,
- "created_at": {
- "seconds": "string",
- "nanos": 0
}, - "confidence": 0,
- "similarity": 0,
- "center_x": 0,
- "center_y": 0,
- "category": "string",
- "label": "string"
}
]
}
], - "trained": true,
- "pending": true
}
}Create a new detection target in the parts library
Request Body schema: application/json
| model_id | integer <int32> |
| label required | string |
| display_id | string |
| part_number | string |
| description | string |
Responses
Request samples
- Payload
{- "model_id": 1,
- "label": "Capacitor",
- "part_number": "CAP-100",
- "description": "100uF capacitor"
}Response samples
- 200
- 500
{- "status": "string",
- "msg": {
- "id": 0,
- "uuid": "string",
- "model_id": 0,
- "label": "string",
- "display_id": "string",
- "part_number": "string",
- "description": "string",
- "linked_assemblies": [
- "string"
], - "created_at": {
- "seconds": "string",
- "nanos": 0
}, - "updated_at": {
- "seconds": "string",
- "nanos": 0
}, - "image_samples": [
- {
- "id": 0,
- "uuid": "string",
- "detection_target_id": 0,
- "file_path": "string",
- "width": 0,
- "height": 0,
- "capture_date": {
- "seconds": "string",
- "nanos": 0
}, - "capture_conditions": "string",
- "created_at": {
- "seconds": "string",
- "nanos": 0
}, - "augmented": true,
- "correct": true,
- "label": "string",
- "annotations": [
- {
- "id": 0,
- "uuid": "string",
- "image_sample_id": 0,
- "bbox_x": 0,
- "bbox_y": 0,
- "bbox_width": 0,
- "bbox_height": 0,
- "created_at": {
- "seconds": "string",
- "nanos": 0
}, - "confidence": 0,
- "similarity": 0,
- "center_x": 0,
- "center_y": 0,
- "category": "string",
- "label": "string"
}
]
}
], - "trained": true,
- "pending": true
}
}Update a detection target in the parts library
path Parameters
| target_identifier required | string Example: 1 The ID, UUID, or label of the detection target |
Request Body schema: application/json
| model_id | integer <int32> |
| label | string |
| display_id | string |
| part_number | string |
| description | string |
Responses
Request samples
- Payload
{- "label": "Updated Capacitor",
- "part_number": "CAP-200",
- "description": "200uF capacitor"
}Response samples
- 200
- 500
{- "status": "string",
- "msg": {
- "id": 0,
- "uuid": "string",
- "model_id": 0,
- "label": "string",
- "display_id": "string",
- "part_number": "string",
- "description": "string",
- "linked_assemblies": [
- "string"
], - "created_at": {
- "seconds": "string",
- "nanos": 0
}, - "updated_at": {
- "seconds": "string",
- "nanos": 0
}, - "image_samples": [
- {
- "id": 0,
- "uuid": "string",
- "detection_target_id": 0,
- "file_path": "string",
- "width": 0,
- "height": 0,
- "capture_date": {
- "seconds": "string",
- "nanos": 0
}, - "capture_conditions": "string",
- "created_at": {
- "seconds": "string",
- "nanos": 0
}, - "augmented": true,
- "correct": true,
- "label": "string",
- "annotations": [
- {
- "id": 0,
- "uuid": "string",
- "image_sample_id": 0,
- "bbox_x": 0,
- "bbox_y": 0,
- "bbox_width": 0,
- "bbox_height": 0,
- "created_at": {
- "seconds": "string",
- "nanos": 0
}, - "confidence": 0,
- "similarity": 0,
- "center_x": 0,
- "center_y": 0,
- "category": "string",
- "label": "string"
}
]
}
], - "trained": true,
- "pending": true
}
}Retrieve a model-detection target relationship from the parts library
path Parameters
| model_identifier required | string Example: 1 The ID, UUID, or name of the model |
| target_identifier required | string Example: 1 The ID, UUID, or label of the detection target |
Responses
Response samples
- 200
- 404
{- "status": "string",
- "msg": {
- "model": {
- "base_nn": {
- "type": "string",
- "product_type": "string",
- "version": "string",
- "python_version": "string",
- "tensorflow_version": "string",
- "model_name": "string",
- "model_type": "string",
- "model_category": "string"
}, - "timestamp": {
- "seconds": "string",
- "nanos": 0
}, - "configuration": {
- "duration": 0,
- "sample_size": 0,
- "image_height": 0,
- "image_width": 0,
- "image_channels": 0,
- "batch_size": 0,
- "validation_split": 0,
- "training_steps": 0,
- "epochs": 0,
- "tfloat16": true
}, - "data_dir": "string",
- "assembly_id": {
- "uuid": "string"
}, - "augmentation": {
- "id": "string",
- "assembly_id": {
- "uuid": "string"
}, - "lighting_aug": 0,
- "placement_aug": 0,
- "color_aug": 0,
- "prompt": "string",
- "negative_prompt": "string"
}, - "occlusion": true,
- "step_id": "string",
- "training_speed": 0,
- "name": "string"
}, - "detection_target": {
- "id": 0,
- "uuid": "string",
- "model_id": 0,
- "label": "string",
- "display_id": "string",
- "part_number": "string",
- "description": "string",
- "linked_assemblies": [
- "string"
], - "created_at": {
- "seconds": "string",
- "nanos": 0
}, - "updated_at": {
- "seconds": "string",
- "nanos": 0
}, - "image_samples": [
- {
- "id": 0,
- "uuid": "string",
- "detection_target_id": 0,
- "file_path": "string",
- "width": 0,
- "height": 0,
- "capture_date": {
- "seconds": "string",
- "nanos": 0
}, - "capture_conditions": "string",
- "created_at": {
- "seconds": "string",
- "nanos": 0
}, - "augmented": true,
- "correct": true,
- "label": "string",
- "annotations": [
- {
- "id": 0,
- "uuid": "string",
- "image_sample_id": 0,
- "bbox_x": 0,
- "bbox_y": 0,
- "bbox_width": 0,
- "bbox_height": 0,
- "created_at": {
- "seconds": "string",
- "nanos": 0
}, - "confidence": 0,
- "similarity": 0,
- "center_x": 0,
- "center_y": 0,
- "category": "string",
- "label": "string"
}
]
}
], - "trained": true,
- "pending": true
}, - "trained": true,
- "pending": true
}
}Update a model-detection target relationship in the parts library
path Parameters
| model_identifier required | string Example: 1 The ID, UUID, or name of the model |
| target_identifier required | string Example: 1 The ID, UUID, or label of the detection target |
Request Body schema: application/json
| trained | boolean |
| pending | boolean |
Responses
Request samples
- Payload
{- "trained": true,
- "pending": false
}Response samples
- 200
- 500
{- "status": "string",
- "msg": {
- "model": {
- "base_nn": {
- "type": "string",
- "product_type": "string",
- "version": "string",
- "python_version": "string",
- "tensorflow_version": "string",
- "model_name": "string",
- "model_type": "string",
- "model_category": "string"
}, - "timestamp": {
- "seconds": "string",
- "nanos": 0
}, - "configuration": {
- "duration": 0,
- "sample_size": 0,
- "image_height": 0,
- "image_width": 0,
- "image_channels": 0,
- "batch_size": 0,
- "validation_split": 0,
- "training_steps": 0,
- "epochs": 0,
- "tfloat16": true
}, - "data_dir": "string",
- "assembly_id": {
- "uuid": "string"
}, - "augmentation": {
- "id": "string",
- "assembly_id": {
- "uuid": "string"
}, - "lighting_aug": 0,
- "placement_aug": 0,
- "color_aug": 0,
- "prompt": "string",
- "negative_prompt": "string"
}, - "occlusion": true,
- "step_id": "string",
- "training_speed": 0,
- "name": "string"
}, - "detection_target": {
- "id": 0,
- "uuid": "string",
- "model_id": 0,
- "label": "string",
- "display_id": "string",
- "part_number": "string",
- "description": "string",
- "linked_assemblies": [
- "string"
], - "created_at": {
- "seconds": "string",
- "nanos": 0
}, - "updated_at": {
- "seconds": "string",
- "nanos": 0
}, - "image_samples": [
- {
- "id": 0,
- "uuid": "string",
- "detection_target_id": 0,
- "file_path": "string",
- "width": 0,
- "height": 0,
- "capture_date": {
- "seconds": "string",
- "nanos": 0
}, - "capture_conditions": "string",
- "created_at": {
- "seconds": "string",
- "nanos": 0
}, - "augmented": true,
- "correct": true,
- "label": "string",
- "annotations": [
- {
- "id": 0,
- "uuid": "string",
- "image_sample_id": 0,
- "bbox_x": 0,
- "bbox_y": 0,
- "bbox_width": 0,
- "bbox_height": 0,
- "created_at": {
- "seconds": "string",
- "nanos": 0
}, - "confidence": 0,
- "similarity": 0,
- "center_x": 0,
- "center_y": 0,
- "category": "string",
- "label": "string"
}
]
}
], - "trained": true,
- "pending": true
}, - "trained": true,
- "pending": true
}
}Response samples
- 200
- 404
{- "status": "string",
- "msg": [
- {
- "id": 0,
- "uuid": "string",
- "detection_target_id": 0,
- "file_path": "string",
- "width": 0,
- "height": 0,
- "capture_date": {
- "seconds": "string",
- "nanos": 0
}, - "capture_conditions": "string",
- "created_at": {
- "seconds": "string",
- "nanos": 0
}, - "augmented": true,
- "correct": true,
- "label": "string",
- "annotations": [
- {
- "id": 0,
- "uuid": "string",
- "image_sample_id": 0,
- "bbox_x": 0,
- "bbox_y": 0,
- "bbox_width": 0,
- "bbox_height": 0,
- "created_at": {
- "seconds": "string",
- "nanos": 0
}, - "confidence": 0,
- "similarity": 0,
- "center_x": 0,
- "center_y": 0,
- "category": "string",
- "label": "string"
}
]
}
]
}Create a new image sample in the parts library
Request Body schema: application/json
| detection_target_id | integer <int32> |
| file_path required | string |
| width | integer <int32> |
| height | integer <int32> |
| capture_conditions | string |
| augmented | boolean |
| correct | boolean |
| label | string |
Responses
Request samples
- Payload
{- "detection_target_id": 1,
- "file_path": "/images/sample1.jpg",
- "width": 1920,
- "height": 1080,
- "correct": true
}Response samples
- 200
- 500
{- "status": "string",
- "msg": {
- "id": 0,
- "uuid": "string",
- "detection_target_id": 0,
- "file_path": "string",
- "width": 0,
- "height": 0,
- "capture_date": {
- "seconds": "string",
- "nanos": 0
}, - "capture_conditions": "string",
- "created_at": {
- "seconds": "string",
- "nanos": 0
}, - "augmented": true,
- "correct": true,
- "label": "string",
- "annotations": [
- {
- "id": 0,
- "uuid": "string",
- "image_sample_id": 0,
- "bbox_x": 0,
- "bbox_y": 0,
- "bbox_width": 0,
- "bbox_height": 0,
- "created_at": {
- "seconds": "string",
- "nanos": 0
}, - "confidence": 0,
- "similarity": 0,
- "center_x": 0,
- "center_y": 0,
- "category": "string",
- "label": "string"
}
]
}
}Retrieve a specific image sample from the parts library
path Parameters
| sample_identifier required | string Example: 1 The ID or UUID of the image sample |
Responses
Response samples
- 200
- 404
{- "status": "string",
- "msg": {
- "id": 0,
- "uuid": "string",
- "detection_target_id": 0,
- "file_path": "string",
- "width": 0,
- "height": 0,
- "capture_date": {
- "seconds": "string",
- "nanos": 0
}, - "capture_conditions": "string",
- "created_at": {
- "seconds": "string",
- "nanos": 0
}, - "augmented": true,
- "correct": true,
- "label": "string",
- "annotations": [
- {
- "id": 0,
- "uuid": "string",
- "image_sample_id": 0,
- "bbox_x": 0,
- "bbox_y": 0,
- "bbox_width": 0,
- "bbox_height": 0,
- "created_at": {
- "seconds": "string",
- "nanos": 0
}, - "confidence": 0,
- "similarity": 0,
- "center_x": 0,
- "center_y": 0,
- "category": "string",
- "label": "string"
}
]
}
}Update an image sample in the parts library
path Parameters
| sample_identifier required | string Example: 1 The ID or UUID of the image sample |
Request Body schema: application/json
| detection_target_id | integer <int32> |
| file_path | string |
| width | integer <int32> |
| height | integer <int32> |
| capture_conditions | string |
| augmented | boolean |
| correct | boolean |
| label | string |
Responses
Request samples
- Payload
{- "file_path": "/images/updated_sample1.jpg",
- "correct": false
}Response samples
- 200
- 500
{- "status": "string",
- "msg": {
- "id": 0,
- "uuid": "string",
- "detection_target_id": 0,
- "file_path": "string",
- "width": 0,
- "height": 0,
- "capture_date": {
- "seconds": "string",
- "nanos": 0
}, - "capture_conditions": "string",
- "created_at": {
- "seconds": "string",
- "nanos": 0
}, - "augmented": true,
- "correct": true,
- "label": "string",
- "annotations": [
- {
- "id": 0,
- "uuid": "string",
- "image_sample_id": 0,
- "bbox_x": 0,
- "bbox_y": 0,
- "bbox_width": 0,
- "bbox_height": 0,
- "created_at": {
- "seconds": "string",
- "nanos": 0
}, - "confidence": 0,
- "similarity": 0,
- "center_x": 0,
- "center_y": 0,
- "category": "string",
- "label": "string"
}
]
}
}Retrieve a fully populated image sample from the parts library
path Parameters
| sample_identifier required | string Example: 1 The ID or UUID of the image sample |
Responses
Response samples
- 200
- 404
{- "status": "string",
- "msg": {
- "id": 0,
- "uuid": "string",
- "detection_target_id": 0,
- "file_path": "string",
- "width": 0,
- "height": 0,
- "capture_date": {
- "seconds": "string",
- "nanos": 0
}, - "capture_conditions": "string",
- "created_at": {
- "seconds": "string",
- "nanos": 0
}, - "augmented": true,
- "correct": true,
- "label": "string",
- "annotations": [
- {
- "id": 0,
- "uuid": "string",
- "image_sample_id": 0,
- "bbox_x": 0,
- "bbox_y": 0,
- "bbox_width": 0,
- "bbox_height": 0,
- "created_at": {
- "seconds": "string",
- "nanos": 0
}, - "confidence": 0,
- "similarity": 0,
- "center_x": 0,
- "center_y": 0,
- "category": "string",
- "label": "string"
}
]
}
}Response samples
- 200
- 404
{- "status": "string",
- "msg": [
- {
- "id": 0,
- "uuid": "string",
- "image_sample_id": 0,
- "bbox_x": 0,
- "bbox_y": 0,
- "bbox_width": 0,
- "bbox_height": 0,
- "created_at": {
- "seconds": "string",
- "nanos": 0
}, - "confidence": 0,
- "similarity": 0,
- "center_x": 0,
- "center_y": 0,
- "category": "string",
- "label": "string"
}
]
}Create a new annotation in the parts library
Request Body schema: application/json
| image_sample_id required | integer <int32> |
| bbox_x required | number <float> |
| bbox_y required | number <float> |
| bbox_width required | number <float> |
| bbox_height required | number <float> |
Responses
Request samples
- Payload
{- "image_sample_id": 1,
- "bbox_x": 100,
- "bbox_y": 200,
- "bbox_width": 50,
- "bbox_height": 75
}Response samples
- 200
- 500
{- "status": "string",
- "msg": {
- "id": 0,
- "uuid": "string",
- "image_sample_id": 0,
- "bbox_x": 0,
- "bbox_y": 0,
- "bbox_width": 0,
- "bbox_height": 0,
- "created_at": {
- "seconds": "string",
- "nanos": 0
}, - "confidence": 0,
- "similarity": 0,
- "center_x": 0,
- "center_y": 0,
- "category": "string",
- "label": "string"
}
}Retrieve a specific annotation from the parts library
path Parameters
| annotation_identifier required | string Example: 1 The ID or UUID of the annotation |
Responses
Response samples
- 200
- 404
{- "status": "string",
- "msg": {
- "id": 0,
- "uuid": "string",
- "image_sample_id": 0,
- "bbox_x": 0,
- "bbox_y": 0,
- "bbox_width": 0,
- "bbox_height": 0,
- "created_at": {
- "seconds": "string",
- "nanos": 0
}, - "confidence": 0,
- "similarity": 0,
- "center_x": 0,
- "center_y": 0,
- "category": "string",
- "label": "string"
}
}Update an annotation in the parts library
path Parameters
| annotation_identifier required | string Example: 1 The ID or UUID of the annotation |
Request Body schema: application/json
| image_sample_id | integer <int32> |
| bbox_x | number <float> |
| bbox_y | number <float> |
| bbox_width | number <float> |
| bbox_height | number <float> |
Responses
Request samples
- Payload
{- "bbox_x": 150,
- "bbox_y": 250
}Response samples
- 200
- 500
{- "status": "string",
- "msg": {
- "id": 0,
- "uuid": "string",
- "image_sample_id": 0,
- "bbox_x": 0,
- "bbox_y": 0,
- "bbox_width": 0,
- "bbox_height": 0,
- "created_at": {
- "seconds": "string",
- "nanos": 0
}, - "confidence": 0,
- "similarity": 0,
- "center_x": 0,
- "center_y": 0,
- "category": "string",
- "label": "string"
}
}Connect to a SuperPod device
Establishes connection to a SuperPod positioning device via ModbusTCP.
**Supports two modes:**
**Mode 1 (Full Config):** Provide complete device configuration
- Use when: Setting up new device, overriding database config, device not in database
- Required fields: device_id, host, port, timeout_ms, constraints
- Example: See "Full Config Example" below
**Mode 2 (Device ID Only):** Provide only device_id
- Use when: Connecting to device already registered in database
- Required fields: device_id only
- Config loaded automatically from database
- Example: See "Minimal Example" below
Both modes are idempotent - calling multiple times with the same device_id will succeed.
Request Body schema: application/json
| device_id required | string Unique device identifier |
| host | string IP address or hostname (optional if device in database) |
| port | integer <int32> ModbusTCP port (optional if device in database, default: 502) |
| timeout_ms | integer <int32> Communication timeout in milliseconds (optional if device in database) |
| constraints | object Movement limits for all axes (optional if device in database) |
Responses
Request samples
- Payload
{- "device_id": "string",
- "host": "string",
- "port": 0,
- "timeout_ms": 0,
- "constraints": { }
}Response samples
- 200
- 400
- 500
{- "status": "ok",
- "msg": ""
}Disconnect from a SuperPod device
Disconnects from a SuperPod device and releases resources.
Request Body schema: application/json
Responses
Request samples
- Payload
{- "device_id": "superpod_001"
}Response samples
- 200
- 400
- 500
{- "status": "ok",
- "msg": ""
}List all connected SuperPod devices
Returns a list of all currently connected SuperPod devices with their status.
Responses
Response samples
- 200
- 500
{- "status": "string",
- "msg": {
- "device_ids": [
- "string"
], - "devices": [
- {
- "device_id": "string",
- "connected": true,
- "axes": [
- {
- "axis_type": "string",
- "enabled": true,
- "homed": true,
- "faulted": true,
- "in_position": true,
- "state": "string",
- "current_position": 0,
- "current_speed": 0,
- "units": "string"
}
], - "current_position": {
- "device_id": "string",
- "axes": [
- {
- "component_id": "string",
- "axis_type": "string",
- "units": "string",
- "axis_value": 0,
- "start_value": 0,
- "end_value": 0,
- "step_distance": 0
}
], - "timestamp": {
- "seconds": "string",
- "nanos": 0
}
}, - "timestamp": {
- "seconds": "string",
- "nanos": 0
}, - "error_message": "string",
- "safety_status": {
- "estop_ok": true,
- "door_closed": true,
- "safe_to_move": true,
- "safety_message": "string"
}
}
]
}
}Get SuperPod device information
Returns detailed information about a specific SuperPod device.
path Parameters
| device_id required | string Example: superpod_001 The ID of the SuperPod device |
Responses
Response samples
- 200
- 400
- 500
{- "status": "string",
- "msg": {
- "device_id": "string",
- "device_type": "string",
- "host": "string",
- "port": 0,
- "connected": true,
- "constraints": {
- "device_id": "string",
- "axis_constraints": [
- {
- "component_id": "string",
- "axis_type": "string",
- "min_value": 0,
- "max_value": 0,
- "units": "string"
}
]
}, - "motion_parameters": [
- {
- "key": "string",
- "value": "string"
}
], - "firmware_version": "string"
}
}Move SuperPod to absolute position
Commands the SuperPod to move to a specific absolute position with optional speed overrides.
path Parameters
| device_id required | string Example: superpod_001 The ID of the SuperPod device |
Request Body schema: application/json
Responses
Request samples
- Payload
{- "target_position": {
- "axes": [
- {
- "axis_type": "track",
- "axis_value": 500
}, - {
- "axis_type": "tilt",
- "axis_value": 10
}, - {
- "axis_type": "roll",
- "axis_value": 0
}
]
}, - "wait_for_completion": true,
- "timeout_seconds": 30
}Response samples
- 200
- 400
- 500
{- "status": "string",
- "msg": {
- "status": {
- "code": "string",
- "product_version": "string",
- "msg": "string",
- "count": 0,
- "target": "string",
- "err_code": "string"
}, - "final_position": {
- "device_id": "string",
- "axes": [
- {
- "component_id": "string",
- "axis_type": "string",
- "units": "string",
- "axis_value": 0,
- "start_value": 0,
- "end_value": 0,
- "step_distance": 0
}
], - "timestamp": {
- "seconds": "string",
- "nanos": 0
}
}, - "completion_time": {
- "seconds": "string",
- "nanos": 0
}
}
}Move SuperPod relative to current position
Commands the SuperPod to move relative to its current position.
path Parameters
| device_id required | string Example: superpod_001 The ID of the SuperPod device |
Request Body schema: application/json
Responses
Request samples
- Payload
{- "delta": {
- "axes": [
- {
- "axis_type": "track",
- "delta_value": 50
}, - {
- "axis_type": "tilt",
- "delta_value": 5
}
]
}, - "wait_for_completion": true,
- "timeout_seconds": 30
}Response samples
- 200
- 400
- 500
{- "status": "string",
- "msg": {
- "status": {
- "code": "string",
- "product_version": "string",
- "msg": "string",
- "count": 0,
- "target": "string",
- "err_code": "string"
}, - "final_position": {
- "device_id": "string",
- "axes": [
- {
- "component_id": "string",
- "axis_type": "string",
- "units": "string",
- "axis_value": 0,
- "start_value": 0,
- "end_value": 0,
- "step_distance": 0
}
], - "timestamp": {
- "seconds": "string",
- "nanos": 0
}
}, - "completion_time": {
- "seconds": "string",
- "nanos": 0
}
}
}Home SuperPod axes
Homes one or all axes on the SuperPod device.
path Parameters
| device_id required | string Example: superpod_001 The ID of the SuperPod device |
Request Body schema: application/json
Responses
Request samples
- Payload
{- "axes": [
- "track",
- "tilt",
- "roll"
], - "wait_for_completion": true,
- "timeout_seconds": 60
}Response samples
- 200
- 400
- 500
{- "status": "string",
- "msg": {
- "status": {
- "code": "string",
- "product_version": "string",
- "msg": "string",
- "count": 0,
- "target": "string",
- "err_code": "string"
}, - "homed_axes": [
- {
- "axis_type": "string",
- "enabled": true,
- "homed": true,
- "faulted": true,
- "in_position": true,
- "state": "string",
- "current_position": 0,
- "current_speed": 0,
- "units": "string"
}
], - "completion_time": {
- "seconds": "string",
- "nanos": 0
}
}
}Enable SuperPod axis
Enables a specific axis on the SuperPod device.
path Parameters
| device_id required | string Example: superpod_001 The ID of the SuperPod device |
Request Body schema: application/json
Responses
Request samples
- Payload
{- "axis": "track"
}Response samples
- 200
- 400
- 500
{- "status": "ok",
- "msg": ""
}Disable SuperPod axis
Disables a specific axis on the SuperPod device.
path Parameters
| device_id required | string Example: superpod_001 The ID of the SuperPod device |
Request Body schema: application/json
Responses
Request samples
- Payload
{- "axis": "track"
}Response samples
- 200
- 400
- 500
{- "status": "ok",
- "msg": ""
}Reset SuperPod axis
Resets a specific axis on the SuperPod device (clears faults).
path Parameters
| device_id required | string Example: superpod_001 The ID of the SuperPod device |
Request Body schema: application/json
Responses
Request samples
- Payload
{- "axis": "track"
}Response samples
- 200
- 400
- 500
{- "status": "ok",
- "msg": ""
}Get SuperPod device status
Returns the current status of the SuperPod device and all axes.
path Parameters
| device_id required | string Example: superpod_001 The ID of the SuperPod device |
query Parameters
| axes | string Example: axes=track,tilt Comma-separated list of axis types to query (empty = all axes). SuperPod: track,tilt,roll. Precision Pod: x,y,tilt |
Responses
Response samples
- 200
- 400
- 500
{- "status": "string",
- "msg": {
- "device_id": "string",
- "connected": true,
- "axes": [
- {
- "axis_type": "string",
- "enabled": true,
- "homed": true,
- "faulted": true,
- "in_position": true,
- "state": "string",
- "current_position": 0,
- "current_speed": 0,
- "units": "string"
}
], - "current_position": {
- "device_id": "string",
- "axes": [
- {
- "component_id": "string",
- "axis_type": "string",
- "units": "string",
- "axis_value": 0,
- "start_value": 0,
- "end_value": 0,
- "step_distance": 0
}
], - "timestamp": {
- "seconds": "string",
- "nanos": 0
}
}, - "timestamp": {
- "seconds": "string",
- "nanos": 0
}, - "error_message": "string",
- "safety_status": {
- "estop_ok": true,
- "door_closed": true,
- "safe_to_move": true,
- "safety_message": "string"
}
}
}Get SuperPod current position
Returns the current position of the SuperPod device.
path Parameters
| device_id required | string Example: superpod_001 The ID of the SuperPod device |
query Parameters
| use_cache | boolean Example: use_cache=true Use cached position for performance |
Responses
Response samples
- 200
- 400
- 500
{- "status": "string",
- "msg": { }
}Get SuperPod/PRIS device onboarding status
Returns the current onboarding status for a SuperPod or Precision Pod device.
This endpoint infers onboarding progress from device connection and homing status.
Used by the frontend onboarding modal to display real-time progress during device setup.
**Onboarding States:**
- `not_started`: Device not yet connected
- `in_progress`: Device connected but not all axes homed
- `complete`: Device connected and all axes homed (ready for use)
- `failed`: Connection failed or device error
**Task Progression:**
- SuperPod: Connect → Start Monitoring → Zero Gimbal (Roll) → Zero Gimbal (Tilt) → Home Track
- Precision Pod: Connect → Start Monitoring → Home T-axis → Home X-axis → Home Y-axis
path Parameters
| device_id required | string Example: precision_pod_001 The ID of the SuperPod or Precision Pod device |
Responses
Response samples
- 200
- 400
- 500
{- "status": "string",
- "msg": { }
}Queue motion sequence for execution
Queues a motion sequence for asynchronous execution on SuperPod device. Accepts step_motions as dictionaries and converts them to protobuf messages.
path Parameters
| device_id required | string Example: superpod_001 The ID of the SuperPod device |
Request Body schema: application/json
Responses
Request samples
- Payload
{- "step_motions": [
- {
- "motion_type": "discrete",
- "sequence_order": 0,
- "step_positions": [
- {
- "device_id": "superpod_001",
- "position_name": "position_1",
- "sequence_order": 0,
- "dwell_time_seconds": 2,
- "axis_positions": [
- {
- "component_id": "camera",
- "axis_type": "track",
- "axis_value": 500,
- "units": "mm"
}, - {
- "component_id": "camera",
- "axis_type": "tilt",
- "axis_value": 10,
- "units": "degrees"
}
]
}
]
}
], - "correlation_id": "step_123",
- "timeout_seconds": 300,
- "auto_retry": true,
- "auto_recover": true
}Response samples
- 200
- 400
- 500
{- "status": "string",
- "msg": {
- "sequence_id": "string",
- "status": {
- "code": "string",
- "product_version": "string",
- "msg": "string",
- "count": 0,
- "target": "string",
- "err_code": "string"
}, - "correlation_id": "string",
- "estimated_duration_seconds": 0
}
}Cancel motion sequence
Cancels an ongoing motion sequence on SuperPod device. If sequence_id is omitted, cancels ALL sequences for the device.
path Parameters
| device_id required | string Example: superpod_001 The ID of the SuperPod device |
Request Body schema: application/json
Responses
Request samples
- Payload
{- "sequence_id": "uuid-string",
- "emergency_stop": false,
- "reason": "User clicked SKIP STEP"
}Response samples
- 200
- 400
- 500
{- "status": "string",
- "msg": {
- "status": {
- "code": "string",
- "product_version": "string",
- "msg": "string",
- "count": 0,
- "target": "string",
- "err_code": "string"
}, - "sequence_id": "string",
- "last_completed_position": {
- "position_index": 0,
- "position_name": "string",
- "target_position": {
- "device_id": "string",
- "axes": [
- {
- "component_id": "string",
- "axis_type": "string",
- "units": "string",
- "axis_value": 0,
- "start_value": 0,
- "end_value": 0,
- "step_distance": 0
}
], - "timestamp": {
- "seconds": "string",
- "nanos": 0
}
}, - "current_position": {
- "device_id": "string",
- "axes": [
- {
- "component_id": "string",
- "axis_type": "string",
- "units": "string",
- "axis_value": 0,
- "start_value": 0,
- "end_value": 0,
- "step_distance": 0
}
], - "timestamp": {
- "seconds": "string",
- "nanos": 0
}
}, - "dwell_time_remaining_seconds": 0
}
}
}Create or update a positioning device configuration
Upserts a positioning device configuration in the database. If device_id exists, updates the configuration. Otherwise, creates a new device. Used to store network configuration (IP address, port, timeouts) for positioning devices like SuperPod.
Request Body schema: application/json
| device_id required | string Unique device identifier |
| device_type | string Device type (superpod, precision_station, robot_arm) |
| device_name | string User-friendly device name |
| ip_address | string IPv4/IPv6 address |
| port | integer <int32> Network port (default: 502 for ModbusTCP) |
| connection_timeout | integer <int32> Connection timeout in milliseconds (default: 5000) |
| max_retries | integer <int32> Maximum connection retry attempts (default: 3) |
Responses
Request samples
- Payload
{- "device_id": "superpod_001",
- "device_type": "superpod",
- "device_name": "SuperPod Station 1",
- "ip_address": "192.168.1.100",
- "port": 502,
- "connection_timeout": 5000,
- "max_retries": 3
}Response samples
- 200
- 400
- 500
{- "device": { },
- "created": true
}Get all positioning device configurations
Retrieves a list of positioning device configurations from the database. Supports filtering by device type and active status, with pagination.
query Parameters
| device_type | string Example: device_type=superpod Filter by device type (e.g., 'superpod', 'precision_station') |
| active_only | boolean Example: active_only=true Only return active devices (default: true) |
| limit | integer Example: limit=10 Maximum number of results (default: 100) |
| offset | integer Pagination offset (default: 0) |
Responses
Response samples
- 200
- 500
{- "devices": [
- { }
], - "total_count": 0,
- "success": true
}Get a positioning device configuration by ID
Retrieves a single positioning device configuration from the database by device_id.
path Parameters
| device_id required | string Example: superpod_001 Unique device identifier (e.g., 'superpod_001') |
Responses
Response samples
- 200
- 404
- 500
{- "id": "string",
- "device_type": "string",
- "device_name": "string",
- "is_active": true,
- "ip_address": "string",
- "port": 0,
- "connection_timeout": 0,
- "max_retries": 0,
- "created_at": "string",
- "updated_at": "string"
}