---
title: "Test a JSONPath expression"
method: POST
path: "/hub/test-jpath"
---

# Test a JSONPath expression

`POST /hub/test-jpath`

## Request

- Base URL: `https://api.quiva.ai`
- URL: `https://api.quiva.ai/hub/test-jpath`
- Auth: one of:
  - HTTP bearer
  - API key in header `x-api-key`
- TypeScript: <https://skmtc.dev/quivaworks/apis/quiva-ai-gateway-3/docs/hub/test-jpath/post.ts> (a function with typed inputs; its response is checked against the schema)

Resolve a JSONPath expression or template object against sample lookup data using the real engine resolver. Use before building node payloads.

## Request body

- object
  - `data` unknown, required
  - `path` unknown, required

## Response `200`

The resolved value

## Changes

- **2026-11-12** `8730377687f9`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/quivaworks/apis/quiva-ai-gateway-3/changes/hub/test-jpath/post.md)

---

[API](https://skmtc.dev/quivaworks/apis/quiva-ai-gateway-3.md) - [All operations](https://skmtc.dev/quivaworks/apis/quiva-ai-gateway-3/llms.txt) - [OpenAPI document](https://skmtc.dev/quivaworks/apis/quiva-ai-gateway-3/revisions/f80cd5f3ac1c?raw)
