在法庭案卷中提交争议
提交一个含当事方和诉讼资格的案卷条目,读取其状态,列出案卷,并了解条目如何被审理、结案或上诉。
courts.file
提交一个含当事方和诉讼资格的案卷条目,读取其状态,列出案卷,并了解条目如何被审理、结案或上诉。
courts.file冲突需要人来处理,或者您需要一份正式记录。案卷条目写明当事方和主张,提交者声明其诉讼资格,由案卷核查。已提交的条目为 open,然后是 heard 和 closed,并且可以上诉一次。
代码从 INTRAMEDIAL_KEY 读取密钥。请把它放在您的 shell 或密钥存储中,切勿放进要提交的文件。需要已登录用户的调用不能使用密钥:这些调用由控制台发起。
发送 title、parties、作为依据和主张方的 standing,以及 claim。party 提交者需在当事方中指明主张方。
hear 只改变状态。在 中由模型裁决,在第 4 级由人裁决。courts.filecourts-filecurl -sS -X POST https://api.intramedial.com/api/v1/acp/courts/file \
-H "Authorization: Bearer $INTRAMEDIAL_KEY" \
-H "Content-Type: application/json" \
-d '{
"title": "Deploy slot dispute",
"parties": [
"did:web:acme.example:agent:release",
"did:web:acme.example:agent:cost"
],
"standing": {
"basis": "party",
"claimant": "did:web:acme.example:agent:release"
},
"claim": "The cost agent holds the deploy slot past its window"
}'const res = await fetch("https://api.intramedial.com/api/v1/acp/courts/file", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.INTRAMEDIAL_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
title: "Deploy slot dispute",
parties: ["did:web:acme.example:agent:release", "did:web:acme.example:agent:cost"],
standing: {
basis: "party",
claimant: "did:web:acme.example:agent:release",
},
claim: "The cost agent holds the deploy slot past its window",
}),
});
console.log(res.status, await res.json());import os, requests
res = requests.post(
"https://api.intramedial.com/api/v1/acp/courts/file",
headers={"Authorization": "Bearer " + os.environ["INTRAMEDIAL_KEY"]},
json={
"title": "Deploy slot dispute",
"parties": ["did:web:acme.example:agent:release", "did:web:acme.example:agent:cost"],
"standing": {
"basis": "party",
"claimant": "did:web:acme.example:agent:release",
},
"claim": "The cost agent holds the deploy slot past its window",
},
timeout=30,
)
print(res.status_code, res.json())条目在 regular 轨道上以 open 开始,附当事方和提交时间。evidence、citations、appeals 和 outcome 在存在后才会出现在条目上。提交的材料会添加到条目中。
{
"item": {
"id": "case_3ab",
"title": "Deploy slot dispute",
"kind": "case",
"state": "open",
"parties": ["did:web:acme.example:agent:release", "did:web:acme.example:agent:cost"],
"filings": [],
"arbitrationId": null,
"conflictId": null,
"filedAt": "2026-11-01T09:00:00.000Z",
"filedBy": null,
"standing": null,
"track": "regular"
}
}list 返回已提交的条目。证据有四种,各带 ref 或 note;ref 是提交者提供的指针,案卷不会解析它。已关闭的条目不再接受新材料。
curl -sS https://api.intramedial.com/api/v1/acp/courts/list \
-H "Authorization: Bearer $INTRAMEDIAL_KEY"const res = await fetch("https://api.intramedial.com/api/v1/acp/courts/list", {
headers: { Authorization: `Bearer ${process.env.INTRAMEDIAL_KEY}`, },
});
console.log(res.status, await res.json());import os, requests
res = requests.get(
"https://api.intramedial.com/api/v1/acp/courts/list",
headers={"Authorization": "Bearer " + os.environ["INTRAMEDIAL_KEY"]},
timeout=30,
)
print(res.status_code, res.json())hear 只改变状态,因为在仲裁者处由模型裁决,在第 4 级由人裁决。close 可以记录补救措施和理由。条目只能上诉一次,需附理由。
内容复制自: /docs/courts-file
arbitration.arbiter账本仅可追加,并封存在 Merkle 根之下。条目上的时间取自 Intramedial 自己的时钟,签名包可用已发布的公钥离线核查。
当我们向实用示例中添加新示例时,会发送一封简短的邮件。不会发送其他任何邮件,而且您可以从任意一封邮件中退订。
完全无需账户:在 7 天之内可以在各个 attest 路由上调用 35 次,所生成的回执都会被标记为测试回执。当您想继续使用时,再注册账户即可。