---
updatedAt: 2026-09-04T01:56:54.000Z
agentTools:
  projectIndex: https://developer.tiliter.com/llms.txt
---

# Run Inference (v1 - Latest)

Verify electrical PPE presence and compliance Submit an image to analyze using the Electrical PPE Compliance Checker agent.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Vision Agent Platform API",
    "description": "Backend API for Vision Agent Platform with multi-provider LLM integration",
    "version": "1.0.0"
  },
  "paths": {
    "/api/v2/agents/electrical-ppe-compliance-checker/v1/inference": {
      "post": {
        "tags": [
          "Electrical PPE Compliance Checker"
        ],
        "summary": "Run Inference (v1 - Latest)",
        "operationId": "inner_api_v2_agents_electrical_ppe_compliance_checker_v1_inference_post",
        "parameters": [
          {
            "name": "X-API-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string",
              "title": "X-API-Key",
              "description": "Your API key for authentication"
            },
            "description": "Your API key for authentication"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/InferenceRequestModel_electrical-ppe-compliance-checker-v1"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InferenceResponse_ElectricalPPEComplianceOutputSchema_"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "description": "Verify electrical PPE presence and compliance Submit an image to analyze using the Electrical PPE Compliance Checker agent."
      }
    }
  },
  "components": {
    "schemas": {
      "MetaData": {
        "properties": {
          "agent_id": {
            "type": "string",
            "title": "Agent Id",
            "description": "Id of the agent that produced this response."
          },
          "request_id": {
            "type": "string",
            "title": "Request Id",
            "description": "Unique per-request id for tracing/logging."
          },
          "reference_files_count": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Reference Files Count",
            "description": "Number of reference files supplied (if any)"
          }
        },
        "type": "object",
        "required": [
          "agent_id",
          "request_id"
        ],
        "title": "MetaData"
      },
      "HTTPValidationError": {
        "properties": {
          "detail": {
            "items": {
              "$ref": "#/components/schemas/ValidationError"
            },
            "type": "array",
            "title": "Detail"
          }
        },
        "type": "object",
        "title": "HTTPValidationError"
      },
      "ValidationError": {
        "properties": {
          "loc": {
            "items": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "integer"
                }
              ]
            },
            "type": "array",
            "title": "Location"
          },
          "msg": {
            "type": "string",
            "title": "Message"
          },
          "type": {
            "type": "string",
            "title": "Error Type"
          },
          "input": {
            "title": "Input"
          },
          "ctx": {
            "type": "object",
            "title": "Context"
          }
        },
        "type": "object",
        "required": [
          "loc",
          "msg",
          "type"
        ],
        "title": "ValidationError"
      },
      "OverallStatus": {
        "type": "string",
        "enum": [
          "pass",
          "attention",
          "fail"
        ],
        "title": "OverallStatus",
        "description": "Allowed overall status values for audit-style agents."
      },
      "CheckStatus": {
        "type": "string",
        "enum": [
          "pass",
          "fail",
          "attention",
          "cannot_validate"
        ],
        "title": "CheckStatus",
        "description": "Allowed per-check status values for detailed visual assessments."
      },
      "InferenceRequestModel_electrical-ppe-compliance-checker-v1": {
        "properties": {
          "input_file_b64": {
            "type": "string",
            "maxLength": 1468006,
            "format": "base64",
            "contentMediaType": "application/octet-stream",
            "title": "Input File B64",
            "description": "Base 64 encoded input file data. Must be one of the following types: ['Image']."
          }
        },
        "type": "object",
        "required": [
          "input_file_b64"
        ],
        "title": "InferenceRequestModel_electrical-ppe-compliance-checker-v1"
      },
      "InferenceResponse_ElectricalPPEComplianceOutputSchema_": {
        "properties": {
          "success": {
            "type": "boolean",
            "title": "Success",
            "description": "True when the agent completed successfully, false otherwise."
          },
          "metadata": {
            "$ref": "#/components/schemas/MetaData",
            "description": "Tracing metadata about the request."
          },
          "result": {
            "$ref": "#/components/schemas/ElectricalPPEComplianceOutputSchema",
            "description": "Agent-specific structured output. Always present on success; failures raise HTTPException rather than returning success=false."
          },
          "processed_image_b64": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Processed Image B64",
            "description": "Base64-encoded processed image (e.g., with faces blurred) when privacy features are enabled"
          }
        },
        "type": "object",
        "required": [
          "success",
          "metadata",
          "result"
        ],
        "title": "InferenceResponse[ElectricalPPEComplianceOutputSchema]"
      },
      "ElectricalPPEComplianceOutputSchema": {
        "properties": {
          "overall_status": {
            "$ref": "#/components/schemas/OverallStatus",
            "description": "Overall compliance status: pass | attention | fail"
          },
          "overall_score": {
            "type": "number",
            "maximum": 1,
            "minimum": 0,
            "title": "Overall Score",
            "description": "Aggregated visual compliance score 0.0-1.0"
          },
          "summary": {
            "type": "string",
            "title": "Summary",
            "description": "Concise summary highlighting missing / ambiguous PPE items"
          },
          "checks": {
            "$ref": "#/components/schemas/ElectricalPPEChecksSchema",
            "description": "Per-item PPE compliance checks"
          },
          "limitations": {
            "items": {
              "type": "string"
            },
            "type": "array",
            "title": "Limitations",
            "description": "List of applicable limitations / uncertainty factors"
          },
          "notes": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Notes",
            "description": "Optional additional contextual notes"
          }
        },
        "type": "object",
        "required": [
          "overall_status",
          "overall_score",
          "summary",
          "checks",
          "limitations"
        ],
        "title": "ElectricalPPEComplianceOutputSchema"
      },
      "ElectricalPPEChecksSchema": {
        "properties": {
          "helmet_present": {
            "$ref": "#/components/schemas/ElectricalPPECheck_helmet_present",
            "description": "Helmet present & appropriate"
          },
          "safety_glasses_or_goggles_present": {
            "$ref": "#/components/schemas/ElectricalPPECheck_safety_glasses_or_goggles_present",
            "description": "Impact-rated eye protection present"
          },
          "face_shield_present": {
            "$ref": "#/components/schemas/ElectricalPPECheck_face_shield_present",
            "description": "Arc-rated face shield / full face protection present"
          },
          "insulated_gloves_present": {
            "$ref": "#/components/schemas/ElectricalPPECheck_insulated_gloves_present",
            "description": "Voltage-rated insulated gloves present"
          },
          "arc_flash_suit_present": {
            "$ref": "#/components/schemas/ElectricalPPECheck_arc_flash_suit_present",
            "description": "Arc-flash suit or FR protective outerwear present"
          },
          "hearing_protection_present": {
            "$ref": "#/components/schemas/ElectricalPPECheck_hearing_protection_present",
            "description": "Hearing protection present"
          },
          "insulated_boots_present": {
            "$ref": "#/components/schemas/ElectricalPPECheck_insulated_boots_present",
            "description": "Insulated (dielectric) safety boots present"
          },
          "arc_rated_balaclava_present": {
            "$ref": "#/components/schemas/ElectricalPPECheck_arc_rated_balaclava_present",
            "description": "Arc-rated balaclava present where required"
          },
          "respiratory_protection_present": {
            "$ref": "#/components/schemas/ElectricalPPECheck_respiratory_protection_present",
            "description": "Respiratory protection present (if used)"
          }
        },
        "type": "object",
        "required": [
          "helmet_present",
          "safety_glasses_or_goggles_present",
          "face_shield_present",
          "insulated_gloves_present",
          "arc_flash_suit_present",
          "hearing_protection_present",
          "insulated_boots_present",
          "arc_rated_balaclava_present",
          "respiratory_protection_present"
        ],
        "title": "ElectricalPPEChecksSchema"
      },
      "ElectricalPPECheck_helmet_present": {
        "properties": {
          "status": {
            "$ref": "#/components/schemas/CheckStatus",
            "description": "Per-item status"
          },
          "confidence": {
            "type": "number",
            "maximum": 1,
            "minimum": 0,
            "title": "Confidence",
            "description": "Confidence the helmet is present & appropriate"
          }
        },
        "type": "object",
        "required": [
          "status",
          "confidence"
        ],
        "title": "ElectricalPPECheck_helmet_present"
      },
      "ElectricalPPECheck_safety_glasses_or_goggles_present": {
        "properties": {
          "status": {
            "$ref": "#/components/schemas/CheckStatus",
            "description": "Per-item status"
          },
          "confidence": {
            "type": "number",
            "maximum": 1,
            "minimum": 0,
            "title": "Confidence",
            "description": "Confidence eye protection present"
          }
        },
        "type": "object",
        "required": [
          "status",
          "confidence"
        ],
        "title": "ElectricalPPECheck_safety_glasses_or_goggles_present"
      },
      "ElectricalPPECheck_face_shield_present": {
        "properties": {
          "status": {
            "$ref": "#/components/schemas/CheckStatus",
            "description": "Per-item status"
          },
          "confidence": {
            "type": "number",
            "maximum": 1,
            "minimum": 0,
            "title": "Confidence",
            "description": "Confidence face shield present"
          }
        },
        "type": "object",
        "required": [
          "status",
          "confidence"
        ],
        "title": "ElectricalPPECheck_face_shield_present"
      },
      "ElectricalPPECheck_insulated_gloves_present": {
        "properties": {
          "status": {
            "$ref": "#/components/schemas/CheckStatus",
            "description": "Per-item status"
          },
          "confidence": {
            "type": "number",
            "maximum": 1,
            "minimum": 0,
            "title": "Confidence",
            "description": "Confidence voltage-rated insulated gloves present"
          }
        },
        "type": "object",
        "required": [
          "status",
          "confidence"
        ],
        "title": "ElectricalPPECheck_insulated_gloves_present"
      },
      "ElectricalPPECheck_arc_flash_suit_present": {
        "properties": {
          "status": {
            "$ref": "#/components/schemas/CheckStatus",
            "description": "Per-item status"
          },
          "confidence": {
            "type": "number",
            "maximum": 1,
            "minimum": 0,
            "title": "Confidence",
            "description": "Confidence arc-flash suit / FR clothing present"
          }
        },
        "type": "object",
        "required": [
          "status",
          "confidence"
        ],
        "title": "ElectricalPPECheck_arc_flash_suit_present"
      },
      "ElectricalPPECheck_hearing_protection_present": {
        "properties": {
          "status": {
            "$ref": "#/components/schemas/CheckStatus",
            "description": "Per-item status"
          },
          "confidence": {
            "type": "number",
            "maximum": 1,
            "minimum": 0,
            "title": "Confidence",
            "description": "Confidence hearing protection (plugs/muffs) present"
          }
        },
        "type": "object",
        "required": [
          "status",
          "confidence"
        ],
        "title": "ElectricalPPECheck_hearing_protection_present"
      },
      "ElectricalPPECheck_insulated_boots_present": {
        "properties": {
          "status": {
            "$ref": "#/components/schemas/CheckStatus",
            "description": "Per-item status"
          },
          "confidence": {
            "type": "number",
            "maximum": 1,
            "minimum": 0,
            "title": "Confidence",
            "description": "Confidence insulated safety boots present"
          }
        },
        "type": "object",
        "required": [
          "status",
          "confidence"
        ],
        "title": "ElectricalPPECheck_insulated_boots_present"
      },
      "ElectricalPPECheck_arc_rated_balaclava_present": {
        "properties": {
          "status": {
            "$ref": "#/components/schemas/CheckStatus",
            "description": "Per-item status"
          },
          "confidence": {
            "type": "number",
            "maximum": 1,
            "minimum": 0,
            "title": "Confidence",
            "description": "Confidence arc-rated balaclava present"
          }
        },
        "type": "object",
        "required": [
          "status",
          "confidence"
        ],
        "title": "ElectricalPPECheck_arc_rated_balaclava_present"
      },
      "ElectricalPPECheck_respiratory_protection_present": {
        "properties": {
          "status": {
            "$ref": "#/components/schemas/CheckStatus",
            "description": "Per-item status"
          },
          "confidence": {
            "type": "number",
            "maximum": 1,
            "minimum": 0,
            "title": "Confidence",
            "description": "Confidence respirator / mask present"
          }
        },
        "type": "object",
        "required": [
          "status",
          "confidence"
        ],
        "title": "ElectricalPPECheck_respiratory_protection_present"
      }
    }
  },
  "servers": [
    {
      "url": "https://api.ai.vision.tiliter.com",
      "description": "Production API"
    }
  ],
  "tags": [
    {
      "name": "Electrical PPE Compliance Checker",
      "description": "Verify electrical PPE presence and compliance"
    }
  ]
}
```