# Get a migration assessment

Launch stage: Beta

`GET /api/2.0/postgres/{name=migrations/*/assessments/*}`

Gets a migration assessment run.

API scopes: postgres

## Path parameters

- `name` (string, required)
  Required. The assessment resource name, in the format `migrations/{migration}/assessments/{assessment}`.

## Returns

Returns the Assessment object.

## Response

```json
{
  "name": "string",
  "state": "ASSESSMENT_STATE_ASSESSING",
  "checks": [
    {
      "check_id": "string",
      "verdict": "ASSESSMENT_CHECK_VERDICT_PASS",
      "blocks_migration": true,
      "reason": "string",
      "database": "string",
      "details": {}
    }
  ],
  "create_time": "string",
  "complete_time": "string",
  "expire_time": "string"
}
```

