---
title: "Evaluate element attributes"
method: POST
path: "/find/{workspace_id}/evaluate/attributes"
tags: ["Find"]
---

# Evaluate element attributes

`POST /find/{workspace_id}/evaluate/attributes`

Evaluate element attributes for find and auto-healing execution using AI

## Path parameters

- `workspace_id` string, required

## Request body

- FindEvaluateAttributesRequest
  - `primary_text_attribute` FindElementAttribute
    - `id` string, required — The identifier for this attribute, must be unique among all provided attributes
    - `value` string, required — The text value of this attribute
  - `attributes` FindElementAttribute[], required — Element attributes to evaluate
    - `id` string, required — The identifier for this attribute, must be unique among all provided attributes
    - `value` string, required — The text value of this attribute
  - `test_run_id` string — The test run ID for which this find and attribute evaluation is being executed
  - `selector_invariant_id` string — The selector invariant ID for the element being evaluated

## Response `200`

An evaluation of element attributes for use in executing find and auto-healing

- FindEvaluateAttributesResponse
  - `workspace_id` string, required — The workspace associated with this element and find or auto-heal
  - `evaluated_attributes` FindElementAttributeEvaluation[], required — Element attributes to evaluate
    - `id` string, required — The identifier for this attribute
    - `explanation` string — Model-provided explanation for the evaluation of this attribute
    - `weight` number, double, required — A multiplicative factor to apply to the score of this attribute based on evaluating the relevance of its value

## Other responses

- `400` — Invalid or missing parameter
- `401` — User not authenticated
- `403` — User not authorized
- `default` — Unknown error

---

[API](https://skmtc.net/mabl/apis/mabl-api.md) · [All operations](https://skmtc.net/mabl/apis/mabl-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mabl/mabl-api/revisions/d0fc0114da66/schema)
