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

# Run Inference (v1 - Latest)

Extract tyre specifications and identification data Submit an image to analyze using the Tyre Recognition 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/tyre-recognition/v1/inference": {
      "post": {
        "tags": [
          "Tyre Recognition"
        ],
        "summary": "Run Inference (v1 - Latest)",
        "operationId": "inner_api_v2_agents_tyre_recognition_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_tyre-recognition-v1"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InferenceResponse_TyreRecognitionOutputSchema_"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "description": "Extract tyre specifications and identification data Submit an image to analyze using the Tyre Recognition 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_tyre-recognition-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_tyre-recognition-v1"
      },
      "InferenceResponse_TyreRecognitionOutputSchema_": {
        "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/TyreRecognitionOutputSchema",
            "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[TyreRecognitionOutputSchema]"
      },
      "TyreRecognitionOutputSchema": {
        "properties": {
          "manufacturer": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Manufacturer",
            "description": "Tyre manufacturer/brand name"
          },
          "manufacturer_confidence": {
            "anyOf": [
              {
                "type": "number",
                "maximum": 1,
                "minimum": 0
              },
              {
                "type": "null"
              }
            ],
            "title": "Manufacturer Confidence",
            "description": "Confidence score for manufacturer detection"
          },
          "dimension": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Dimension",
            "description": "Tyre dimension (e.g., '315/70 R22.5')"
          },
          "dimension_confidence": {
            "anyOf": [
              {
                "type": "number",
                "maximum": 1,
                "minimum": 0
              },
              {
                "type": "null"
              }
            ],
            "title": "Dimension Confidence",
            "description": "Confidence score for dimension detection"
          },
          "profile": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Profile",
            "description": "Tread/profile name"
          },
          "profile_confidence": {
            "anyOf": [
              {
                "type": "number",
                "maximum": 1,
                "minimum": 0
              },
              {
                "type": "null"
              }
            ],
            "title": "Profile Confidence",
            "description": "Confidence score for profile detection"
          },
          "dot_code": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Dot Code",
            "description": "DOT serial/production code"
          },
          "dot_confidence": {
            "anyOf": [
              {
                "type": "number",
                "maximum": 1,
                "minimum": 0
              },
              {
                "type": "null"
              }
            ],
            "title": "Dot Confidence",
            "description": "Confidence score for DOT code detection"
          },
          "speed_index": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Speed Index",
            "description": "Speed index rating"
          },
          "speed_index_confidence": {
            "anyOf": [
              {
                "type": "number",
                "maximum": 1,
                "minimum": 0
              },
              {
                "type": "null"
              }
            ],
            "title": "Speed Index Confidence",
            "description": "Confidence score for speed index detection"
          },
          "load_index": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Load Index",
            "description": "Load index value"
          },
          "load_index_confidence": {
            "anyOf": [
              {
                "type": "number",
                "maximum": 1,
                "minimum": 0
              },
              {
                "type": "null"
              }
            ],
            "title": "Load Index Confidence",
            "description": "Confidence score for load index detection"
          },
          "ean": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Ean",
            "description": "EAN/barcode number if resolvable"
          },
          "ean_confidence": {
            "anyOf": [
              {
                "type": "number",
                "maximum": 1,
                "minimum": 0
              },
              {
                "type": "null"
              }
            ],
            "title": "Ean Confidence",
            "description": "Confidence score for EAN detection"
          },
          "snippets": {
            "items": {
              "$ref": "#/components/schemas/FieldSnippetSchema"
            },
            "type": "array",
            "title": "Snippets",
            "description": "List of detected text snippets with field associations",
            "default": []
          },
          "confidence": {
            "type": "number",
            "maximum": 1,
            "minimum": 0,
            "title": "Confidence",
            "description": "Overall confidence score for tyre recognition"
          },
          "notes": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Notes",
            "description": "Additional notes or observations"
          },
          "summary": {
            "type": "string",
            "title": "Summary",
            "description": "Summary of the tyre recognition results"
          }
        },
        "type": "object",
        "required": [
          "confidence",
          "summary"
        ],
        "title": "TyreRecognitionOutputSchema"
      },
      "FieldSnippetSchema": {
        "properties": {
          "field": {
            "type": "string",
            "title": "Field",
            "description": "Field name (e.g., 'DOT', 'size', 'brand')"
          },
          "text": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Text",
            "description": "OCR result text"
          },
          "confidence": {
            "type": "number",
            "maximum": 1,
            "minimum": 0,
            "title": "Confidence",
            "description": "Confidence score for this snippet"
          },
          "crop_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Crop Url",
            "description": "Link or ID for cropped image region"
          }
        },
        "type": "object",
        "required": [
          "field",
          "confidence"
        ],
        "title": "FieldSnippetSchema"
      }
    }
  },
  "servers": [
    {
      "url": "https://api.ai.vision.tiliter.com",
      "description": "Production API"
    }
  ],
  "tags": [
    {
      "name": "Tyre Recognition",
      "description": "Extract tyre specifications and identification data"
    }
  ]
}
```