返回顶部
s

signet-apiSignet API

Register with Signet to receive a trust score and API key. Look up agent trust scores, report transactions, and manage agent configuration. Use when you need to establish trust identity, verify another agent's trustworthiness, or interact with the Signet trust scoring platform.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.2.0
安全检测
已通过
787
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

signet-api

Signet API

Signet 是面向自主AI代理的信任评分平台。它为每个注册代理分配一个Signet ID(SID)和一个0到1000的综合信任评分。平台在允许代理进行交易之前会查询此评分。

基础URL:https://api.agentsignet.com
所有路由也可通过 /v1/ 访问(例如:https://api.agentsignet.com/v1/register/self)。
所有响应使用带蛇形命名法字段名的JSON格式。
所有响应包含用于调试的 X-Request-Id 头(UUID)。

自助注册(无需认证)

通过一次调用注册自己以获取SID和API密钥:

POST https://api.agentsignet.com/register/self
Content-Type: application/json

{
name: your-agent-name,
model_provider: anthropic,
model_name: claude-opus-4,
description: What you do,
tools: [web-search, code-execution],
memory_config: { type: persistent },
systemprompthash: sha256-of-your-system-prompt
}

必填项:name、modelprovider、modelname。其他均为可选项。

响应(201):
json
{
sid: SID-0x7a3f8b2c1d4e5f6a,
apikey: sksignet_...,
apikeyprefix: abcdef12,
composite_score: 300,
confidence: low,
recommendation: caution,
identity_level: 0,
fingerprint: sha256hash,
message: Agent registered successfully. Store your api_key securely -- it cannot be retrieved later.
}

重要提示:将您的 apikey 存储为 SIGNETAPI_KEY 环境变量。 后续无法找回。您将把它作为所有经过认证的API调用的Bearer令牌使用。请勿将此密钥记录或传输给除 api.agentsignet.com 之外的任何服务。

如果您尝试使用相同的名称和配置再次注册,将收到409响应:
json
{
error: An agent with this name and configuration already exists.
}

速率限制:每个IP每小时10次注册。

公开评分查询(无需认证)

查询任何代理的信任评分。速率限制:每个IP每分钟60次请求。

GET https://api.agentsignet.com/score/{sid}/public

响应:
json
{
sid: SID-0x7a3f8b2c1d4e5f6a,
agent_name: my-research-agent,
composite_score: 782,
confidence: high,
recommendation: clear,
identity_level: 1,
operator_name: my-research-agent (auto)
}

运营者注册(需认证)

在您的运营者账户下注册代理(适用于人工管理流程):

POST https://api.agentsignet.com/register
Authorization: Bearer $SIGNETAPIKEY
Content-Type: application/json

{
name: agent-name,
modelProvider: anthropic,
modelName: claude-opus-4,
description: What the agent does,
tools: [web-search],
systemPromptHash: sha256...
}

必填项:name、modelProvider、modelName。

响应(201):返回sid、name、composite_score、confidence、fingerprint、message。

申请运营者账户(无需认证)

申请人工管理的运营者账户。速率限制:每个IP每小时5次申请。

POST https://api.agentsignet.com/apply
Content-Type: application/json

{
name: Your Name,
email: you@example.com,
company: Your Company,
reason: Why you want access
}

必填项:name、email。其他为可选项。

响应(201):申请已收到。
重复(409):该邮箱已申请。

认证端点

所有认证端点都需要包含以下头信息(使用 SIGNETAPIKEY 环境变量):

Authorization: Bearer $SIGNETAPIKEY

详细评分(GET /score/{sid})

返回所有五个维度的评分:
json
{
sid: SID-0x...,
agent_name: my-agent,
composite_score: 782,
reliability: 790,
quality: 745,
financial: 700,
security: 650,
stability: 750,
confidence: high,
recommendation: clear,
identity_level: 1,
operator: { name: ..., score: 720, verified: false },
config_fingerprint: sha256hash,
last_updated: 2026-02-12T14:12:00.000Z
}

报告交易(POST /transactions)

报告交易结果以更新您的评分:
json
{
sid: SID-0x...,
transactionType: task_completion,
outcome: success,
reliabilitySignal: 900,
qualitySignal: 850,
financialSignal: null,
securitySignal: null,
metadata: { platform: example.com, task: data-analysis }
}

结果必须是以下之一:success、partial、failure、timeout、error。
信号为可选的0-1000整数。稳定性根据结果自动更新。

安全提示: metadata 字段仅用于非敏感的操作上下文(例如,平台名称、任务类型)。切勿在metadata中包含凭据、API密钥、个人身份信息、文件内容或内部系统详细信息。

更新配置(POST /agents/{sid}/config)

报告配置变更:
json
{
modelProvider: anthropic,
modelName: claude-opus-4,
systemPromptHash: sha256...,
tools: [web-search, code-execution],
memoryConfig: { type: persistent }
}

变更类型及其评分衰减:模型切换(25%)、提示更新(10%)、工具变更(8%)、内存变更(5%)。

查看个人资料(GET /me)

返回您的运营者资料及您拥有的所有代理。支持分页:?limit=50&offset=0(最大200)。

轮换API密钥(POST /me/rotate-key)

生成新的API密钥并立即使旧密钥失效:

POST https://api.agentsignet.com/me/rotate-key
Authorization: Bearer $SIGNETAPIKEY

响应:{ apikey: sksignetnew..., apikey_prefix: ..., message: API key rotated. }

重要提示:立即更新您的 SIGNETAPIKEY。 此调用成功后,旧密钥立即停止工作。

评分系统

  • - 范围: 0-1000(自助注册代理从300开始,运营者注册从500开始)
  • 维度: 可靠性(30%)、质量(25%)、财务(20%)、安全(15%)、稳定性(10%)
  • 置信度: 低(<20笔交易)、中(20笔以上交易且7天以上)、高(100笔以上交易且30天以上)
  • 建议: 明确(评分700+且中等以上置信度且身份级别1+)、审查(400-699,或700+但置信度/验证不足)、谨慎(低于400)
  • 更新: 每笔交易采用指数移动平均。早期交易影响更大。每次交易增量限制在+/-50。
  • 身份级别: 0(未验证,最高为审查)、1(回调验证,可达明确)、2(通过批准的运营者进行人工验证)

身份验证

自助注册代理从身份级别0(未验证)开始,建议最高为审查。要解锁明确,请通过回调验证您的身份:

步骤1:发起(POST /agents/{sid}/verify)

POST https://api.agentsignet.com/agents/{sid}/verify
Authorization: Bearer $SIGNETAPIKEY
Content-Type: application/json

{
callbackUrl: https://your-agent.example.com/signet-callback
}

Signet向您的callbackUrl发送POST请求:
json
{
type: signet_verification,
challenge: 64-hex-token,
sid: SID-0x...,
confirm_url: https://api.agentsignet.com/agents/SID-0x.../verify/confirm
}

步骤2:确认(POST /agents/{sid}/verify/confirm)

POST https://api.agentsignet

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 agent-signet-id-1776419934 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 agent-signet-id-1776419934 技能

通过命令行安装

skillhub install agent-signet-id-1776419934

下载

⬇ 下载 signet-api v1.2.0(免费)

文件大小: 3.94 KB | 发布时间: 2026-4-17 20:12

v1.2.0 最新 2026-4-17 20:12
Version 1.2.0 of agent-signet-id

- All API routes now available under both the root path and /v1/ (e.g., /v1/register/self).
- Responses include an X-Request-Id header for improved debugging and traceability.
- Self-registration flow now starts agents at composite_score 300 and recommendation "caution"; field identity_level (starting at 0) is included in responses.
- Public and detailed score lookups now include identity_level.
- Updated scoring and recommendation system: “clear” status requires score ≥700, medium+ confidence, and identity level 1+.
- Added identity verification via callback (documented new /agents/{sid}/verify and /verify/confirm endpoints); only verified agents can achieve “clear” trust status.
- Support for API key rotation via the new /me/rotate-key endpoint.
- Paging parameters (limit, offset) added to the profile (/me) endpoint.
- Documentation updates to clarify confidence levels, identity levels, scoring, and adjustment limits.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部