# Report whether the caller can import eval results.

Source: <https://everruns.com/docs/api/operations/eval_import_preflight/>

GET

/v1/evals/import/preflight

Select code samplecURL (shell:curl)

```js
const url = 'https://app.everruns.com/api/v1/evals/import/preflight';
const options = {method: 'GET'};


try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```sh
curl --request GET \
  --url https://app.everruns.com/api/v1/evals/import/preflight
```

* Production APIapp.everruns.com/api/v1/evals/import/preflight

## Responses

### 200

Success

Media typeapplication/json

Preflight capability report so optional-feature clients (e.g. Mira) can check before publishing instead of failing mid-import.

object

**can\_import**

required

Whether the caller may import (holds eval-management permission).

boolean

**evals\_enabled**

required

Whether the `evals` feature is enabled for this org.

boolean

##### Example

```json
{
  "can_import": true,
  "evals_enabled": true
}
```