---
title: "POST /api/{org_id}/prompts/match"
method: POST
path: "/api/{org_id}/prompts/match"
tags: ["Prompts"]
---

# POST /api/{org_id}/prompts/match

`POST /api/{org_id}/prompts/match`

## Request

- Base URL: `https://api.openobserve.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.openobserve.ai/api/{org_id}/prompts/match`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/openobserve/apis/openobserve-api-http/docs/api/:org_id/prompts/match/post.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `org_id` string, required

## Query parameters

- `folder` string

## Request body

- object
  - `config` PromptConfig
    - `model` string, nullable
    - `params` unknown
    - `responseFormat` unknown
    - `tools` unknown
  - `payload` unknown, required
  - `type` string, required

## Response `200`

- object
  - `matches` PromptMatchResponseBody[], required
    - `contentHash` string, required
    - `entityId` string, required
    - `id` string, required
    - `name` string, required
    - `version` integer, required

---

[API](https://skmtc.dev/openobserve/apis/openobserve-api-http.md) - [All operations](https://skmtc.dev/openobserve/apis/openobserve-api-http/llms.txt) - [OpenAPI document](https://skmtc.dev/openobserve/apis/openobserve-api-http/revisions/0529b8a10252?raw)
