> ## Documentation Index
> Fetch the complete documentation index at: https://platform.atlan.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Metric ingest

> Every published metric ingest operation, generated from the contract.

1 operation on `client.metrics`.

Path parameters come first, positionally; the request body is last, as a plain
object. Method names are `snake_case` in Python and `camelCase` in
TypeScript, and resource names follow the same rule.

<CodeGroup>
  ```python Python theme={null}
  result = client.metrics.ingest(body)
  ```

  ```typescript TypeScript theme={null}
  const result = await client.metrics.ingest(body);
  ```
</CodeGroup>

## Operations

| Call                          | Route                   | Does                        |
| ----------------------------- | ----------------------- | --------------------------- |
| `client.metrics.ingest(body)` | `POST /otel/v1/metrics` | Ingest an OTLP metric batch |

## Related

<CardGroup cols={2}>
  <Card title="How the client is organised" icon="list" href="/sdk/operations">
    Resources, call shapes, and errors.
  </Card>

  <Card title="Errors and retries" icon="triangle-exclamation" href="/developers/errors-and-retries">
    What the SDK raises, and which calls are safe to retry.
  </Card>
</CardGroup>
