---
title: "Compute Gradient"
method: POST
path: "/quantlib/core/autodiff/gradient"
tags: ["quantlib-core"]
---

# Compute Gradient

`POST /quantlib/core/autodiff/gradient`

## Request

- Base URL: `https://api.fincept.in` (the document declares no server; this is the origin it was published from)
- URL: `https://api.fincept.in/quantlib/core/autodiff/gradient`
- Auth: API key in header `X-API-Key`

Compute gradient of a built-in function at given point(s)

## Request body

- GradientRequest: Numerical gradient at a point for built-in functions
  - `func_name` string, required
  - `x` number[], required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/fincept/apis/fincept-api.md) · [All operations](https://skmtc.dev/fincept/apis/fincept-api/llms.txt) · [OpenAPI document](https://skmtc.dev/fincept/apis/fincept-api/revisions/e9c0076ea55a?raw)
