> For the complete documentation index, see [llms.txt](https://devhub.autograb.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://devhub.autograb.com/nz-autograb-api-doc/valuation/valuation-predictions/condition-array.md).

# 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
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://devhub.autograb.com/nz-autograb-api-doc/valuation/valuation-predictions/condition-array.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
