finalize-creation

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Finalize creation

完成创作

One
PATCH
with
finalize: true
— promotes to finalized and ingests to Creative DNA. Do not also run ingest-to-creative-dna for the same creation.
一次
PATCH
请求,传入
finalize: true
——将创作提升为最终确认状态并摄取到 Creative DNA。不要针对同一个 creation 同时运行 ingest-to-creative-dna。

When to use

何时使用

  • You say done, finalize, or ready for long-term memory
  • 你表示 done、finalize,或已准备好纳入长期记忆

When NOT to use

何时不要使用

  • Still iterating locally
  • User-brought documents → ingest-to-creative-dna
  • 仍在本地迭代
  • 用户提供的文档 → ingest-to-creative-dna

Before API calls

调用 API 前

  1. Bootstrap
  2. Known
    creationId
    (from save-creation or
    GET /api/v1/creations?project_id=...
    )
  1. Bootstrap
  2. 获取已知的
    creationId
    (来自 save-creation 或
    GET /api/v1/creations?project_id=...
    )

PATCH body

PATCH 请求体

json
{ "finalize": true }
Optional:
title
,
content
before finalize.
Poll
GET /api/v1/projects/{projectId}/ingest/status/{jobId}
if the response includes a job id.
json
{ "finalize": true }
可选:在 finalize 前设置
title
、
content
。
如果响应中包含 job id,则轮询
GET /api/v1/projects/{projectId}/ingest/status/{jobId}
。

Errors

错误

CodeAction
402 / 429Stop — https://app.originmind.ai/
404Unknown creation
400Already finalized
代码操作
402 / 429停止——https://app.originmind.ai/
404未知的 creation
400已经完成最终确认

References

参考资料

  • ../save-creation/SKILL.md
  • ../search-creative-dna/references/routes.md
  • ../save-creation/SKILL.md
  • ../search-creative-dna/references/routes.md