---
title: "Tool Agentic Od"
method: POST
path: "/v1/tools/agentic-object-detection"
tags: ["Tools"]
---

# Tool Agentic Od

`POST /v1/tools/agentic-object-detection`

Performs agentic object detection on images to identify and locate objects based on text prompts.

Args:
    data (FormData): The form data containing the following fields:
        - prompts (List[str]): List containing exactly one text prompt describing what objects to detect.
            Must contain between 1 and 1 elements.
        - image (UploadFile): The image file to analyze for object detection.
            Required field, cannot be None.
        - video (UploadFile, *optional*): Video file input (not supported for agentic OD).
            Will return an error if provided.
    baseten_inference_sender: Dependency Injection for
        sending inference requests to the Baseten model server for agentic object detection.

Returns:
    ODResponse | JSONResponse
        Success: ODResponse containing detected objects with bounding boxes and labels.
        Error: JSONResponse with error details and appropriate status code.

## Query parameters

- `timeout` integer, nullable

## Response `200`

Successful Response

- ODResponse
  - `data` array[], nullable, required
    - ODResponseData[]
      - `label` string, required
      - `score` number, required
      - `bounding_box` union[], required
        - union
          - integer
          - number

## Other responses

- `422` — Validation Error

## Changes

- **2026-02-13** `eeb4eb7952ab` — 1 info
  - endpoint added
- **2026-02-13** `62ce42134d4b` — 1 breaking
  - api path removed without deprecation
- **2026-02-13** `eeb4eb7952ab` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/landing-ai/apis/ade-api/changes/v1/tools/agentic-object-detection/post.md)

---

[API](https://skmtc.dev/landing-ai/apis/ade-api.md) · [All operations](https://skmtc.dev/landing-ai/apis/ade-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/landing-ai/ade-api/revisions/eeb4eb7952ab/schema)
