C2AI2X 核心对象
当前公开的 platform ingress request body 是 C2AI2XExecuteInput。
它由几组对象组成:
1. Demand
Demand 是需求本体。
当前最重要的字段:
identity.demand_ididentity.protocol_versioninput_context.raw_inputinput_context.structured_summary
其中:
demand_id是协议侧主标识raw_input优先映射到平台内部text- 若没有
raw_input,平台回退到structured_summary
2. Envelope
Envelope 是消息包络。
常用字段:
envelope_idprotocolprotocol_versiontrace.trace_idtrace.request_ididempotency_keyproduceractorsubject
它主要承载 trace、生产者、主体、消息语义与幂等信息。
3. AuthorizationGrant
AuthorizationGrant 是协议层授权描述。
当前常用字段:
grant_iddemand_idstatusgrantorgranteedata_scopeaction_scopeautomation_policyredaction_policy
说明:
- 它可以随请求一并上送
- 但平台仍是实际 auth / entitlement / quota 的正式解释方
4. Attachments
附件对象当前结构为:
attachment_idkindurlmetadata
5. ProtocolReference
无论同步还是异步返回,平台都会返回一个 protocol 摘要:
standardversiondemand_idenvelope_idgrant_id
这个对象用于把平台执行结果重新锚定回协议世界。
6. Phase 1 最小必填
当前 live route 只强制要求:
domaindemand
而 demand 内又至少需要:
identity.demand_idinput_context.raw_input或input_context.structured_summary