Source: https://atomicwork-preview.docs-staging.pageloop.ai/api-reference/assets/getapi-v-1-assets-types-asset-type-id-form-fields

# Get Form Fields of an AssetType

GET `https://{tenant}.atomicwork.com/api/v1/assets/types/{asset_type_id}/form-fields`

## Authorization

#### X-Api-Key (header, string, required)

## Headers

#### X-Workspace-Id (header, string)

## Path Parameters

#### asset\_type\_id (path, integer, required)

assetTypeId

## Query Parameters

#### source (query, string)

Optional. When provided (e.g. "KANDJI", "MS\_INTUNE", "JAMF"), filters the returned
form fields to only those mapped to that integration source — used by the per-source
asset detail view to render only the fields the source contributes. When omitted,
returns the full field set for the asset type (current behavior).

## Response

#### 200

Successful response

#### Request

```bash cURL
curl -X GET 'https://{tenant}.atomicwork.com/api/v1/assets/types/{asset_type_id}/form-fields' \
  -H 'X-Api-Key: <api-key>'
```

```javascript JavaScript
const res = await fetch('https://{tenant}.atomicwork.com/api/v1/assets/types/{asset_type_id}/form-fields', {
  method: 'GET',
  headers: {
    'X-Api-Key': '<api-key>',
  },
});
const data = await res.json();
```

```python Python
import requests

res = requests.get(
    'https://{tenant}.atomicwork.com/api/v1/assets/types/{asset_type_id}/form-fields',
    headers={'X-Api-Key': '<api-key>'}
)
data = res.json()
```
