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

# Run Inference (v1 - Latest)

Audit ESD workstation compliance from images Submit an image to analyze using the ESD Compliance Auditor 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/esd-compliance-auditor/v1/inference": {
      "post": {
        "tags": [
          "ESD Compliance Auditor"
        ],
        "summary": "Run Inference (v1 - Latest)",
        "operationId": "inner_api_v2_agents_esd_compliance_auditor_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_esd-compliance-auditor-v1"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InferenceResponse_ESDComplianceAuditOutputSchema_"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "description": "Audit ESD workstation compliance from images Submit an image to analyze using the ESD Compliance Auditor 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_esd-compliance-auditor-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_esd-compliance-auditor-v1"
      },
      "InferenceResponse_ESDComplianceAuditOutputSchema_": {
        "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/ESDComplianceAuditOutputSchema",
            "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[ESDComplianceAuditOutputSchema]"
      },
      "ESDComplianceAuditOutputSchema": {
        "properties": {
          "overall_status": {
            "$ref": "#/components/schemas/OverallStatus",
            "description": "Overall status: pass | attention | fail"
          },
          "overall_score": {
            "type": "number",
            "maximum": 1,
            "minimum": 0,
            "title": "Overall Score",
            "description": "Overall compliance score 0.0-1.0"
          },
          "summary": {
            "type": "string",
            "title": "Summary",
            "description": "Concise summary of visual ESD compliance assessment"
          },
          "checks": {
            "$ref": "#/components/schemas/ESDChecksSchema",
            "description": "Per-check ESD visual assessment results"
          },
          "limitations": {
            "items": {
              "type": "string"
            },
            "type": "array",
            "title": "Limitations",
            "description": "List of applicable limitations for this visual-only assessment"
          },
          "notes": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Notes",
            "description": "Additional contextual notes or observations"
          }
        },
        "type": "object",
        "required": [
          "overall_status",
          "overall_score",
          "summary",
          "checks",
          "limitations"
        ],
        "title": "ESDComplianceAuditOutputSchema"
      },
      "ESDChecksSchema": {
        "properties": {
          "wrist_strap_present": {
            "$ref": "#/components/schemas/ESDCheck_wrist_strap_present",
            "description": "Wrist strap visual presence assessment"
          },
          "esd_garment_present": {
            "$ref": "#/components/schemas/ESDCheck_esd_garment_present",
            "description": "ESD garment presence assessment"
          },
          "mat_present": {
            "$ref": "#/components/schemas/ESDCheck_mat_present",
            "description": "Bench mat presence assessment"
          },
          "mat_ground_connected_visible": {
            "$ref": "#/components/schemas/ESDCheck_mat_ground_connected_visible",
            "description": "Mat grounding visibility"
          },
          "footwear_esd_present": {
            "$ref": "#/components/schemas/ESDCheck_footwear_esd_present",
            "description": "ESD footwear presence assessment"
          },
          "epa_signage_present": {
            "$ref": "#/components/schemas/ESDCheck_epa_signage_present",
            "description": "EPA signage presence assessment"
          },
          "ionizer_present_on": {
            "$ref": "#/components/schemas/ESDCheck_ionizer_present_on",
            "description": "Ionizer presence and power state"
          },
          "esd_packaging_in_use": {
            "$ref": "#/components/schemas/ESDCheck_esd_packaging_in_use",
            "description": "ESD-safe packaging usage"
          },
          "non_esd_clutter_absent": {
            "$ref": "#/components/schemas/ESDCheck_non_esd_clutter_absent",
            "description": "Presence of non-ESD clutter risk"
          }
        },
        "type": "object",
        "required": [
          "wrist_strap_present",
          "esd_garment_present",
          "mat_present",
          "mat_ground_connected_visible",
          "footwear_esd_present",
          "epa_signage_present",
          "ionizer_present_on",
          "esd_packaging_in_use",
          "non_esd_clutter_absent"
        ],
        "title": "ESDChecksSchema"
      },
      "ESDCheck_wrist_strap_present": {
        "properties": {
          "status": {
            "$ref": "#/components/schemas/CheckStatus",
            "description": "Per-check status"
          },
          "confidence": {
            "type": "number",
            "maximum": 1,
            "minimum": 0,
            "title": "Confidence",
            "description": "Confidence score 0.0-1.0 (cap 0.98)"
          }
        },
        "type": "object",
        "required": [
          "status",
          "confidence"
        ],
        "title": "ESDCheck_wrist_strap_present"
      },
      "ESDCheck_esd_garment_present": {
        "properties": {
          "status": {
            "$ref": "#/components/schemas/CheckStatus",
            "description": "Per-check status"
          },
          "confidence": {
            "type": "number",
            "maximum": 1,
            "minimum": 0,
            "title": "Confidence",
            "description": "Confidence score"
          }
        },
        "type": "object",
        "required": [
          "status",
          "confidence"
        ],
        "title": "ESDCheck_esd_garment_present"
      },
      "ESDCheck_mat_present": {
        "properties": {
          "status": {
            "$ref": "#/components/schemas/CheckStatus",
            "description": "Per-check status"
          },
          "confidence": {
            "type": "number",
            "maximum": 1,
            "minimum": 0,
            "title": "Confidence",
            "description": "Confidence score"
          }
        },
        "type": "object",
        "required": [
          "status",
          "confidence"
        ],
        "title": "ESDCheck_mat_present"
      },
      "ESDCheck_mat_ground_connected_visible": {
        "properties": {
          "status": {
            "$ref": "#/components/schemas/CheckStatus",
            "description": "Per-check status"
          },
          "confidence": {
            "type": "number",
            "maximum": 1,
            "minimum": 0,
            "title": "Confidence",
            "description": "Confidence score"
          }
        },
        "type": "object",
        "required": [
          "status",
          "confidence"
        ],
        "title": "ESDCheck_mat_ground_connected_visible"
      },
      "ESDCheck_footwear_esd_present": {
        "properties": {
          "status": {
            "$ref": "#/components/schemas/CheckStatus",
            "description": "Per-check status"
          },
          "confidence": {
            "type": "number",
            "maximum": 1,
            "minimum": 0,
            "title": "Confidence",
            "description": "Confidence score"
          }
        },
        "type": "object",
        "required": [
          "status",
          "confidence"
        ],
        "title": "ESDCheck_footwear_esd_present"
      },
      "ESDCheck_epa_signage_present": {
        "properties": {
          "status": {
            "$ref": "#/components/schemas/CheckStatus",
            "description": "Per-check status"
          },
          "confidence": {
            "type": "number",
            "maximum": 1,
            "minimum": 0,
            "title": "Confidence",
            "description": "Confidence score"
          }
        },
        "type": "object",
        "required": [
          "status",
          "confidence"
        ],
        "title": "ESDCheck_epa_signage_present"
      },
      "ESDCheck_ionizer_present_on": {
        "properties": {
          "status": {
            "$ref": "#/components/schemas/CheckStatus",
            "description": "Per-check status"
          },
          "confidence": {
            "type": "number",
            "maximum": 1,
            "minimum": 0,
            "title": "Confidence",
            "description": "Confidence score"
          }
        },
        "type": "object",
        "required": [
          "status",
          "confidence"
        ],
        "title": "ESDCheck_ionizer_present_on"
      },
      "ESDCheck_esd_packaging_in_use": {
        "properties": {
          "status": {
            "$ref": "#/components/schemas/CheckStatus",
            "description": "Per-check status"
          },
          "confidence": {
            "type": "number",
            "maximum": 1,
            "minimum": 0,
            "title": "Confidence",
            "description": "Confidence score"
          }
        },
        "type": "object",
        "required": [
          "status",
          "confidence"
        ],
        "title": "ESDCheck_esd_packaging_in_use"
      },
      "ESDCheck_non_esd_clutter_absent": {
        "properties": {
          "status": {
            "$ref": "#/components/schemas/CheckStatus",
            "description": "Per-check status"
          },
          "confidence": {
            "type": "number",
            "maximum": 1,
            "minimum": 0,
            "title": "Confidence",
            "description": "Confidence score"
          }
        },
        "type": "object",
        "required": [
          "status",
          "confidence"
        ],
        "title": "ESDCheck_non_esd_clutter_absent"
      }
    }
  },
  "servers": [
    {
      "url": "https://api.ai.vision.tiliter.com",
      "description": "Production API"
    }
  ],
  "tags": [
    {
      "name": "ESD Compliance Auditor",
      "description": "Audit ESD workstation compliance from images"
    }
  ]
}
```