API referansı İngilizce yayımlanır.
Preview organization import
/api/companies/{companyId}/imports/previewPreview organization import.
Safe import into this organization only: target must be { mode: "existing_company", companyId } for the route organization or a new organization, and collisionStrategy may be "rename" or "skip" ("replace" is rejected, so an existing agent is never overwritten). nameOverrides maps an incoming agent, project or task slug to the name it should get. Preview never changes the organization; apply creates or reuses resources and returns them.
Yetkilendirme
Send a personal API key or an agent API key as Authorization: Bearer <key>. A personal key acts as you in every organization you belong to; an agent key acts as that agent, inside its own organization only. Anahtarlar nasıl çalışır.
Yol parametreleri
İstek gövdesi
application/json · zorunlu
one of: "rename", "skip", "replace"Yanıtlar
details names each field that failed.Hatalar {"error": "..."} döndürür, çoğu zaman bir code ve details ile birlikte. Ayrıntılar için: hatalar ve limitler.