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

# Run Inference (v1 - Latest)

Assess power poles for structural safety issues Submit an image to analyze using the Power Line Pole Inspector 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/power-line-pole-inspector/v1/inference": {
      "post": {
        "tags": [
          "Power Line Pole Inspector"
        ],
        "summary": "Run Inference (v1 - Latest)",
        "operationId": "inner_api_v2_agents_power_line_pole_inspector_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_power-line-pole-inspector-v1"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InferenceResponse_PowerLinePoleInspectionOutputSchema_"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "description": "Assess power poles for structural safety issues Submit an image to analyze using the Power Line Pole Inspector 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_power-line-pole-inspector-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_power-line-pole-inspector-v1"
      },
      "InferenceResponse_PowerLinePoleInspectionOutputSchema_": {
        "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/PowerLinePoleInspectionOutputSchema",
            "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[PowerLinePoleInspectionOutputSchema]"
      },
      "PowerLinePoleInspectionOutputSchema": {
        "properties": {
          "overall_status": {
            "$ref": "#/components/schemas/OverallStatus",
            "description": "Overall pole safety status"
          },
          "overall_score": {
            "type": "number",
            "maximum": 1,
            "minimum": 0,
            "title": "Overall Score",
            "description": "Aggregated score"
          },
          "summary": {
            "type": "string",
            "title": "Summary",
            "description": "Concise summary of findings"
          },
          "checks": {
            "$ref": "#/components/schemas/PowerLinePoleChecksSchema",
            "description": "Per-check pole inspection results"
          },
          "limitations": {
            "items": {
              "type": "string"
            },
            "type": "array",
            "title": "Limitations",
            "description": "List of limitations / uncertainties"
          },
          "notes": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Notes",
            "description": "Optional additional notes"
          }
        },
        "type": "object",
        "required": [
          "overall_status",
          "overall_score",
          "summary",
          "checks",
          "limitations"
        ],
        "title": "PowerLinePoleInspectionOutputSchema"
      },
      "PowerLinePoleChecksSchema": {
        "properties": {
          "pole_alignment": {
            "$ref": "#/components/schemas/PowerLinePoleCheck_pole_alignment",
            "description": "Pole vertical / acceptable lean"
          },
          "insulators_condition": {
            "$ref": "#/components/schemas/PowerLinePoleCheck_insulators_condition",
            "description": "Insulators intact vs damaged/missing"
          },
          "conductor_sag": {
            "$ref": "#/components/schemas/PowerLinePoleCheck_conductor_sag",
            "description": "Conductor sag assessment"
          },
          "vegetation_encroachment": {
            "$ref": "#/components/schemas/PowerLinePoleCheck_vegetation_encroachment",
            "description": "Vegetation proximity risk"
          },
          "hardware_integrity": {
            "$ref": "#/components/schemas/PowerLinePoleCheck_hardware_integrity",
            "description": "Bolts/brackets/crossarm fittings soundness"
          },
          "crossarm_condition": {
            "$ref": "#/components/schemas/PowerLinePoleCheck_crossarm_condition",
            "description": "Crossarm intact vs cracked/damaged"
          },
          "corrosion_level": {
            "$ref": "#/components/schemas/PowerLinePoleCheck_corrosion_level",
            "description": "Visible corrosion severity"
          },
          "foreign_objects_present": {
            "$ref": "#/components/schemas/PowerLinePoleCheck_foreign_objects_present",
            "description": "Foreign hanging objects / debris presence"
          },
          "nests_present": {
            "$ref": "#/components/schemas/PowerLinePoleCheck_nests_present",
            "description": "Bird / animal nests creating hazard"
          },
          "missing_components": {
            "$ref": "#/components/schemas/PowerLinePoleCheck_missing_components",
            "description": "Clearly missing expected hardware (e.g. insulator)"
          }
        },
        "type": "object",
        "required": [
          "pole_alignment",
          "insulators_condition",
          "conductor_sag",
          "vegetation_encroachment",
          "hardware_integrity",
          "crossarm_condition",
          "corrosion_level",
          "foreign_objects_present",
          "nests_present",
          "missing_components"
        ],
        "title": "PowerLinePoleChecksSchema"
      },
      "PowerLinePoleCheck_pole_alignment": {
        "properties": {
          "status": {
            "$ref": "#/components/schemas/CheckStatus",
            "description": "Status"
          },
          "confidence": {
            "type": "number",
            "maximum": 1,
            "minimum": 0,
            "title": "Confidence",
            "description": "Confidence"
          }
        },
        "type": "object",
        "required": [
          "status",
          "confidence"
        ],
        "title": "PowerLinePoleCheck_pole_alignment"
      },
      "PowerLinePoleCheck_insulators_condition": {
        "properties": {
          "status": {
            "$ref": "#/components/schemas/CheckStatus",
            "description": "Status"
          },
          "confidence": {
            "type": "number",
            "maximum": 1,
            "minimum": 0,
            "title": "Confidence",
            "description": "Confidence"
          }
        },
        "type": "object",
        "required": [
          "status",
          "confidence"
        ],
        "title": "PowerLinePoleCheck_insulators_condition"
      },
      "PowerLinePoleCheck_conductor_sag": {
        "properties": {
          "status": {
            "$ref": "#/components/schemas/CheckStatus",
            "description": "Status"
          },
          "confidence": {
            "type": "number",
            "maximum": 1,
            "minimum": 0,
            "title": "Confidence",
            "description": "Confidence"
          }
        },
        "type": "object",
        "required": [
          "status",
          "confidence"
        ],
        "title": "PowerLinePoleCheck_conductor_sag"
      },
      "PowerLinePoleCheck_vegetation_encroachment": {
        "properties": {
          "status": {
            "$ref": "#/components/schemas/CheckStatus",
            "description": "Status"
          },
          "confidence": {
            "type": "number",
            "maximum": 1,
            "minimum": 0,
            "title": "Confidence",
            "description": "Confidence"
          }
        },
        "type": "object",
        "required": [
          "status",
          "confidence"
        ],
        "title": "PowerLinePoleCheck_vegetation_encroachment"
      },
      "PowerLinePoleCheck_hardware_integrity": {
        "properties": {
          "status": {
            "$ref": "#/components/schemas/CheckStatus",
            "description": "Status"
          },
          "confidence": {
            "type": "number",
            "maximum": 1,
            "minimum": 0,
            "title": "Confidence",
            "description": "Confidence"
          }
        },
        "type": "object",
        "required": [
          "status",
          "confidence"
        ],
        "title": "PowerLinePoleCheck_hardware_integrity"
      },
      "PowerLinePoleCheck_crossarm_condition": {
        "properties": {
          "status": {
            "$ref": "#/components/schemas/CheckStatus",
            "description": "Status"
          },
          "confidence": {
            "type": "number",
            "maximum": 1,
            "minimum": 0,
            "title": "Confidence",
            "description": "Confidence"
          }
        },
        "type": "object",
        "required": [
          "status",
          "confidence"
        ],
        "title": "PowerLinePoleCheck_crossarm_condition"
      },
      "PowerLinePoleCheck_corrosion_level": {
        "properties": {
          "status": {
            "$ref": "#/components/schemas/CheckStatus",
            "description": "Status (mapped from none/mild/severe)"
          },
          "confidence": {
            "type": "number",
            "maximum": 1,
            "minimum": 0,
            "title": "Confidence",
            "description": "Confidence"
          }
        },
        "type": "object",
        "required": [
          "status",
          "confidence"
        ],
        "title": "PowerLinePoleCheck_corrosion_level"
      },
      "PowerLinePoleCheck_foreign_objects_present": {
        "properties": {
          "status": {
            "$ref": "#/components/schemas/CheckStatus",
            "description": "Status"
          },
          "confidence": {
            "type": "number",
            "maximum": 1,
            "minimum": 0,
            "title": "Confidence",
            "description": "Confidence"
          }
        },
        "type": "object",
        "required": [
          "status",
          "confidence"
        ],
        "title": "PowerLinePoleCheck_foreign_objects_present"
      },
      "PowerLinePoleCheck_nests_present": {
        "properties": {
          "status": {
            "$ref": "#/components/schemas/CheckStatus",
            "description": "Status"
          },
          "confidence": {
            "type": "number",
            "maximum": 1,
            "minimum": 0,
            "title": "Confidence",
            "description": "Confidence"
          }
        },
        "type": "object",
        "required": [
          "status",
          "confidence"
        ],
        "title": "PowerLinePoleCheck_nests_present"
      },
      "PowerLinePoleCheck_missing_components": {
        "properties": {
          "status": {
            "$ref": "#/components/schemas/CheckStatus",
            "description": "Status"
          },
          "confidence": {
            "type": "number",
            "maximum": 1,
            "minimum": 0,
            "title": "Confidence",
            "description": "Confidence"
          }
        },
        "type": "object",
        "required": [
          "status",
          "confidence"
        ],
        "title": "PowerLinePoleCheck_missing_components"
      }
    }
  },
  "servers": [
    {
      "url": "https://api.ai.vision.tiliter.com",
      "description": "Production API"
    }
  ],
  "tags": [
    {
      "name": "Power Line Pole Inspector",
      "description": "Assess power poles for structural safety issues"
    }
  ]
}
```