---
title: "Magnetotelluric Classify Rock"
method: POST
path: "/api/v1/frontier/magnetotelluric/classify-rock"
tags: ["Magnetotelluric Deep Imaging"]
---

# Magnetotelluric Classify Rock

`POST /api/v1/frontier/magnetotelluric/classify-rock`

## Request

- Base URL: `https://www.deepmapai.com`
- URL: `https://www.deepmapai.com/api/v1/frontier/magnetotelluric/classify-rock`
- Auth: none declared

Classify rock type from a resistivity profile.

Generates training data (if not cached), trains or loads the rock
type classifier, and predicts the most likely rock type for the
provided resistivity profile features.

Parameters (JSON body):
- resistivity_profile : list[float] -- Resistivity values (ohm-m)
    for each layer (required).
- depths_m : list[float] -- Corresponding layer depths in meters
    (required, same length as resistivity_profile).
- n_samples : int -- Training data size (default 1000).
- seed : int -- Random seed (default 42).

Returns classification result with rock type, confidence, and
feature importances.

**Pricing:** Included in subscription tiers (legacy list price: GET /api/v1/billing/pricing).

## Query parameters

- `x_api_key` string, nullable

## Request body

- object

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/deepmapai/apis/deepmap-ai.md) · [All operations](https://skmtc.dev/deepmapai/apis/deepmap-ai/llms.txt) · [OpenAPI document](https://skmtc.dev/deepmapai/apis/deepmap-ai/revisions/dab995d977d0?raw)
