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

# Run Inference (v1 - Latest)

Validate carry-on luggage against aviation size limits Submit an image to analyze using the Carry-on Luggage Evaluator 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/carry-on-luggage-evaluator/v1/inference": {
      "post": {
        "tags": [
          "Carry-on Luggage Evaluator"
        ],
        "summary": "Run Inference (v1 - Latest)",
        "operationId": "inner_api_v2_agents_carry_on_luggage_evaluator_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_carry-on-luggage-evaluator-v1"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InferenceResponse_CarryOnLuggageEvaluationOutputSchema_"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "description": "Validate carry-on luggage against aviation size limits Submit an image to analyze using the Carry-on Luggage Evaluator 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"
      },
      "InferenceRequestModel_carry-on-luggage-evaluator-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']."
          },
          "reference_files": {
            "anyOf": [
              {
                "items": {
                  "type": "string",
                  "maxLength": 1468006,
                  "format": "base64",
                  "contentMediaType": "application/octet-stream",
                  "description": "Single reference file (decoded bytes)"
                },
                "type": "array",
                "maxItems": 5
              },
              {
                "type": "null"
              }
            ],
            "title": "Reference Files",
            "description": "Optional list (max 5) of reference files provided as base64 strings / Base64Bytes. Each file must be <= 1.4MB decoded."
          },
          "rule_set": {
            "type": "string",
            "title": "Rule Set",
            "description": "Rule set to use",
            "default": "GENERAL_AVIATION",
            "examples": [
              "Max 7kg, 56x36x23cm"
            ]
          },
          "reference_hint": {
            "$ref": "#/components/schemas/ReferenceType",
            "description": "A hint on the category of reference that may be present in the provided images.",
            "examples": [
              "credit_card"
            ]
          }
        },
        "type": "object",
        "required": [
          "input_file_b64",
          "reference_hint"
        ],
        "title": "InferenceRequestModel_carry-on-luggage-evaluator-v1"
      },
      "ReferenceType": {
        "type": "string",
        "enum": [
          "credit_card",
          "passport",
          "id_card",
          "standard_a4_paper",
          "drivers_license"
        ],
        "title": "ReferenceType"
      },
      "InferenceResponse_CarryOnLuggageEvaluationOutputSchema_": {
        "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/CarryOnLuggageEvaluationOutputSchema",
            "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[CarryOnLuggageEvaluationOutputSchema]"
      },
      "CarryOnLuggageEvaluationOutputSchema": {
        "properties": {
          "bag_info": {
            "$ref": "#/components/schemas/CarryOnLuggageBagDetails",
            "description": "Results of bag analysis"
          },
          "reference_info": {
            "$ref": "#/components/schemas/CarryOnLuggageReferenceDetails",
            "description": "Details about the reference used for scale"
          },
          "notes": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Notes",
            "description": "Optional additional notes"
          }
        },
        "type": "object",
        "required": [
          "bag_info",
          "reference_info"
        ],
        "title": "CarryOnLuggageEvaluationOutputSchema"
      },
      "CarryOnLuggageBagDetails": {
        "properties": {
          "bag_length_cm": {
            "type": "number",
            "minimum": 0,
            "title": "Bag Length Cm",
            "description": "Length of the item in centimeters"
          },
          "bag_depth_cm": {
            "type": "number",
            "minimum": 0,
            "title": "Bag Depth Cm",
            "description": "Depth of the item in centimeters"
          },
          "width_cm": {
            "type": "number",
            "minimum": 0,
            "title": "Width Cm",
            "description": "Width of the item in centimeters"
          },
          "is_carry_on_ok": {
            "type": "boolean",
            "title": "Is Carry On Ok",
            "description": "Result of the evaluation of the item against the ruleset"
          },
          "applied_ruleset": {
            "type": "string",
            "title": "Applied Ruleset",
            "description": "Description of the ruleset that was applied to evaluating the item"
          },
          "bbox": {
            "$ref": "#/components/schemas/BoundingBox",
            "description": "Bounding box of the item in the primary image."
          },
          "notes": {
            "type": "string",
            "title": "Notes",
            "description": "Additional notes regarding the bag analysis."
          },
          "confidence": {
            "type": "number",
            "maximum": 1,
            "minimum": 0,
            "title": "Confidence",
            "description": "Overall confidence score of findings"
          }
        },
        "type": "object",
        "required": [
          "bag_length_cm",
          "bag_depth_cm",
          "width_cm",
          "is_carry_on_ok",
          "applied_ruleset",
          "bbox",
          "notes",
          "confidence"
        ],
        "title": "CarryOnLuggageBagDetails"
      },
      "BoundingBox": {
        "properties": {
          "x_min": {
            "type": "number",
            "title": "X Min",
            "description": "Left edge coordinate of the text block"
          },
          "x_max": {
            "type": "number",
            "title": "X Max",
            "description": "Right edge coordinate of the text block"
          },
          "y_min": {
            "type": "number",
            "title": "Y Min",
            "description": "Top edge coordinate of the text block"
          },
          "y_max": {
            "type": "number",
            "title": "Y Max",
            "description": "Bottom edge coordinate of the text block"
          }
        },
        "type": "object",
        "required": [
          "x_min",
          "x_max",
          "y_min",
          "y_max"
        ],
        "title": "BoundingBox"
      },
      "CarryOnLuggageReferenceDetails": {
        "properties": {
          "detected": {
            "type": "boolean",
            "title": "Detected",
            "description": "True if a reference was detected with high confidence"
          },
          "type": {
            "$ref": "#/components/schemas/ReferenceType",
            "description": "Type of reference"
          },
          "model": {
            "type": "string",
            "title": "Model",
            "description": "Designator that further describes the reference"
          },
          "scale_method": {
            "$ref": "#/components/schemas/ScaleMethod",
            "description": "The method used to determine absolute dimensions."
          },
          "confidence": {
            "type": "number",
            "maximum": 1,
            "minimum": 0,
            "title": "Confidence",
            "description": "Confidence score of the reference detection"
          },
          "visible_pct": {
            "type": "number",
            "maximum": 100,
            "minimum": 0,
            "title": "Visible Pct",
            "description": "Percentage of the reference item that is visible"
          }
        },
        "type": "object",
        "required": [
          "detected",
          "type",
          "model",
          "scale_method",
          "confidence",
          "visible_pct"
        ],
        "title": "CarryOnLuggageReferenceDetails"
      },
      "ScaleMethod": {
        "type": "string",
        "enum": [
          "fiducial",
          "monocular_fallback"
        ],
        "title": "ScaleMethod"
      }
    }
  },
  "servers": [
    {
      "url": "https://api.ai.vision.tiliter.com",
      "description": "Production API"
    }
  ],
  "tags": [
    {
      "name": "Carry-on Luggage Evaluator",
      "description": "Validate carry-on luggage against aviation size limits"
    }
  ]
}
```