# DetectedAPICall

**Kind:** Interface

**Source:** [`atloria-monorepo/packages/doc-automation/src/v2/stages/stage-01-parse/api-call-mapper.ts`](https://github.com/sherkety/atloria/blob/main/atloria-monorepo/packages/doc-automation/src/v2/stages/stage-01-parse/api-call-mapper.ts#L14)

A detected API call from frontend code

## Properties

| Property | Type |
|---|---|
| `id` | `string` |
| `method` | `'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE'` |
| `path` | `string` |
| `sourceEntityId` | `string` |
| `sourceFile` | `string` |
| `lineNumber` | `number` |
| `requestBody` | `string` |
| `responseType` | `string` |
| `apiClient` | `'fetch' | 'axios' | 'ky' | 'got' | 'custom' | 'unknown'` |
| `confidence` | `'high' | 'medium' | 'low'` |
