PKULaw Law Get Article History
31.5 credits/call
ae_law_get_article_history
返回某部法某一条的历次文本(按今天的条号追溯,含当年条号不同的旧版),并逐版用原文核对这一条有没有真的改动;传 as_of 时同时标出那个时点或那一版的文本。
31.5 credits/call
Pricing
31.5 credits/call
| Condition | Charge |
|---|---|
| Each call | 31.5 credits/call |
Parameters
Optional parameters use the platform defaults when omitted.
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
as_of | string | null | No | 定位到某一版;不传则返回完整时间线。可传日期 YYYY-MM-DD(按施行日期定位,即「那天施行的是哪一版」)、版本标签(如「2018修正」,以 list_law_versions 返回的为准;刑法等写「2023修正」,不写「刑法修正案(十一)」)、或 current(现行版)。链上有施行日期未知的版本时按日期定位会报错,改用版本标签。 | null |
law_title | string | Yes | 法规名称。全称或简称均可,例如「公司法」「民法典」「上海市生活垃圾管理条例」。也可带「新公司法」「2023公司法」「公司法 2023修订」这类版本提示。司法解释、会议纪要等名称较长时,能写多完整写多完整。上限 200 字。 | — |
article_number | string | Yes | 今天的条号,例如「3」「第三条」;第十七条之一写 17.1,也可写「第十七条之一」。 | — |
include_unchanged | boolean | No | 是否保留经原文核对与上一版逐字一致的版本。默认 true——律师常用『该条在这次修订中未被改动』作为反证。设 false 只筛掉 text_comparison=confirmed_identical 的版本,无法核对(unverifiable)的一律保留:把『不知道』当『没变』筛掉会造成更严重的失真。counts 始终按全部已收录快照计数,不受本参数影响。 | true |
Invocation example
Parameter templateGenerated from the parameter configuration. Replace the sample values before use.
POST
/agent-api/v1/tool/executeX-Api-KeyRequest coderequest.sh
curl --request POST \
--url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_law_get_article_history' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {
"law_title": "xxx",
"article_number": "xxx"
}
}'No response example available yet.

