---
layout: default
title: Mappings APIs
parent: API tools
nav_order: 45
# Mappings APIs
The following APIs can be used for a number of tasks related to mappings, from creating to getting and updating mappings.
## Get Mappings View
### Example request
```json
GET /_plugins/_security_analytics/mappings/view
{
"index_name": "windows",
"rule_topic": "windows"
}
```
### Example response
"properties": {
"windows-event_data-CommandLine": {
"path": "CommandLine",
"type": "alias"
},
"event_uid": {
"path": "EventID",
"unmapped_index_fields": [
"windows-event_data-CommandLine",
"unmapped_HiveName",
"src_ip",
"sha1",
"processPath",
"CallerProcessName",
"CallTrace",
"AuthenticationPackageName",
"AuditSourceName",
"AuditPolicyChanges",
"AttributeValue",
"AttributeLDAPDisplayName",
"ApplicationPath",
"Application",
"AllowedToDelegateTo",
"Address",
"Action",
"AccountType",
"AccountName",
"Accesses",
"AccessMask",
"AccessList"
]
## Create Mappings
POST /_plugins/_security_analytics/mappings
"rule_topic": "windows",
"partial": true,
"alias_mappings": {
"type": "alias",
"path": "EventID"
"acknowledged": true
## Get Mappings
GET /_plugins/_security_analytics/mappings
"windows": {
"mappings": {
"path": "CommandLine"
## Update Mappings
PUT /_plugins/_security_analytics/mappings
"field": "CommandLine",
"alias": "windows-event_data-CommandLine"