Yuandian Case Semantic Search API
Search Yuandian Case Semantic via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Yuandian, pass parameters such as query, return_num, rewrite_flag, and retrieve structured data including business status code, returned answer field, content, title, and returned ah field to search interfaces and source review, and integration reference.
- Selected price
- $0 / callPublished pricing
- Sellers / APIs
- 1 / 1
- Requests · 30d
- 1Selected implementation · last 30 days
- Success rate · 30d
- 100.00%Selected implementation · last 30 days
Yuandian Case Semantic Search API
Prepare your request, then continue with your agent.
Selected price
$0 / call
- Provider
- API
- Pricing
On this page
Overview
Yuandian Case Semantic Search API
Search for case Semantic with the Yuandian API. Provide query in body. Read the response using the field paths below, preserving identifiers and the declared value types when mapping results.
Quick Facts
| Fact | Value |
|---|---|
| Access | OpenAny REST |
| Authentication | OpenAny API key in the Authorization header |
| Core inputs | body: query, rewrite_flag, wenshu_filter, return_num |
| Selected implementation | yuandian · Case Semantic Search API |
| Billing | Follow the selected implementation pricing, billing unit, quantity and charge rules |
What You Can Build
- Search interfaces and source review: Keep returned sources and query context together.
- Integration reference: Use the selected request format and keep source identifiers with the returned result.
Documented Response Fields
| Field | Meaning |
|---|---|
code |
Business status code |
answer |
Returned answer field |
extra.wenshu[].content |
Content |
extra.wenshu[].title |
Title |
extra.wenshu[].ah |
Returned ah field |
extra.wenshu[].ajlb |
Returned ajlb field |
extra.wenshu[].anyou |
Returned anyou field |
extra.wenshu[].authority |
Returned authority field |
Quick Start
- Set OPENANY_API_KEY to your OpenAny API key.
- Review the JSON body and supported fields shown in the request template.
- Check the HTTP response and business result before reading optional fields.
curl \
'https://api.openany.si/v1/agent-apis/yuandian/open/case_vector_search' \
-X POST \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json' \
--data-raw '{
"query": "入户盗窃",
"return_num": 2,
"rewrite_flag": false,
"wenshu_filter": {
"cj": "中级",
"dianxing": false,
"fayuan": [
"北京市第一中级人民法院"
],
"ja_end": "2025-01-01",
"ja_start": "2015-01-01",
"wenshu_type": "刑事案件",
"wszl": [
"1"
],
"xzqh_p": "北京"
}
}'
Request and Response Examples
The response is a published documentation reference; its values may be historical. The request is an independent calling template. Use current returned identifiers and optional fields for your target resource.
Published Yuandian Case Semantic Search API implementation contract.
Pricing and Billing
The pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service's public availability does not determine OpenAny billing.
Frequently Asked Questions
Related APIs
Playground
Run sends a real API request. Charges follow the published API contract.
Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
yuandianCurrent Case Semantic Search API · POST · View API reference | $0 / call | 1 | 100.00%successP502.19s |
- Unit price
- $0
Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 4. Price update time: not supplied.
Total $0
API
- Method
- POST
- Endpoint
https://api.openany.si/v1/agent-apis/yuandian/open/case_vector_search- Content type
- application/json
- Authentication
Authorization: Bearer $OPENANY_API_KEY
Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
query | JSON request bodybody | string | Yes | Question or query text to search for |
rewrite_flag | JSON request bodybody | boolean | No | Whether to rewrite the query; defaults to `false` |
wenshu_filter | JSON request bodybody | object | No | Case search filters; see the field descriptions for details |
return_num | JSON request bodybody | integer | No | Number of cases to return (default 45; cannot exceed the total number retrieved) |
Required markers inside a nested object or variant apply when that object or variant is used.
Response structure
answerstringcodeintegerextraobjectwenshuobject[]ahstringajlbstringanyoustring[]authoritystringaystring[]cjstringcontentstringdbstringjaDateintegerjandintegerjbdwstringpara_namestringscidstringscorenumberspcxstringtitlestringtypeintegerwszlstringxzqh_cstringxzqh_pstring
messageIdstringmsgstringrequest_idstringstylestring
Agent integration
Copy the resource contract without sharing an API key.
Error handling
| Status | Next step |
|---|---|
400 | Check the offering and request fields. |
401 / 403 | Verify your credentials and access permissions. |
402 | Inspect the selected access mode and returned payment requirements. |
429 | Respect the returned rate limit and retry guidance. |
5xx | Inspect the error and usage record before retrying a paid operation. |
Examples
Documentation example (HTTP status set during import)
Published documentation example. Verify the actual response after an approved call.
Prepare your environment
Use a terminal with cURL installed.
Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.
Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.
Terminal · macOS / Linuxprintf 'OpenAny API key: ' read -r -s OPENANY_API_KEY export OPENANY_API_KEY printf '\n'Run the request
Paste the complete command below into your terminal.
Values to replace before running 4
Review these request fields before running. Keep the published provider and request method unchanged.
query- Question or query text to search for
rewrite_flag- Whether to rewrite the query; defaults to `false`
wenshu_filter- Case search filters; see the field descriptions for details
return_num- Number of cases to return (default 45; cannot exceed the total number retrieved)
Terminal · cURLcurl \ 'https://api.openany.si/v1/agent-apis/yuandian/open/case_vector_search' \ -X POST \ -H "Authorization: Bearer $OPENANY_API_KEY" \ -H 'Content-Type: application/json' \ --data-raw '{ "query": "入户盗窃", "return_num": 2, "rewrite_flag": false, "wenshu_filter": { "cj": "中级", "dianxing": false, "fayuan": [ "北京市第一中级人民法院" ], "ja_end": "2025-01-01", "ja_start": "2015-01-01", "wenshu_type": "刑事案件", "wszl": [ "1" ], "xzqh_p": "北京" } }'Check the response
Sample response · Configured HTTP 200; actual status is unverified.
Sample response{ "answer": "", "code": 201, "extra": { "wenshu": [ { "ah": "(2019)京01刑终629号", "ajlb": "刑事案件", "anyou": [ "盗窃罪" ], "authority": "", "ay": [ "201" ], "cj": "中级", "content": "本案的案件基本事实为:被告人吕江波在湖北省黄石市三江共和城铜锣湾广场售楼部更衣室内,通过脚踩方式使被害人杨某掉落的信用卡等物品未被发现,随后非法占有并使用这些信用卡进行了取款,共计取款人民币8000元。吕江波的家属后来代其赔偿了被害人14000元,得到了被害人的谅解。吕江波的行为最终被认定为盗窃信用卡并使用,构成盗窃罪。本案争议焦点在于原审被告人吕江波的行为是否构成信用卡诈骗罪以及是否应当对其盗窃行为进行重新定罪量刑。法院认为,吕江波实施了窃取他人财物的行为,数额较大,其行为符合盗窃罪的构成要件,而非信用卡诈骗罪。一审判决将吕江波的行为错误地定性为信用卡诈骗罪,并据此作出数罪并罚的判决,属于法律适用错误,应予以纠正。同时,考虑到吕江波到案后能如实供述自己的罪行,自愿签署认罪认罚具结书,并在案发后通过家属帮助退赔全部涉案赃款,获得被害人谅解,依法可以从轻处罚。然而,鉴于吕江波多次实施盗窃,包括入户盗窃,这一情节在量刑时必须予以充分考虑。综合考量吕江波犯罪的事实、性质、情节及其行为对社会的危害程度,法院依法改判其构成盗窃罪,并根据相关法律规定调整了刑罚,确保判决公正合理。被告人以非法占有为目的,实施盗窃行为,数额较大,构成盗窃罪,应予惩处。若被告人到案后如实供述罪行,签署认罪认罚具结书,并在亲属协助下退赔全部赃款且获得被害人谅解,可依法从宽处罚;但多次盗窃或入户盗窃的情节应在量刑时予以考量。争议焦点1:原审被告人吕江波的行为是否构成盗窃罪而非信用卡诈骗罪。", "db": "精选案例库", "jaDate": 20191223, "jand": 2019, "jbdw": "北京市第一中级人民法院", "para_name": "总结", "scid": "b5c63a4ec01df9495b6b9024bf0a2bee", "score": 1.0098828125000001, "spcx": "二审案件", "title": "吕江波盗窃二审刑事判决书", "type": 2, "wszl": "判决书", "xzqh_c": "一中院", "xzqh_p": "北京" }, { "ah": "(2019)京01刑终124号", "ajlb": "刑事案件", "anyou": [ "盗窃罪" ], "authority": "", "ay": [ "201" ], "cj": "中级", "content": "本案的案件基本事实为:2018年6月29日凌晨,汪传国在北京石景山区模式口村28号院内先后窃取了张某1的苹果牌Iphone6SPLUS手机一部及少量现金,以及郭某的两部手机(白色华为牌NOVA青春型手机一部,价值780元;苹果牌黑色Iphone8PLUS手机一部,价值4400元)和现金22100元。同年7月12日,汪传国被抓获,但赃款赃物未能追回。汪传国家属事后分别向张某1和郭某进行了部分经济补偿并获得了谅解。二审期间,汪传国未能提供新证据支持其未盗窃郭某现金的主张,相关证据足以证实其盗窃金额。本案争议焦点在于上诉人汪传国是否构成盗窃罪以及其刑事责任的确定。法院认为,汪传国以非法占有为目的,实施了入户盗窃他人财物的行为,且涉案金额较大,其行为符合盗窃罪的构成要件,依法应予惩处。此外,汪传国曾因盗窃罪被判刑,刑满释放后五年内再次实施盗窃行为,属于累犯,依法应从重处罚。然而,考虑到汪传国到案后如实供述了部分犯罪事实,积极退赔被害人部分损失并获得谅解,依法可以从轻处罚。综上所述,一审法院认定汪传国犯盗窃罪的事实清楚,证据确凿,定罪准确,量刑适当,审判程序合法,但未依法责令汪传国退赔全部违法所得,存在不当之处,需予以纠正。以非法占有为目的实施入户盗窃,数额较大的,构成盗窃罪,依法应予惩处。若行为人系累犯,即曾因盗窃罪被判处有期徒刑,刑罚执行完毕后五年内再犯应判处有期徒刑以上刑罚之罪的,依法应从重处罚。同时,行为人如实供述犯罪事实,积极退赔被害人损失并获得谅解的,依法可以从轻处罚。法院在判决时需考虑犯罪事实、性质、情节及对社会的危害程度,确保量刑适当。", "db": "精选案例库", "jaDate": 20190322, "jand": 2019, "jbdw": "北京市第一中级人民法院", "para_name": "总结", "scid": "3f186a2590ab411f2fedcd003caf9c1e", "score": 0.9608060420000001, "spcx": "二审案件", "title": "汪传国盗窃二审刑事判决书", "type": 2, "wszl": "判决书", "xzqh_c": "一中院", "xzqh_p": "北京" } ] }, "messageId": "", "msg": "成功(返回结构化数据)", "request_id": "", "style": "" }