# Condition Array

If you wish to predict valuations at all available conditions of the vehicle. That is those between `1` and `5,`with `1` being poor and `5` being excellent condition. You can utilise the conditions in the same way you would use the standard /v2/valuations/predict/ endpoint.&#x20;

In this endpoint, we will return all available conditions in an array. This can power great user experiences where you may wish to show a large range depending on the condition of the vehicle.&#x20;

```json
{
    "success": true,
    "prediction": {
        "id": "8b8663c6-fa04-4a77-9f31-fd2fc32cefa9",
        "vehicle_id": "4648873456828416",
        "kms": 30000,
        "price": 15986,
        "score": 0.6676,
        "retail_price": 15986,
        "adjustment": null,
        "conditions": [
            {
                "condition_score": 1,
                "trade_price": 8740.2
            },
            {
                "condition_score": 2,
                "trade_price": 9988.8
            },
            {
                "condition_score": 3,
                "trade_price": 11237.4
            },
            {
                "condition_score": 4,
                "trade_price": 11861.7
            },
            {
                "condition_score": 5,
                "trade_price": 12486
            }
        ]
    }
}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://devhub.autotek.my/valuation/valuation-predictions/condition-array.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
