{"items":[{"type":"link","label":"Content Transfer API","link":"/sai/content-transfer-api","routeSlug":"/sai/content-transfer-api","content":{"contentType":"overview","meta":{"name":"Content Transfer API"},"children":[{"nodeType":"container","panels":[{"title":"Download OpenAPI description","titleTranslationKey":"download.description.title","children":[{"kind":"download","label":"index.json","url":"/_bundle/sai/content-transfer-api/index.json?download"},{"kind":"download","label":"index.yaml","url":"/_bundle/sai/content-transfer-api/index.yaml?download"}]},{"title":"Overview","titleTranslationKey":"info.title","children":[{"kind":"externallink","title":"License","titleTranslationKey":"info.license","label":"closed source","url":"https://www.sitecore.com"}]},{"title":"Languages","titleTranslationKey":"languages.title","children":[{"kind":"languages","options":[{"key":"curl","title":"curl","lang":"curl"},{"key":"javascript","title":"JavaScript","lang":"JavaScript"},{"key":"node","title":"Node.js","lang":"Node.js"},{"key":"python","title":"Python","lang":"Python"},{"key":"java","title":"Java","lang":"Java"},{"key":"csharp","title":"C#","lang":"C#"},{"key":"php","title":"PHP","lang":"PHP"},{"key":"go","title":"Go","lang":"Go"},{"key":"ruby","title":"Ruby","lang":"Ruby"},{"key":"r","title":"R","lang":"R"},{"key":"payload","title":"Payload","lang":"Payload"}]}]},{"title":"Servers","titleTranslationKey":"servers.title","children":[{"kind":"servers","servers":[{"url":"https://{host}","variables":{"host":{"default":"your-environment.sitecorecloud.io","description":"The environment host name."}}}],"mode":"default"}]}],"children":[{"nodeType":"overview-section-wrapper","children":[{"nodeType":"header","level":1,"label":"Content Transfer API (v1.0)","showPageActions":true},{"nodeType":"overview-section-wrapper","children":[{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The Content Transfer REST API allows SitecoreAI "},"children":[]},{"$$mdtype":"Node","type":"em","inline":true,"attributes":{"marker":"*"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Organization Admins"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" and "},"children":[]},{"$$mdtype":"Node","type":"em","inline":true,"attributes":{"marker":"*"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Organization Owners"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" to initiate, monitor, and finalize content transfer operations for migrating content data from one SitecoreAI environment (the "},"children":[]},{"$$mdtype":"Node","type":"em","inline":true,"attributes":{"marker":"*"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"source"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":") to another (the "},"children":[]},{"$$mdtype":"Node","type":"em","inline":true,"attributes":{"marker":"*"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"destination"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"). This enables efficient transfer of data between environments using chunked data streaming with encryption and compression support."},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Each transfer operation includes at least one set of chunked data, where each chunk set represents a single data tree that was nominated for transfer. When an operation is complete, each of its chunk sets will be represented by a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":".raif"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" file in the "},"children":[]},{"$$mdtype":"Node","type":"em","inline":true,"attributes":{"marker":"*"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"destination"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" environment. To finish integrating the transferred data, use the separate "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"https://api-docs.sitecore.com/sai/item-transfer"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Item Transfer API"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" to have the destination database consume the "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":".raif"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" files."},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Note the following:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"To use this REST API, you must authorize your API requests."},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"You must be an "},"children":[]},{"$$mdtype":"Node","type":"em","inline":true,"attributes":{"marker":"*"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Organization Admin"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" or "},"children":[]},{"$$mdtype":"Node","type":"em","inline":true,"attributes":{"marker":"*"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Organization Owner"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" to use this API."},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Different endpoints in this API are called against different environments. You will switch between a "},"children":[]},{"$$mdtype":"Node","type":"em","inline":true,"attributes":{"marker":"*"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"source"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" base URL and a "},"children":[]},{"$$mdtype":"Node","type":"em","inline":true,"attributes":{"marker":"*"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"destination"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" base URL depending on the step in the workflow. Each endpoint description specifies which environment to use."},"children":[]}]}]}]}]}],"sectionId":"/sai/content-transfer-api"}],"sectionId":"/sai/content-transfer-api"},{"nodeType":"overview-section-wrapper","children":[{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"heading","attributes":{"level":1,"id":"section/migrating-content"},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Migrating content"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Note: If you previously used the Package Designer for content migrations, "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"https://doc.sitecore.com/sai/en/developers/sitecoreai/deploying-sitecoreai/migrating-content-between-sitecoreai-environments.html"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"review the differences"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" between the designer and the modern API-based approach."},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The Content Transfer API covers the "},"children":[]},{"$$mdtype":"Node","type":"em","inline":true,"attributes":{"marker":"*"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"source"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" side of a content migration. After completing the steps in this API, use the "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"https://api-docs.sitecore.com/sai/item-transfer"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Item Transfer API"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" to incorporate the transferred data into the destination database."},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Before you begin, ensure you have the "},"children":[]},{"$$mdtype":"Node","type":"em","inline":true,"attributes":{"marker":"*"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Organization Admin"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" or "},"children":[]},{"$$mdtype":"Node","type":"em","inline":true,"attributes":{"marker":"*"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Organization Owner"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" role, and that you have determined your "},"children":[]},{"$$mdtype":"Node","type":"em","inline":true,"attributes":{"marker":"*"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"source"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" and "},"children":[]},{"$$mdtype":"Node","type":"em","inline":true,"attributes":{"marker":"*"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"destination"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"#section/base-url"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"base URLs"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" and created a "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"#section/authorization"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"JWT"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" for each environment."},"children":[]}]}]}]}],"sectionId":"/sai/content-transfer-api/section/migrating-content"},{"nodeType":"overview-section-wrapper","children":[{"nodeType":"overview-section-wrapper","children":[{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"heading","attributes":{"level":2,"id":"section/migrating-content/create-the-transfer"},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Create the transfer"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"In your "},"children":[]},{"$$mdtype":"Node","type":"em","inline":true,"attributes":{"marker":"*"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"source"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" environment, "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"#operation/ContentTransfer_CreateContentTransfer"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"create a content transfer operation"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" using a unique transfer ID of your choice. For each item you want to transfer, specify the item path, whether to include descendants, and how to handle conflicts with existing items in the destination. Depending on how much data is being transferred, the operation creates one or more chunk sets."},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Ensure that the item's parent chain already exists in the destination environment with the same item IDs. If it does not, the item will transfer successfully but will not appear in the content tree. To avoid this, transfer from a common ancestor using "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"Scope: ItemAndDescendants"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", or transfer the parent items first."},"children":[]}]}]}]}],"sectionId":"/sai/content-transfer-api/section/migrating-content/create-the-transfer"}],"sectionId":"/sai/content-transfer-api/section/migrating-content/create-the-transfer"},{"nodeType":"overview-section-wrapper","children":[{"nodeType":"overview-section-wrapper","children":[{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"heading","attributes":{"level":2,"id":"section/migrating-content/wait-for-the-transfer-to-be-ready"},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Wait for the transfer to be ready"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"#operation/ContentTransfer_GetContentTransferStatus"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Poll the operation details"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" in your "},"children":[]},{"$$mdtype":"Node","type":"em","inline":true,"attributes":{"marker":"*"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"source"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" environment until "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"State"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" is "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"Completed"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". If "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"State"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" is "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"Failed"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", create a new transfer operation. For each chunk set in the response, record the "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"ChunkSetId"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" and "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"ChunkCount"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" because you'll need them to retrieve and save the chunks."},"children":[]}]}]}]}],"sectionId":"/sai/content-transfer-api/section/migrating-content/wait-for-the-transfer-to-be-ready"}],"sectionId":"/sai/content-transfer-api/section/migrating-content/wait-for-the-transfer-to-be-ready"},{"nodeType":"overview-section-wrapper","children":[{"nodeType":"overview-section-wrapper","children":[{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"heading","attributes":{"level":2,"id":"section/migrating-content/transfer-chunks"},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Transfer chunks"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"For each chunk set, repeat the following for every chunk in the set:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":true,"marker":"."},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"In your "},"children":[]},{"$$mdtype":"Node","type":"em","inline":true,"attributes":{"marker":"*"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"source"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" environment, "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"#operation/ContentTransfer_GetChunkAsync"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"retrieve the chunk"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Make one request per chunk, using "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"chunkId"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" values "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"0"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" through "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"ChunkCount - 1"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Note the "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"IsMedia"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" value from the "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"Content-Disposition"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" response header because you'll need it when saving the chunk. You can retrieve multiple chunks in parallel."},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"In your "},"children":[]},{"$$mdtype":"Node","type":"em","inline":true,"attributes":{"marker":"*"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"destination"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" environment, "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"#operation/ContentTransfer_SaveChunkAsync"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"save the chunk"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", forwarding the binary stream exactly as received without modification. You can save chunks in parallel with retrieval, but every chunk must be saved before completing the chunk set."},"children":[]}]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"After all chunks in a set are saved, "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"#operation/ContentTransfer_CompleteChunkSetAsync"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"complete the chunk set"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" in your "},"children":[]},{"$$mdtype":"Node","type":"em","inline":true,"attributes":{"marker":"*"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"destination"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" environment. This generates a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":".raif"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" file and returns its name. Record the name for use in the Item Transfer API. Repeat for every chunk set in the operation."},"children":[]}]}]}]}],"sectionId":"/sai/content-transfer-api/section/migrating-content/transfer-chunks"}],"sectionId":"/sai/content-transfer-api/section/migrating-content/transfer-chunks"},{"nodeType":"overview-section-wrapper","children":[{"nodeType":"overview-section-wrapper","children":[{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"heading","attributes":{"level":2,"id":"section/migrating-content/delete-the-transfer"},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Delete the transfer"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"#operation/ContentTransfer_DeleteContentTransfer"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Delete the transfer operation"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" from your "},"children":[]},{"$$mdtype":"Node","type":"em","inline":true,"attributes":{"marker":"*"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"source"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" environment to clean up all associated resources. You can do this immediately after downloading all chunks from the "},"children":[]},{"$$mdtype":"Node","type":"em","inline":true,"attributes":{"marker":"*"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"source"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" environment."},"children":[]}]}]}]}],"sectionId":"/sai/content-transfer-api/section/migrating-content/delete-the-transfer"}],"sectionId":"/sai/content-transfer-api/section/migrating-content/delete-the-transfer"},{"nodeType":"overview-section-wrapper","children":[{"nodeType":"overview-section-wrapper","children":[{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"heading","attributes":{"level":2,"id":"section/migrating-content/next-steps"},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Next steps"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Proceed to the "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"https://api-docs.sitecore.com/sai/item-transfer"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Item Transfer API"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" to incorporate the "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":".raif"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" files into the destination database."},"children":[]}]}]}]}],"sectionId":"/sai/content-transfer-api/section/migrating-content/next-steps"}],"sectionId":"/sai/content-transfer-api/section/migrating-content/next-steps"},{"nodeType":"overview-section-wrapper","children":[{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"heading","attributes":{"level":1,"id":"section/base-url"},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Base URL"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"In the base URL, replace "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"{host}"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" with your environment host name. You need two base URLs: one for your "},"children":[]},{"$$mdtype":"Node","type":"em","inline":true,"attributes":{"marker":"*"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"source"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" environment (where you're migrating data from) and one for your "},"children":[]},{"$$mdtype":"Node","type":"em","inline":true,"attributes":{"marker":"*"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"destination"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" environment (where you're migrating data to). You will switch between them as you follow the migration workflow."},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Find the environment host name in SitecoreAI Deploy > "},"children":[]},{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Projects"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" > your project > "},"children":[]},{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Authoring environments"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" > your environment > "},"children":[]},{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Details"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" > "},"children":[]},{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Environment host name"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Example environment host name: "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"your-environment.sitecorecloud.io"},"children":[]}]}]}]}],"sectionId":"/sai/content-transfer-api/section/base-url"},{"nodeType":"overview-section-wrapper","children":[{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"heading","attributes":{"level":1,"id":"section/authorization"},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Authorization"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"To authorize your requests, use environment automation client credentials and generate a JSON Web Token (JWT)."},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Note: To create client credentials, you must be an "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"https://doc.sitecore.com/portal/en/developers/sitecore-cloud-portal/roles.html"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Organization Admin or Organization Owner"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}]}],"sectionId":"/sai/content-transfer-api/section/authorization"},{"nodeType":"overview-section-wrapper","children":[{"nodeType":"overview-section-wrapper","children":[{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"heading","attributes":{"level":2,"id":"section/authorization/create-an-automation-client"},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Create an automation client"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":true,"marker":"."},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"In the Sitecore Cloud Portal, open SitecoreAI Deploy."},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Click "},"children":[]},{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Credentials"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" > "},"children":[]},{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Environment"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" > "},"children":[]},{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Create credentials"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" > "},"children":[]},{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Automation"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Fill out the automation client details, then click "},"children":[]},{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Create"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Copy the client ID and the client secret because you won't be able to view them again in SitecoreAI Deploy. You'll use them to request a JWT."},"children":[]}]}]}]}]}],"sectionId":"/sai/content-transfer-api/section/authorization/create-an-automation-client"}],"sectionId":"/sai/content-transfer-api/section/authorization/create-an-automation-client"},{"nodeType":"overview-section-wrapper","children":[{"nodeType":"overview-section-wrapper","children":[{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"heading","attributes":{"level":2,"id":"section/authorization/request-a-jwt"},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Request a JWT"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Run the following cURL command to request a JWT. Replace the placeholder values with your client ID and client secret."},"children":[]}]}]},{"$$mdtype":"Node","type":"fence","attributes":{"content":"  curl -X POST 'https://auth.sitecorecloud.io/oauth/token' \\\n  --header 'Content-Type: application/x-www-form-urlencoded' \\\n  --data-urlencode 'client_id={YOUR_CLIENT_ID}' \\\n  --data-urlencode 'client_secret={YOUR_CLIENT_SECRET}' \\\n  --data-urlencode 'grant_type=client_credentials' \\\n  --data-urlencode 'audience=https://api.sitecorecloud.io'\n","language":"curl"},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"  curl -X POST 'https://auth.sitecorecloud.io/oauth/token' \\\n  --header 'Content-Type: application/x-www-form-urlencoded' \\\n  --data-urlencode 'client_id={YOUR_CLIENT_ID}' \\\n  --data-urlencode 'client_secret={YOUR_CLIENT_SECRET}' \\\n  --data-urlencode 'grant_type=client_credentials' \\\n  --data-urlencode 'audience=https://api.sitecorecloud.io'\n"},"children":[]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The JWT expires in 24 hours. If your requests unexpectedly return a response with status "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"403 Forbidden"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", request a new JWT by repeating this "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"POST"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request."},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"We recommend that you cache the JWT for 24 hours to avoid repeating this "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"POST"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request while the JWT is still valid."},"children":[]}]}]}]}],"sectionId":"/sai/content-transfer-api/section/authorization/request-a-jwt"}],"sectionId":"/sai/content-transfer-api/section/authorization/request-a-jwt"},{"nodeType":"overview-section-wrapper","children":[{"nodeType":"overview-section-wrapper","children":[{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"heading","attributes":{"level":2,"id":"section/authorization/include-the-jwt-in-the-request-header"},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Include the JWT in the request header"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"You can now start making REST API requests. You must include the JWT in the request header of every request. For example:"},"children":[]}]}]},{"$$mdtype":"Node","type":"fence","attributes":{"content":"  curl -X GET '{YOUR_BASE_URL}/...' \\\n  -H 'Authorization: Bearer {YOUR_JWT}' \\\n  -H 'Accept: application/json'\n","language":"curl"},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"  curl -X GET '{YOUR_BASE_URL}/...' \\\n  -H 'Authorization: Bearer {YOUR_JWT}' \\\n  -H 'Accept: application/json'\n"},"children":[]}]}]}],"sectionId":"/sai/content-transfer-api/section/authorization/include-the-jwt-in-the-request-header"}],"sectionId":"/sai/content-transfer-api/section/authorization/include-the-jwt-in-the-request-header"}]}]}},{"type":"group","label":"Migrating content","link":"/sai/content-transfer-api/section/migrating-content","routeSlug":"/sai/content-transfer-api/section/migrating-content","items":[{"type":"link","label":"Create the transfer","link":"/sai/content-transfer-api/section/migrating-content/create-the-transfer","routeSlug":"/sai/content-transfer-api/section/migrating-content/create-the-transfer","content":null},{"type":"link","label":"Wait for the transfer to be ready","link":"/sai/content-transfer-api/section/migrating-content/wait-for-the-transfer-to-be-ready","routeSlug":"/sai/content-transfer-api/section/migrating-content/wait-for-the-transfer-to-be-ready","content":null},{"type":"link","label":"Transfer chunks","link":"/sai/content-transfer-api/section/migrating-content/transfer-chunks","routeSlug":"/sai/content-transfer-api/section/migrating-content/transfer-chunks","content":null},{"type":"link","label":"Delete the transfer","link":"/sai/content-transfer-api/section/migrating-content/delete-the-transfer","routeSlug":"/sai/content-transfer-api/section/migrating-content/delete-the-transfer","content":null},{"type":"link","label":"Next steps","link":"/sai/content-transfer-api/section/migrating-content/next-steps","routeSlug":"/sai/content-transfer-api/section/migrating-content/next-steps","content":null}],"content":null},{"type":"link","label":"Base URL","link":"/sai/content-transfer-api/section/base-url","routeSlug":"/sai/content-transfer-api/section/base-url","content":null},{"type":"group","label":"Authorization","link":"/sai/content-transfer-api/section/authorization","routeSlug":"/sai/content-transfer-api/section/authorization","items":[{"type":"link","label":"Create an automation client","link":"/sai/content-transfer-api/section/authorization/create-an-automation-client","routeSlug":"/sai/content-transfer-api/section/authorization/create-an-automation-client","content":null},{"type":"link","label":"Request a JWT","link":"/sai/content-transfer-api/section/authorization/request-a-jwt","routeSlug":"/sai/content-transfer-api/section/authorization/request-a-jwt","content":null},{"type":"link","label":"Include the JWT in the request header","link":"/sai/content-transfer-api/section/authorization/include-the-jwt-in-the-request-header","routeSlug":"/sai/content-transfer-api/section/authorization/include-the-jwt-in-the-request-header","content":null}],"content":null},{"type":"group","label":"Content transfer","link":"/sai/content-transfer-api/content-transfer","routeSlug":"/sai/content-transfer-api/content-transfer","items":[{"label":"Create a content transfer operation","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/sai/content-transfer-api/content-transfer/contenttransfer_createcontenttransfer","routeSlug":"/sai/content-transfer-api/content-transfer/contenttransfer_createcontenttransfer","metadata":{"seo":{"title":"Create a content transfer operation","description":"Creates a new operation to transfer one or more specified items from your source environment. You must specify a unique ID of your choice for the transfer, which you'll use later in the transfer workflow."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"ContentTransfer_CreateContentTransfer","name":"Create a content transfer operation","isWebhook":false,"pointer":"/paths/~1sitecore~1api~1content~1transfer~1v1~1transfers/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Create a content transfer operation","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Creates a new operation to transfer one or more specified items from your "},"children":[]},{"$$mdtype":"Node","type":"em","inline":true,"attributes":{"marker":"*"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"source"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" environment. You must specify a unique ID of your choice for the transfer, which you'll use later in the transfer workflow."},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Make this request in your "},"children":[]},{"$$mdtype":"Node","type":"em","inline":true,"attributes":{"marker":"*"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"source"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" environment."},"children":[]}]}]},{"$$mdtype":"Node","type":"tag","tag":"admonition","attributes":{"type":"warning","name":"Warning"},"children":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"If you reuse a previous transfer ID, the transfer operation associated with that ID will be overwritten (if it was not previously deleted using this API)."},"children":[]}]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"By default, a transfer will only include single items based on the paths you specify, and it will replace any duplicate items found in the destination environment. You can override these settings to include descendants or choose a different merge strategy as needed."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT"}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded","text/html"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/CreateContentTransferRequest"},"text/json":{"schemaId":"components/schemas/CreateContentTransferRequest"},"application/xml":{"schemaId":"components/schemas/CreateContentTransferRequest"},"text/xml":{"schemaId":"components/schemas/CreateContentTransferRequest"},"application/x-www-form-urlencoded":{"schemaId":"components/schemas/CreateContentTransferRequest"},"text/html":{"schemaId":"components/schemas/CreateContentTransferRequest"}},"schemaId":"components/schemas/CreateContentTransferRequest","pointer":"/paths/~1sitecore~1api~1content~1transfer~1v1~1transfers/post/requestBody","description":"The request body containing your transfer configuration and a unique transfer ID."}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/sitecore/api/content/transfer/v1/transfers","servers":[{"url":"https://{host}","variables":{"host":{"default":"your-environment.sitecorecloud.io"}}}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/CreateContentTransferRequest"},"text/json":{"schemaId":"components/schemas/CreateContentTransferRequest"},"application/xml":{"schemaId":"components/schemas/CreateContentTransferRequest"},"text/xml":{"schemaId":"components/schemas/CreateContentTransferRequest"},"application/x-www-form-urlencoded":{"schemaId":"components/schemas/CreateContentTransferRequest"},"text/html":{"schemaId":"components/schemas/CreateContentTransferRequest"}},"responseCodes":["202","400","401","403"],"pointer":"/sitecore/api/content/transfer/v1/transfers","href":"content-transfer/contenttransfer_createcontenttransfer","openApiOperationId":"ContentTransfer_CreateContentTransfer","summary":"Create a content transfer operation"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{host}","variables":{"host":{"default":"your-environment.sitecorecloud.io"}}}],"schemaId":"components/schemas/CreateContentTransferRequest","mediaTypes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded","text/html"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/CreateContentTransferRequest"},"text/json":{"schemaId":"components/schemas/CreateContentTransferRequest"},"application/xml":{"schemaId":"components/schemas/CreateContentTransferRequest"},"text/xml":{"schemaId":"components/schemas/CreateContentTransferRequest"},"application/x-www-form-urlencoded":{"schemaId":"components/schemas/CreateContentTransferRequest"},"text/html":{"schemaId":"components/schemas/CreateContentTransferRequest"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"202","description":"Content transfer creation was initiated successfully."},{"code":"400","description":"Invalid request data or validation failed.","mediaType":"application/json","mediaTypes":["application/json","text/json","application/xml","text/xml","text/html"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1sitecore~1api~1content~1transfer~1v1~1transfers/post/responses/400/content/application~1json/example"]},"text/json":{"schemaId":"components/schemas/ErrorResponse"},"application/xml":{"schemaId":"components/schemas/ErrorResponse"},"text/xml":{"schemaId":"components/schemas/ErrorResponse"},"text/html":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1sitecore~1api~1content~1transfer~1v1~1transfers/post/responses/400/content/application~1json/example"]},{"code":"401","description":"Unauthorized.","mediaType":"application/json","mediaTypes":["application/json","text/json","application/xml","text/xml","text/html"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"},"text/json":{"schemaId":"components/schemas/ErrorResponse"},"application/xml":{"schemaId":"components/schemas/ErrorResponse"},"text/xml":{"schemaId":"components/schemas/ErrorResponse"},"text/html":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"},{"code":"403","description":"Forbidden.","mediaType":"application/json","mediaTypes":["application/json","text/json","application/xml","text/xml","text/html"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"},"text/json":{"schemaId":"components/schemas/ErrorResponse"},"application/xml":{"schemaId":"components/schemas/ErrorResponse"},"text/xml":{"schemaId":"components/schemas/ErrorResponse"},"text/html":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"}],"pointer":"/paths/~1sitecore~1api~1content~1transfer~1v1~1transfers/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"202"},{"code":"400","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1sitecore~1api~1content~1transfer~1v1~1transfers/post/responses/400/content/application~1json/example"],"mediaTypes":["application/json","text/json","application/xml","text/xml","text/html"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1sitecore~1api~1content~1transfer~1v1~1transfers/post/responses/400/content/application~1json/example"]},"text/json":{"schemaId":"components/schemas/ErrorResponse"},"application/xml":{"schemaId":"components/schemas/ErrorResponse"},"text/xml":{"schemaId":"components/schemas/ErrorResponse"},"text/html":{"schemaId":"components/schemas/ErrorResponse"}}},{"code":"401","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json","text/json","application/xml","text/xml","text/html"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"},"text/json":{"schemaId":"components/schemas/ErrorResponse"},"application/xml":{"schemaId":"components/schemas/ErrorResponse"},"text/xml":{"schemaId":"components/schemas/ErrorResponse"},"text/html":{"schemaId":"components/schemas/ErrorResponse"}}},{"code":"403","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json","text/json","application/xml","text/xml","text/html"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"},"text/json":{"schemaId":"components/schemas/ErrorResponse"},"application/xml":{"schemaId":"components/schemas/ErrorResponse"},"text/xml":{"schemaId":"components/schemas/ErrorResponse"},"text/html":{"schemaId":"components/schemas/ErrorResponse"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/content-transfer/contenttransfer_createcontenttransfer"}],"panels":[]}]},"httpPath":"/sitecore/api/content/transfer/v1/transfers"},{"label":"Retrieve details of a content transfer operation","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/sai/content-transfer-api/content-transfer/contenttransfer_getcontenttransferstatus","routeSlug":"/sai/content-transfer-api/content-transfer/contenttransfer_getcontenttransferstatus","metadata":{"seo":{"title":"Retrieve details of a content transfer operation","description":"Retrieves information about a specific content transfer operation, including its current status and a list of the chunk sets included."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"ContentTransfer_GetContentTransferStatus","name":"Retrieve details of a content transfer operation","isWebhook":false,"pointer":"/paths/~1sitecore~1api~1content~1transfer~1v1~1transfers~1{transferId}~1status/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Retrieve details of a content transfer operation","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Retrieves information about a specific content transfer operation, including its current status and a list of the chunk sets included."},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Make this request in your "},"children":[]},{"$$mdtype":"Node","type":"em","inline":true,"attributes":{"marker":"*"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"source"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" environment."},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"For each chunk set in the specified operation, the response contains:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"ChunkSetId"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": the unique identifier of the chunk set, used as a path parameter in subsequent requests."},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"ChunkCount"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": the number of chunks in the set. Make one "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"#operation/ContentTransfer_GetChunkAsync"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Retrieve a specific chunk of transfer data"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request and one "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"#operation/ContentTransfer_SaveChunkAsync"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Save a data chunk to the destination environment"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request per chunk, using "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"chunkId"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" values "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"0"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" through "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"ChunkCount - 1"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"TotalItemCount"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": the total number of content and media items in the chunk set."},"children":[]}]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"transferId","in":"path","schemaId":"schema_1323","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The unique identifier of the transfer operation. This is the UUID you provided when you "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"#operation/ContentTransfer_CreateContentTransfer"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"created a content transfer operation"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}],"required":true}],"pointer":"/paths/~1sitecore~1api~1content~1transfer~1v1~1transfers~1{transferId}~1status/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/sitecore/api/content/transfer/v1/transfers/{transferId}/status","servers":[{"url":"https://{host}","variables":{"host":{"default":"your-environment.sitecorecloud.io"}}}],"parameters":{"path":[{"name":"transferId","in":"path","required":true,"schemaId":"schema_1323"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]}],"responseCodes":["200","401","403","404"],"pointer":"/sitecore/api/content/transfer/v1/transfers/{transferId}/status","href":"content-transfer/contenttransfer_getcontenttransferstatus","openApiOperationId":"ContentTransfer_GetContentTransferStatus","summary":"Retrieve details of a content transfer operation"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{host}","variables":{"host":{"default":"your-environment.sitecorecloud.io"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Returns the transfer status successfully","mediaType":"application/json","mediaTypes":["application/json","text/json","application/xml","text/xml","text/html"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ContentTransferCreationStatusResponse","exampleIds":["paths/~1sitecore~1api~1content~1transfer~1v1~1transfers~1{transferId}~1status/get/responses/200/content/application~1json/example"]},"text/json":{"schemaId":"components/schemas/ContentTransferCreationStatusResponse"},"application/xml":{"schemaId":"components/schemas/ContentTransferCreationStatusResponse"},"text/xml":{"schemaId":"components/schemas/ContentTransferCreationStatusResponse"},"text/html":{"schemaId":"components/schemas/ContentTransferCreationStatusResponse"}},"schemaId":"components/schemas/ContentTransferCreationStatusResponse","exampleIds":["paths/~1sitecore~1api~1content~1transfer~1v1~1transfers~1{transferId}~1status/get/responses/200/content/application~1json/example"]},{"code":"401","description":"Unauthorized.","mediaType":"application/json","mediaTypes":["application/json","text/json","application/xml","text/xml","text/html"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"},"text/json":{"schemaId":"components/schemas/ErrorResponse"},"application/xml":{"schemaId":"components/schemas/ErrorResponse"},"text/xml":{"schemaId":"components/schemas/ErrorResponse"},"text/html":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"},{"code":"403","description":"Forbidden.","mediaType":"application/json","mediaTypes":["application/json","text/json","application/xml","text/xml","text/html"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"},"text/json":{"schemaId":"components/schemas/ErrorResponse"},"application/xml":{"schemaId":"components/schemas/ErrorResponse"},"text/xml":{"schemaId":"components/schemas/ErrorResponse"},"text/html":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"},{"code":"404","description":"Transfer with the specified ID was not found.","mediaType":"application/json","mediaTypes":["application/json","text/json","application/xml","text/xml","text/html"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1sitecore~1api~1content~1transfer~1v1~1transfers~1{transferId}~1status/get/responses/404/content/application~1json/example"]},"text/json":{"schemaId":"components/schemas/ErrorResponse"},"application/xml":{"schemaId":"components/schemas/ErrorResponse"},"text/xml":{"schemaId":"components/schemas/ErrorResponse"},"text/html":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1sitecore~1api~1content~1transfer~1v1~1transfers~1{transferId}~1status/get/responses/404/content/application~1json/example"]}],"pointer":"/paths/~1sitecore~1api~1content~1transfer~1v1~1transfers~1{transferId}~1status/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/ContentTransferCreationStatusResponse","exampleIds":["paths/~1sitecore~1api~1content~1transfer~1v1~1transfers~1{transferId}~1status/get/responses/200/content/application~1json/example"],"mediaTypes":["application/json","text/json","application/xml","text/xml","text/html"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ContentTransferCreationStatusResponse","exampleIds":["paths/~1sitecore~1api~1content~1transfer~1v1~1transfers~1{transferId}~1status/get/responses/200/content/application~1json/example"]},"text/json":{"schemaId":"components/schemas/ContentTransferCreationStatusResponse"},"application/xml":{"schemaId":"components/schemas/ContentTransferCreationStatusResponse"},"text/xml":{"schemaId":"components/schemas/ContentTransferCreationStatusResponse"},"text/html":{"schemaId":"components/schemas/ContentTransferCreationStatusResponse"}}},{"code":"401","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json","text/json","application/xml","text/xml","text/html"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"},"text/json":{"schemaId":"components/schemas/ErrorResponse"},"application/xml":{"schemaId":"components/schemas/ErrorResponse"},"text/xml":{"schemaId":"components/schemas/ErrorResponse"},"text/html":{"schemaId":"components/schemas/ErrorResponse"}}},{"code":"403","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json","text/json","application/xml","text/xml","text/html"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"},"text/json":{"schemaId":"components/schemas/ErrorResponse"},"application/xml":{"schemaId":"components/schemas/ErrorResponse"},"text/xml":{"schemaId":"components/schemas/ErrorResponse"},"text/html":{"schemaId":"components/schemas/ErrorResponse"}}},{"code":"404","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1sitecore~1api~1content~1transfer~1v1~1transfers~1{transferId}~1status/get/responses/404/content/application~1json/example"],"mediaTypes":["application/json","text/json","application/xml","text/xml","text/html"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1sitecore~1api~1content~1transfer~1v1~1transfers~1{transferId}~1status/get/responses/404/content/application~1json/example"]},"text/json":{"schemaId":"components/schemas/ErrorResponse"},"application/xml":{"schemaId":"components/schemas/ErrorResponse"},"text/xml":{"schemaId":"components/schemas/ErrorResponse"},"text/html":{"schemaId":"components/schemas/ErrorResponse"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/content-transfer/contenttransfer_getcontenttransferstatus"}],"panels":[]}]},"httpPath":"/sitecore/api/content/transfer/v1/transfers/{transferId}/status"},{"label":"Retrieve a specific chunk of transfer data","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/sai/content-transfer-api/content-transfer/contenttransfer_getchunkasync","routeSlug":"/sai/content-transfer-api/content-transfer/contenttransfer_getchunkasync","metadata":{"seo":{"title":"Retrieve a specific chunk of transfer data","description":"Use this endpoint to retrieve the binary data for a single chunk. Make one request per chunk per chunk set, using chunkId values 0 through ChunkCount - 1 (where ChunkCount is obtained from the Retrieve details of a content transfer operation response)."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"ContentTransfer_GetChunkAsync","name":"Retrieve a specific chunk of transfer data","isWebhook":false,"pointer":"/paths/~1sitecore~1api~1content~1transfer~1v1~1transfers~1{transferId}~1chunksets~1{chunksetId}~1chunks~1{chunkId}/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Retrieve a specific chunk of transfer data","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Use this endpoint to retrieve the binary data for a single chunk. Make one request per chunk per chunk set, using "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"chunkId"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" values "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"0"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" through "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"ChunkCount - 1"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" (where "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"ChunkCount"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" is obtained from the "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"#operation/ContentTransfer_GetContentTransferStatus"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Retrieve details of a content transfer operation"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" response)."},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Make this request in your "},"children":[]},{"$$mdtype":"Node","type":"em","inline":true,"attributes":{"marker":"*"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"source"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" environment."},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The response body contains a binary stream of serialized item data. The first chunk in a given set also includes a header. Every chunk you retrieve must also be saved to the "},"children":[]},{"$$mdtype":"Node","type":"em","inline":true,"attributes":{"marker":"*"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"destination"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" environment using the "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"#operation/ContentTransfer_SaveChunkAsync"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Save a data chunk to the destination environment"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" endpoint. You can retrieve and save chunks in parallel, but all chunks in a set must be saved before you can "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"#operation/ContentTransfer_CompleteChunkSetAsync"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"complete that chunk set"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Depending on whether the chunk represents a media item or a content item, the data will either be compressed or encrypted, and the returned value of "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"IsMedia"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" will either be "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"true"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" or "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"false"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":":"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Media data ("},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"IsMedia"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" = "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"true"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":") is compressed."},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Content data ("},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"IsMedia"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" = "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"false"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":") is encrypted."},"children":[]}]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Content description metadata is exposed via Content-Disposition header parameters:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"ItemsProcessed"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": number of successfully processed items written into the stream"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"ItemsSkipped"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": number of items in the chunk that were skipped (failed / filtered)"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"IsMedia"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": indicates whether the returned payload was compressed ("},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"true"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":") or encrypted ("},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"false"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":")."},"children":[]}]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"transferId","in":"path","schemaId":"schema_1323","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The unique identifier of the transfer operation. This is the UUID you provided when you "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"#operation/ContentTransfer_CreateContentTransfer"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"created a content transfer operation"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}],"required":true},{"name":"chunksetId","in":"path","schemaId":"schema_1323","description":"The unique identifier of the chunk set that contains the chunk to be transferred. If you don't know this value, first retrieve details of a content transfer operation.","required":true},{"name":"chunkId","in":"path","schemaId":"schema_1324","description":"The identifier of the chunk to be transferred. The first chunk in the set is 0.","required":true}],"pointer":"/paths/~1sitecore~1api~1content~1transfer~1v1~1transfers~1{transferId}~1chunksets~1{chunksetId}~1chunks~1{chunkId}/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/sitecore/api/content/transfer/v1/transfers/{transferId}/chunksets/{chunksetId}/chunks/{chunkId}","servers":[{"url":"https://{host}","variables":{"host":{"default":"your-environment.sitecorecloud.io"}}}],"parameters":{"path":[{"name":"transferId","in":"path","required":true,"schemaId":"schema_1323"},{"name":"chunksetId","in":"path","required":true,"schemaId":"schema_1323"},{"name":"chunkId","in":"path","required":true,"example":0,"schemaId":"schema_1324"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]}],"responseCodes":["200","400","401","403","404"],"pointer":"/sitecore/api/content/transfer/v1/transfers/{transferId}/chunksets/{chunksetId}/chunks/{chunkId}","href":"content-transfer/contenttransfer_getchunkasync","openApiOperationId":"ContentTransfer_GetChunkAsync","summary":"Retrieve a specific chunk of transfer data"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{host}","variables":{"host":{"default":"your-environment.sitecorecloud.io"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Returns the chunk data as a binary stream.","mediaType":"application/json","mediaTypes":["application/json","text/json","application/xml","text/xml","text/html"],"mediaTypeContent":{"application/json":{"schemaId":"schema_1325","exampleIds":["paths/~1sitecore~1api~1content~1transfer~1v1~1transfers~1{transferId}~1chunksets~1{chunksetId}~1chunks~1{chunkId}/get/responses/200/content/application~1json/example"]},"text/json":{"schemaId":"schema_1325"},"application/xml":{"schemaId":"schema_1325"},"text/xml":{"schemaId":"schema_1325"},"text/html":{"schemaId":"schema_1325"}},"schemaId":"schema_1325","exampleIds":["paths/~1sitecore~1api~1content~1transfer~1v1~1transfers~1{transferId}~1chunksets~1{chunksetId}~1chunks~1{chunkId}/get/responses/200/content/application~1json/example"]},{"code":"400","description":"Invalid chunk ID, chunk set ID, or no processed items in the chunk.","mediaType":"application/json","mediaTypes":["application/json","text/json","application/xml","text/xml","text/html"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1sitecore~1api~1content~1transfer~1v1~1transfers~1{transferId}~1chunksets~1{chunksetId}~1chunks~1{chunkId}/get/responses/400/content/application~1json/example"]},"text/json":{"schemaId":"components/schemas/ErrorResponse"},"application/xml":{"schemaId":"components/schemas/ErrorResponse"},"text/xml":{"schemaId":"components/schemas/ErrorResponse"},"text/html":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1sitecore~1api~1content~1transfer~1v1~1transfers~1{transferId}~1chunksets~1{chunksetId}~1chunks~1{chunkId}/get/responses/400/content/application~1json/example"]},{"code":"401","description":"Unauthorized.","mediaType":"application/json","mediaTypes":["application/json","text/json","application/xml","text/xml","text/html"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"},"text/json":{"schemaId":"components/schemas/ErrorResponse"},"application/xml":{"schemaId":"components/schemas/ErrorResponse"},"text/xml":{"schemaId":"components/schemas/ErrorResponse"},"text/html":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"},{"code":"403","description":"Forbidden.","mediaType":"application/json","mediaTypes":["application/json","text/json","application/xml","text/xml","text/html"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"},"text/json":{"schemaId":"components/schemas/ErrorResponse"},"application/xml":{"schemaId":"components/schemas/ErrorResponse"},"text/xml":{"schemaId":"components/schemas/ErrorResponse"},"text/html":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"},{"code":"404","description":"Chunk set or chunk not found.","mediaType":"application/json","mediaTypes":["application/json","text/json","application/xml","text/xml","text/html"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1sitecore~1api~1content~1transfer~1v1~1transfers~1{transferId}~1chunksets~1{chunksetId}~1chunks~1{chunkId}/get/responses/404/content/application~1json/example"]},"text/json":{"schemaId":"components/schemas/ErrorResponse"},"application/xml":{"schemaId":"components/schemas/ErrorResponse"},"text/xml":{"schemaId":"components/schemas/ErrorResponse"},"text/html":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1sitecore~1api~1content~1transfer~1v1~1transfers~1{transferId}~1chunksets~1{chunksetId}~1chunks~1{chunkId}/get/responses/404/content/application~1json/example"]}],"pointer":"/paths/~1sitecore~1api~1content~1transfer~1v1~1transfers~1{transferId}~1chunksets~1{chunksetId}~1chunks~1{chunkId}/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_1325","exampleIds":["paths/~1sitecore~1api~1content~1transfer~1v1~1transfers~1{transferId}~1chunksets~1{chunksetId}~1chunks~1{chunkId}/get/responses/200/content/application~1json/example"],"mediaTypes":["application/json","text/json","application/xml","text/xml","text/html"],"mediaTypeContent":{"application/json":{"schemaId":"schema_1325","exampleIds":["paths/~1sitecore~1api~1content~1transfer~1v1~1transfers~1{transferId}~1chunksets~1{chunksetId}~1chunks~1{chunkId}/get/responses/200/content/application~1json/example"]},"text/json":{"schemaId":"schema_1325"},"application/xml":{"schemaId":"schema_1325"},"text/xml":{"schemaId":"schema_1325"},"text/html":{"schemaId":"schema_1325"}}},{"code":"400","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1sitecore~1api~1content~1transfer~1v1~1transfers~1{transferId}~1chunksets~1{chunksetId}~1chunks~1{chunkId}/get/responses/400/content/application~1json/example"],"mediaTypes":["application/json","text/json","application/xml","text/xml","text/html"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1sitecore~1api~1content~1transfer~1v1~1transfers~1{transferId}~1chunksets~1{chunksetId}~1chunks~1{chunkId}/get/responses/400/content/application~1json/example"]},"text/json":{"schemaId":"components/schemas/ErrorResponse"},"application/xml":{"schemaId":"components/schemas/ErrorResponse"},"text/xml":{"schemaId":"components/schemas/ErrorResponse"},"text/html":{"schemaId":"components/schemas/ErrorResponse"}}},{"code":"401","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json","text/json","application/xml","text/xml","text/html"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"},"text/json":{"schemaId":"components/schemas/ErrorResponse"},"application/xml":{"schemaId":"components/schemas/ErrorResponse"},"text/xml":{"schemaId":"components/schemas/ErrorResponse"},"text/html":{"schemaId":"components/schemas/ErrorResponse"}}},{"code":"403","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json","text/json","application/xml","text/xml","text/html"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"},"text/json":{"schemaId":"components/schemas/ErrorResponse"},"application/xml":{"schemaId":"components/schemas/ErrorResponse"},"text/xml":{"schemaId":"components/schemas/ErrorResponse"},"text/html":{"schemaId":"components/schemas/ErrorResponse"}}},{"code":"404","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1sitecore~1api~1content~1transfer~1v1~1transfers~1{transferId}~1chunksets~1{chunksetId}~1chunks~1{chunkId}/get/responses/404/content/application~1json/example"],"mediaTypes":["application/json","text/json","application/xml","text/xml","text/html"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1sitecore~1api~1content~1transfer~1v1~1transfers~1{transferId}~1chunksets~1{chunksetId}~1chunks~1{chunkId}/get/responses/404/content/application~1json/example"]},"text/json":{"schemaId":"components/schemas/ErrorResponse"},"application/xml":{"schemaId":"components/schemas/ErrorResponse"},"text/xml":{"schemaId":"components/schemas/ErrorResponse"},"text/html":{"schemaId":"components/schemas/ErrorResponse"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/content-transfer/contenttransfer_getchunkasync"}],"panels":[]}]},"httpPath":"/sitecore/api/content/transfer/v1/transfers/{transferId}/chunksets/{chunksetId}/chunks/{chunkId}"},{"label":"Save a data chunk to the destination environment","deprecated":false,"httpVerb":"put","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/sai/content-transfer-api/content-transfer/contenttransfer_savechunkasync","routeSlug":"/sai/content-transfer-api/content-transfer/contenttransfer_savechunkasync","metadata":{"seo":{"title":"Save a data chunk to the destination environment","description":"For each chunk of content in a set within a transfer operation, use this endpoint to copy the chunk to the destination environment after using the corresponding Retrieve a specific chunk of transfer data endpoint, where you obtained a binary stream representing the chunk data."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"ContentTransfer_SaveChunkAsync","name":"Save a data chunk to the destination environment","isWebhook":false,"pointer":"/paths/~1sitecore~1api~1content~1transfer~1v1~1transfers~1{transferId}~1chunksets~1{chunksetId}~1chunks~1{chunkId}/put","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Save a data chunk to the destination environment","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"For each chunk of content in a set within a transfer operation, use this endpoint to copy the chunk to the "},"children":[]},{"$$mdtype":"Node","type":"em","inline":true,"attributes":{"marker":"*"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"destination"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" environment after using the corresponding "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"#operation/ContentTransfer_GetChunkAsync"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Retrieve a specific chunk of transfer data"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" endpoint, where you obtained a binary stream representing the chunk data."},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Make this request in your "},"children":[]},{"$$mdtype":"Node","type":"em","inline":true,"attributes":{"marker":"*"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"destination"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" environment."},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Set the request header "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"Content-Type: application/octet-stream"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]},{"$$mdtype":"Node","type":"tag","tag":"admonition","attributes":{"type":"important","name":"Important"},"children":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The request body for this endpoint must be the raw binary stream obtained from the response of the paired endpoint."},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Do not alter, wrap, re-encode or chunk the stream; forward it exactly as received:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"For media chunks, the client must send the compressed bytes as-is, with no decompression."},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"For content (non-media) chunks, the client must send the encrypted bytes as-is, with no decryption."},"children":[]}]}]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"After retrieving and transferring all the chunks in a particular set, use the "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"#operation/ContentTransfer_CompleteChunkSetAsync"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Complete a chunk set"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" endpoint to generate a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":".raif"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" file containing that chunk set's data on the "},"children":[]},{"$$mdtype":"Node","type":"em","inline":true,"attributes":{"marker":"*"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"destination"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" environment."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"transferId","in":"path","schemaId":"schema_1323","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The unique identifier of the transfer operation. This is the UUID you provided when you "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"#operation/ContentTransfer_CreateContentTransfer"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"created a content transfer operation"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}],"required":true},{"name":"chunksetId","in":"path","schemaId":"schema_1323","description":"The unique identifier of the chunk set that contains the chunk to be transferred. If you don't know this value, first retrieve details of a content transfer operation.","required":true},{"name":"chunkId","in":"path","schemaId":"schema_1324","description":"The identifier of the chunk to be transferred.","required":true}],"pointer":"/paths/~1sitecore~1api~1content~1transfer~1v1~1transfers~1{transferId}~1chunksets~1{chunksetId}~1chunks~1{chunkId}/put/parameters"},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"isMedia","in":"query","schemaId":"schema_1326","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Whether the chunk contains media content, affecting whether the data is compressed (media) or encrypted (non-media). For a given chunk, obtain this value from the "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"IsMedia"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" parameter in the "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"Content-Disposition"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" response header of the "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"#operation/ContentTransfer_GetChunkAsync"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Retrieve a specific chunk of transfer data"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" endpoint."},"children":[]}]}]}],"required":true}],"pointer":"/paths/~1sitecore~1api~1content~1transfer~1v1~1transfers~1{transferId}~1chunksets~1{chunksetId}~1chunks~1{chunkId}/put/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/octet-stream"],"mediaTypeSchemas":{"application/octet-stream":{"schemaId":"schema_1327"}},"schemaId":"schema_1327","pointer":"/paths/~1sitecore~1api~1content~1transfer~1v1~1transfers~1{transferId}~1chunksets~1{chunksetId}~1chunks~1{chunkId}/put/requestBody","description":"The raw binary stream of chunk data obtained from the paired endpoint (Retrieve a specific chunk of transfer data). Must be forwarded exactly as received, without modification."}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"PUT","path":"/sitecore/api/content/transfer/v1/transfers/{transferId}/chunksets/{chunksetId}/chunks/{chunkId}","servers":[{"url":"https://{host}","variables":{"host":{"default":"your-environment.sitecorecloud.io"}}}],"parameters":{"path":[{"name":"transferId","in":"path","required":true,"schemaId":"schema_1323"},{"name":"chunksetId","in":"path","required":true,"schemaId":"schema_1323"},{"name":"chunkId","in":"path","required":true,"example":0,"schemaId":"schema_1324"}],"query":[{"name":"isMedia","in":"query","required":true,"schemaId":"schema_1326"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]}],"requestBody":{"application/octet-stream":{"schemaId":"schema_1327"}},"responseCodes":["201","400","401","403","500"],"pointer":"/sitecore/api/content/transfer/v1/transfers/{transferId}/chunksets/{chunksetId}/chunks/{chunkId}","href":"content-transfer/contenttransfer_savechunkasync","openApiOperationId":"ContentTransfer_SaveChunkAsync","summary":"Save a data chunk to the destination environment"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{host}","variables":{"host":{"default":"your-environment.sitecorecloud.io"}}}],"schemaId":"schema_1327","mediaTypes":["application/octet-stream"],"mediaTypeSchemas":{"application/octet-stream":{"schemaId":"schema_1327"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"201","description":"Chunk was saved successfully."},{"code":"400","description":"Invalid request data or chunk information.","mediaType":"application/json","mediaTypes":["application/json","text/json","application/xml","text/xml","text/html"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1sitecore~1api~1content~1transfer~1v1~1transfers~1{transferId}~1chunksets~1{chunksetId}~1chunks~1{chunkId}/put/responses/400/content/application~1json/example"]},"text/json":{"schemaId":"components/schemas/ErrorResponse"},"application/xml":{"schemaId":"components/schemas/ErrorResponse"},"text/xml":{"schemaId":"components/schemas/ErrorResponse"},"text/html":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1sitecore~1api~1content~1transfer~1v1~1transfers~1{transferId}~1chunksets~1{chunksetId}~1chunks~1{chunkId}/put/responses/400/content/application~1json/example"]},{"code":"401","description":"Unauthorized.","mediaType":"application/json","mediaTypes":["application/json","text/json","application/xml","text/xml","text/html"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"},"text/json":{"schemaId":"components/schemas/ErrorResponse"},"application/xml":{"schemaId":"components/schemas/ErrorResponse"},"text/xml":{"schemaId":"components/schemas/ErrorResponse"},"text/html":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"},{"code":"403","description":"Forbidden.","mediaType":"application/json","mediaTypes":["application/json","text/json","application/xml","text/xml","text/html"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"},"text/json":{"schemaId":"components/schemas/ErrorResponse"},"application/xml":{"schemaId":"components/schemas/ErrorResponse"},"text/xml":{"schemaId":"components/schemas/ErrorResponse"},"text/html":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"},{"code":"500","description":"Internal server error during chunk processing.","mediaType":"application/json","mediaTypes":["application/json","text/json","application/xml","text/xml","text/html"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"},"text/json":{"schemaId":"components/schemas/ErrorResponse"},"application/xml":{"schemaId":"components/schemas/ErrorResponse"},"text/xml":{"schemaId":"components/schemas/ErrorResponse"},"text/html":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"}],"pointer":"/paths/~1sitecore~1api~1content~1transfer~1v1~1transfers~1{transferId}~1chunksets~1{chunksetId}~1chunks~1{chunkId}/put/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"201"},{"code":"400","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1sitecore~1api~1content~1transfer~1v1~1transfers~1{transferId}~1chunksets~1{chunksetId}~1chunks~1{chunkId}/put/responses/400/content/application~1json/example"],"mediaTypes":["application/json","text/json","application/xml","text/xml","text/html"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1sitecore~1api~1content~1transfer~1v1~1transfers~1{transferId}~1chunksets~1{chunksetId}~1chunks~1{chunkId}/put/responses/400/content/application~1json/example"]},"text/json":{"schemaId":"components/schemas/ErrorResponse"},"application/xml":{"schemaId":"components/schemas/ErrorResponse"},"text/xml":{"schemaId":"components/schemas/ErrorResponse"},"text/html":{"schemaId":"components/schemas/ErrorResponse"}}},{"code":"401","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json","text/json","application/xml","text/xml","text/html"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"},"text/json":{"schemaId":"components/schemas/ErrorResponse"},"application/xml":{"schemaId":"components/schemas/ErrorResponse"},"text/xml":{"schemaId":"components/schemas/ErrorResponse"},"text/html":{"schemaId":"components/schemas/ErrorResponse"}}},{"code":"403","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json","text/json","application/xml","text/xml","text/html"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"},"text/json":{"schemaId":"components/schemas/ErrorResponse"},"application/xml":{"schemaId":"components/schemas/ErrorResponse"},"text/xml":{"schemaId":"components/schemas/ErrorResponse"},"text/html":{"schemaId":"components/schemas/ErrorResponse"}}},{"code":"500","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json","text/json","application/xml","text/xml","text/html"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"},"text/json":{"schemaId":"components/schemas/ErrorResponse"},"application/xml":{"schemaId":"components/schemas/ErrorResponse"},"text/xml":{"schemaId":"components/schemas/ErrorResponse"},"text/html":{"schemaId":"components/schemas/ErrorResponse"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/content-transfer/contenttransfer_savechunkasync"}],"panels":[]}]},"httpPath":"/sitecore/api/content/transfer/v1/transfers/{transferId}/chunksets/{chunksetId}/chunks/{chunkId}"},{"label":"Complete a chunk set","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/sai/content-transfer-api/content-transfer/contenttransfer_completechunksetasync","routeSlug":"/sai/content-transfer-api/content-transfer/contenttransfer_completechunksetasync","metadata":{"seo":{"title":"Complete a chunk set","description":"After all the chunk data in a particular chunk set has been copied to the destination environment, use this endpoint to generate a .raif file containing the chunk set data on that environment. The name of this new file is returned in the body of a successful call to this endpoint."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"ContentTransfer_CompleteChunkSetAsync","name":"Complete a chunk set","isWebhook":false,"pointer":"/paths/~1sitecore~1api~1content~1transfer~1v1~1transfers~1{transferId}~1chunksets~1{chunksetId}~1complete/post","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Complete a chunk set","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"After all the chunk data in a particular chunk set has been copied to the "},"children":[]},{"$$mdtype":"Node","type":"em","inline":true,"attributes":{"marker":"*"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"destination"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" environment, use this endpoint to generate a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":".raif"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" file containing the chunk set data on that environment. The name of this new file is returned in the body of a successful call to this endpoint."},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Make this request in your "},"children":[]},{"$$mdtype":"Node","type":"em","inline":true,"attributes":{"marker":"*"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"destination"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" environment."},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Make sure to complete every chunk set."},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"To incorporate the "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":".raif"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" file data into the destination environment's database, use the separate "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"https://api-docs.sitecore.com/sai/item-transfer"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Item Transfer API"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"transferId","in":"path","schemaId":"schema_1323","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The unique identifier of the transfer operation. This is the UUID you provided when you "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"#operation/ContentTransfer_CreateContentTransfer"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"created a content transfer operation"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}],"required":true},{"name":"chunksetId","in":"path","schemaId":"schema_1323","description":"The unique identifier of the chunk set to complete.","required":true}],"pointer":"/paths/~1sitecore~1api~1content~1transfer~1v1~1transfers~1{transferId}~1chunksets~1{chunksetId}~1complete/post/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/sitecore/api/content/transfer/v1/transfers/{transferId}/chunksets/{chunksetId}/complete","servers":[{"url":"https://{host}","variables":{"host":{"default":"your-environment.sitecorecloud.io"}}}],"parameters":{"path":[{"name":"transferId","in":"path","required":true,"schemaId":"schema_1323"},{"name":"chunksetId","in":"path","required":true,"schemaId":"schema_1323"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]}],"responseCodes":["200","400","401","403","500"],"pointer":"/sitecore/api/content/transfer/v1/transfers/{transferId}/chunksets/{chunksetId}/complete","href":"content-transfer/contenttransfer_completechunksetasync","openApiOperationId":"ContentTransfer_CompleteChunkSetAsync","summary":"Complete a chunk set"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{host}","variables":{"host":{"default":"your-environment.sitecorecloud.io"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Chunk set completed successfully, returns the transfer filename","mediaType":"application/json","mediaTypes":["application/json","text/json","application/xml","text/xml","text/html"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ChunkSetCompleteResponse","exampleIds":["paths/~1sitecore~1api~1content~1transfer~1v1~1transfers~1{transferId}~1chunksets~1{chunksetId}~1complete/post/responses/200/content/application~1json/example"]},"text/json":{"schemaId":"components/schemas/ChunkSetCompleteResponse"},"application/xml":{"schemaId":"components/schemas/ChunkSetCompleteResponse"},"text/xml":{"schemaId":"components/schemas/ChunkSetCompleteResponse"},"text/html":{"schemaId":"components/schemas/ChunkSetCompleteResponse"}},"schemaId":"components/schemas/ChunkSetCompleteResponse","exampleIds":["paths/~1sitecore~1api~1content~1transfer~1v1~1transfers~1{transferId}~1chunksets~1{chunksetId}~1complete/post/responses/200/content/application~1json/example"]},{"code":"400","description":"Invalid chunk set or transfer information","mediaType":"application/json","mediaTypes":["application/json","text/json","application/xml","text/xml","text/html"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1sitecore~1api~1content~1transfer~1v1~1transfers~1{transferId}~1chunksets~1{chunksetId}~1complete/post/responses/400/content/application~1json/example"]},"text/json":{"schemaId":"components/schemas/ErrorResponse"},"application/xml":{"schemaId":"components/schemas/ErrorResponse"},"text/xml":{"schemaId":"components/schemas/ErrorResponse"},"text/html":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1sitecore~1api~1content~1transfer~1v1~1transfers~1{transferId}~1chunksets~1{chunksetId}~1complete/post/responses/400/content/application~1json/example"]},{"code":"401","description":"Unauthorized.","mediaType":"application/json","mediaTypes":["application/json","text/json","application/xml","text/xml","text/html"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"},"text/json":{"schemaId":"components/schemas/ErrorResponse"},"application/xml":{"schemaId":"components/schemas/ErrorResponse"},"text/xml":{"schemaId":"components/schemas/ErrorResponse"},"text/html":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"},{"code":"403","description":"Forbidden.","mediaType":"application/json","mediaTypes":["application/json","text/json","application/xml","text/xml","text/html"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"},"text/json":{"schemaId":"components/schemas/ErrorResponse"},"application/xml":{"schemaId":"components/schemas/ErrorResponse"},"text/xml":{"schemaId":"components/schemas/ErrorResponse"},"text/html":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"},{"code":"500","description":"Internal server error during chunk set completion","mediaType":"application/json","mediaTypes":["application/json","text/json","application/xml","text/xml","text/html"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"},"text/json":{"schemaId":"components/schemas/ErrorResponse"},"application/xml":{"schemaId":"components/schemas/ErrorResponse"},"text/xml":{"schemaId":"components/schemas/ErrorResponse"},"text/html":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"}],"pointer":"/paths/~1sitecore~1api~1content~1transfer~1v1~1transfers~1{transferId}~1chunksets~1{chunksetId}~1complete/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/ChunkSetCompleteResponse","exampleIds":["paths/~1sitecore~1api~1content~1transfer~1v1~1transfers~1{transferId}~1chunksets~1{chunksetId}~1complete/post/responses/200/content/application~1json/example"],"mediaTypes":["application/json","text/json","application/xml","text/xml","text/html"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ChunkSetCompleteResponse","exampleIds":["paths/~1sitecore~1api~1content~1transfer~1v1~1transfers~1{transferId}~1chunksets~1{chunksetId}~1complete/post/responses/200/content/application~1json/example"]},"text/json":{"schemaId":"components/schemas/ChunkSetCompleteResponse"},"application/xml":{"schemaId":"components/schemas/ChunkSetCompleteResponse"},"text/xml":{"schemaId":"components/schemas/ChunkSetCompleteResponse"},"text/html":{"schemaId":"components/schemas/ChunkSetCompleteResponse"}}},{"code":"400","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1sitecore~1api~1content~1transfer~1v1~1transfers~1{transferId}~1chunksets~1{chunksetId}~1complete/post/responses/400/content/application~1json/example"],"mediaTypes":["application/json","text/json","application/xml","text/xml","text/html"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1sitecore~1api~1content~1transfer~1v1~1transfers~1{transferId}~1chunksets~1{chunksetId}~1complete/post/responses/400/content/application~1json/example"]},"text/json":{"schemaId":"components/schemas/ErrorResponse"},"application/xml":{"schemaId":"components/schemas/ErrorResponse"},"text/xml":{"schemaId":"components/schemas/ErrorResponse"},"text/html":{"schemaId":"components/schemas/ErrorResponse"}}},{"code":"401","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json","text/json","application/xml","text/xml","text/html"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"},"text/json":{"schemaId":"components/schemas/ErrorResponse"},"application/xml":{"schemaId":"components/schemas/ErrorResponse"},"text/xml":{"schemaId":"components/schemas/ErrorResponse"},"text/html":{"schemaId":"components/schemas/ErrorResponse"}}},{"code":"403","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json","text/json","application/xml","text/xml","text/html"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"},"text/json":{"schemaId":"components/schemas/ErrorResponse"},"application/xml":{"schemaId":"components/schemas/ErrorResponse"},"text/xml":{"schemaId":"components/schemas/ErrorResponse"},"text/html":{"schemaId":"components/schemas/ErrorResponse"}}},{"code":"500","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json","text/json","application/xml","text/xml","text/html"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"},"text/json":{"schemaId":"components/schemas/ErrorResponse"},"application/xml":{"schemaId":"components/schemas/ErrorResponse"},"text/xml":{"schemaId":"components/schemas/ErrorResponse"},"text/html":{"schemaId":"components/schemas/ErrorResponse"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/content-transfer/contenttransfer_completechunksetasync"}],"panels":[]}]},"httpPath":"/sitecore/api/content/transfer/v1/transfers/{transferId}/chunksets/{chunksetId}/complete"},{"label":"Delete a content transfer and clean up associated resources","deprecated":false,"httpVerb":"delete","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/sai/content-transfer-api/content-transfer/contenttransfer_deletecontenttransfer","routeSlug":"/sai/content-transfer-api/content-transfer/contenttransfer_deletecontenttransfer","metadata":{"seo":{"title":"Delete a content transfer and clean up associated resources","description":"If you no longer need a particular content transfer operation—either because you've finished converting the contents of its chunk sets into .raif files, or because the transfer was unsuccessful or cancelled—use this endpoint to delete the operation and all associated resources that are no longer required."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"ContentTransfer_DeleteContentTransfer","name":"Delete a content transfer and clean up associated resources","isWebhook":false,"pointer":"/paths/~1sitecore~1api~1content~1transfer~1v1~1transfers~1{transferId}/delete","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Delete a content transfer and clean up associated resources","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"If you no longer need a particular content transfer operation—either because you've finished converting the contents of its chunk sets into "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":".raif"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" files, or because the transfer was unsuccessful or cancelled—use this endpoint to delete the operation and all associated resources that are no longer required."},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Make this request in your "},"children":[]},{"$$mdtype":"Node","type":"em","inline":true,"attributes":{"marker":"*"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"source"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" environment."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"transferId","in":"path","schemaId":"schema_1323","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The unique identifier of the transfer operation. This is the UUID you provided when you "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"#operation/ContentTransfer_CreateContentTransfer"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"created a content transfer operation"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}],"required":true}],"pointer":"/paths/~1sitecore~1api~1content~1transfer~1v1~1transfers~1{transferId}/delete/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"DELETE","path":"/sitecore/api/content/transfer/v1/transfers/{transferId}","servers":[{"url":"https://{host}","variables":{"host":{"default":"your-environment.sitecorecloud.io"}}}],"parameters":{"path":[{"name":"transferId","in":"path","required":true,"schemaId":"schema_1323"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]}],"responseCodes":["202","401","403","404"],"pointer":"/sitecore/api/content/transfer/v1/transfers/{transferId}","href":"content-transfer/contenttransfer_deletecontenttransfer","openApiOperationId":"ContentTransfer_DeleteContentTransfer","summary":"Delete a content transfer and clean up associated resources"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{host}","variables":{"host":{"default":"your-environment.sitecorecloud.io"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"202","description":"Content transfer was deleted successfully."},{"code":"401","description":"Unauthorized.","mediaType":"application/json","mediaTypes":["application/json","text/json","application/xml","text/xml","text/html"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"},"text/json":{"schemaId":"components/schemas/ErrorResponse"},"application/xml":{"schemaId":"components/schemas/ErrorResponse"},"text/xml":{"schemaId":"components/schemas/ErrorResponse"},"text/html":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"},{"code":"403","description":"Forbidden.","mediaType":"application/json","mediaTypes":["application/json","text/json","application/xml","text/xml","text/html"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"},"text/json":{"schemaId":"components/schemas/ErrorResponse"},"application/xml":{"schemaId":"components/schemas/ErrorResponse"},"text/xml":{"schemaId":"components/schemas/ErrorResponse"},"text/html":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"},{"code":"404","description":"Transfer with the specified ID was not found.","mediaType":"application/json","mediaTypes":["application/json","text/json","application/xml","text/xml","text/html"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1sitecore~1api~1content~1transfer~1v1~1transfers~1{transferId}/delete/responses/404/content/application~1json/example"]},"text/json":{"schemaId":"components/schemas/ErrorResponse"},"application/xml":{"schemaId":"components/schemas/ErrorResponse"},"text/xml":{"schemaId":"components/schemas/ErrorResponse"},"text/html":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1sitecore~1api~1content~1transfer~1v1~1transfers~1{transferId}/delete/responses/404/content/application~1json/example"]}],"pointer":"/paths/~1sitecore~1api~1content~1transfer~1v1~1transfers~1{transferId}/delete/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"202"},{"code":"401","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json","text/json","application/xml","text/xml","text/html"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"},"text/json":{"schemaId":"components/schemas/ErrorResponse"},"application/xml":{"schemaId":"components/schemas/ErrorResponse"},"text/xml":{"schemaId":"components/schemas/ErrorResponse"},"text/html":{"schemaId":"components/schemas/ErrorResponse"}}},{"code":"403","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json","text/json","application/xml","text/xml","text/html"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"},"text/json":{"schemaId":"components/schemas/ErrorResponse"},"application/xml":{"schemaId":"components/schemas/ErrorResponse"},"text/xml":{"schemaId":"components/schemas/ErrorResponse"},"text/html":{"schemaId":"components/schemas/ErrorResponse"}}},{"code":"404","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1sitecore~1api~1content~1transfer~1v1~1transfers~1{transferId}/delete/responses/404/content/application~1json/example"],"mediaTypes":["application/json","text/json","application/xml","text/xml","text/html"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1sitecore~1api~1content~1transfer~1v1~1transfers~1{transferId}/delete/responses/404/content/application~1json/example"]},"text/json":{"schemaId":"components/schemas/ErrorResponse"},"application/xml":{"schemaId":"components/schemas/ErrorResponse"},"text/xml":{"schemaId":"components/schemas/ErrorResponse"},"text/html":{"schemaId":"components/schemas/ErrorResponse"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/content-transfer/contenttransfer_deletecontenttransfer"}],"panels":[]}]},"httpPath":"/sitecore/api/content/transfer/v1/transfers/{transferId}"}],"content":{"contentType":"group","meta":{"name":"Content transfer"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Content transfer","showPageActions":true},{"nodeType":"markdoc","content":"API endpoints for content transfer operations."}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/sitecore/api/content/transfer/v1/transfers","summary":"Create a content transfer operation","prefix":{"name":"post","color":"post"},"badges":[],"link":"/content-transfer/contenttransfer_createcontenttransfer","deprecated":false},{"title":"/sitecore/api/content/transfer/v1/transfers/{transferId}/status","summary":"Retrieve details of a content transfer operation","prefix":{"name":"get","color":"get"},"badges":[],"link":"/content-transfer/contenttransfer_getcontenttransferstatus","deprecated":false},{"title":"/sitecore/api/content/transfer/v1/transfers/{transferId}/chunksets/{chunksetId}/chunks/{chunkId}","summary":"Retrieve a specific chunk of transfer data","prefix":{"name":"get","color":"get"},"badges":[],"link":"/content-transfer/contenttransfer_getchunkasync","deprecated":false},{"title":"/sitecore/api/content/transfer/v1/transfers/{transferId}/chunksets/{chunksetId}/chunks/{chunkId}","summary":"Save a data chunk to the destination environment","prefix":{"name":"put","color":"put"},"badges":[],"link":"/content-transfer/contenttransfer_savechunkasync","deprecated":false},{"title":"/sitecore/api/content/transfer/v1/transfers/{transferId}/chunksets/{chunksetId}/complete","summary":"Complete a chunk set","prefix":{"name":"post","color":"post"},"badges":[],"link":"/content-transfer/contenttransfer_completechunksetasync","deprecated":false},{"title":"/sitecore/api/content/transfer/v1/transfers/{transferId}","summary":"Delete a content transfer and clean up associated resources","prefix":{"name":"delete","color":"delete"},"badges":[],"link":"/content-transfer/contenttransfer_deletecontenttransfer","deprecated":false}]}]}]}]}}],"store":{"schemaStore":{"components/schemas/CreateContentTransferRequest":{"id":"components/schemas/CreateContentTransferRequest","kind":"json-schema","title":"CreateContentTransferRequest","data":{"type":"object","properties":{"Configuration":{"$ref":"#/components/schemas/TransferConfiguration"},"TransferId":{"type":"string","format":"uuid","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A universally unique identifier (UUID) representing the transfer. This is a value of your choice."},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Format: "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" and containing only hexadecimal characters ("},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"0"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"-"},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"9"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"a"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"-"},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"f"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":")."},"children":[]}]}]}],"example":"00000000-0000-0000-0000-000000000000"}},"example":{"Configuration":{"DataTrees":[{"ItemPath":"/sitecore/content/Home","Scope":"SingleItem","MergeStrategy":"OverrideExistingItem"},{"ItemPath":"/sitecore/media library/Images","Scope":"SingleItem","MergeStrategy":"OverrideExistingItem"}],"Database":"master"},"TransferId":"12345678-1234-1234-1234-123456789abc"}}},"components/schemas/TransferConfiguration":{"id":"components/schemas/TransferConfiguration","kind":"json-schema","title":"TransferConfiguration","data":{"type":"object","properties":{"DataTrees":{"type":"array","description":"One or more objects representing the content items you want to transfer. Each object represents an item at a specific path, determines whether to include descendants, and specifies how to handle conflicts with existing files.","items":{"$ref":"#/components/schemas/DataTree"}},"Database":{"type":"string","description":"The name of the database associated with the source.","example":"master"}}}},"components/schemas/DataTree":{"id":"components/schemas/DataTree","kind":"json-schema","title":"DataTree","data":{"type":"object","properties":{"ItemPath":{"type":"string","description":"The path of the content item you want to transfer.","example":"/sitecore/content/Home/MyItem"},"Scope":{"type":"string","description":"Whether the specified item should be transferred on its own or include all descendants.","enum":["SingleItem","ItemAndDescendants"],"default":"SingleItem"},"MergeStrategy":{"type":"string","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The method you want to use to handle conflicts with items that already exist in the destination. "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"OverrideExistingTree"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" removes the item and all its descendants from the destination before writing the transferred items. This is the only strategy that can delete existing items."},"children":[]}]}]}],"enum":["OverrideExistingItem","KeepExistingItem","OverrideExistingTree"],"default":"OverrideExistingItem"}}}},"components/schemas/ErrorResponse":{"id":"components/schemas/ErrorResponse","kind":"json-schema","title":"ErrorResponse","data":{"type":"object","properties":{"Error":{"type":"string"}}}},"components/schemas/ContentTransferCreationStatusResponse":{"id":"components/schemas/ContentTransferCreationStatusResponse","kind":"json-schema","title":"ContentTransferCreationStatusResponse","data":{"type":"object","properties":{"State":{"type":"string","description":"The current status of the transfer operation.","readOnly":true,"enum":["Running","Completed","Failed","NotFound"]},"ChunkSetsMetadata":{"type":"array","description":"Metadata for the chunk sets in the transfer operation.","readOnly":true,"items":{"$ref":"#/components/schemas/ChunkSetMetadata"}}}}},"components/schemas/ChunkSetMetadata":{"id":"components/schemas/ChunkSetMetadata","kind":"json-schema","title":"ChunkSetMetadata","data":{"type":"object","properties":{"ChunkSetId":{"type":"string","description":"The unique identifier of the chunk set.","format":"uuid","example":"00000000-0000-0000-0000-000000000000"},"ChunkCount":{"type":"integer","description":"The number of chunks in the set.","format":"int32"},"TotalItemCount":{"type":"integer","description":"The number of content and media items in the chunk set.","format":"int32"}}}},"components/schemas/ChunkSetCompleteResponse":{"id":"components/schemas/ChunkSetCompleteResponse","kind":"json-schema","title":"ChunkSetCompleteResponse","data":{"type":"object","properties":{"ContentTransferFileName":{"type":"string","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The name of the "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":".raif"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" file, automatically generated based on the identifier of the source data."},"children":[]}]}]}],"readOnly":true}}}},"schema_1323":{"kind":"json-schema","data":{"type":"string","format":"uuid"},"id":"schema_1323"},"schema_1324":{"kind":"json-schema","data":{"type":"integer","format":"int32","example":0,"default":0},"id":"schema_1324"},"schema_1325":{"kind":"json-schema","data":{"type":"string","format":"byte"},"id":"schema_1325"},"schema_1326":{"kind":"json-schema","data":{"type":"boolean"},"id":"schema_1326"},"schema_1327":{"kind":"json-schema","data":{"type":"string","format":"binary"},"id":"schema_1327"}},"exampleStore":{"paths/~1sitecore~1api~1content~1transfer~1v1~1transfers/post/responses/400/content/application~1json/example":{"value":{"Error":"Transfer configuration validation failed: Invalid item path '/sitecore/content/invalid-path'"},"id":"paths/~1sitecore~1api~1content~1transfer~1v1~1transfers/post/responses/400/content/application~1json/example"},"paths/~1sitecore~1api~1content~1transfer~1v1~1transfers~1{transferId}~1status/get/responses/200/content/application~1json/example":{"value":{"State":"Completed","ChunkSetsMetadata":[{"ChunkSetId":"87654321-4321-4321-4321-cba987654321","ChunkCount":3,"TotalItemCount":150},{"ChunkSetId":"11223344-5566-7788-9900-aabbccddeeff","ChunkCount":1,"TotalItemCount":25}]},"id":"paths/~1sitecore~1api~1content~1transfer~1v1~1transfers~1{transferId}~1status/get/responses/200/content/application~1json/example"},"paths/~1sitecore~1api~1content~1transfer~1v1~1transfers~1{transferId}~1status/get/responses/404/content/application~1json/example":{"value":{"Error":"Transfer with ID '12345678-1234-1234-1234-123456789abc' was not found"},"id":"paths/~1sitecore~1api~1content~1transfer~1v1~1transfers~1{transferId}~1status/get/responses/404/content/application~1json/example"},"paths/~1sitecore~1api~1content~1transfer~1v1~1transfers~1{transferId}~1chunksets~1{chunksetId}~1chunks~1{chunkId}/get/responses/200/content/application~1json/example":{"value":"UkFJRgEAAAA=","id":"paths/~1sitecore~1api~1content~1transfer~1v1~1transfers~1{transferId}~1chunksets~1{chunksetId}~1chunks~1{chunkId}/get/responses/200/content/application~1json/example"},"paths/~1sitecore~1api~1content~1transfer~1v1~1transfers~1{transferId}~1chunksets~1{chunksetId}~1chunks~1{chunkId}/get/responses/400/content/application~1json/example":{"value":{"Error":"Chunk set with ID '87654321-4321-4321-4321-cba987654321' doesn't exist"},"id":"paths/~1sitecore~1api~1content~1transfer~1v1~1transfers~1{transferId}~1chunksets~1{chunksetId}~1chunks~1{chunkId}/get/responses/400/content/application~1json/example"},"paths/~1sitecore~1api~1content~1transfer~1v1~1transfers~1{transferId}~1chunksets~1{chunksetId}~1chunks~1{chunkId}/get/responses/404/content/application~1json/example":{"value":{"Error":"Chunk set with ID '87654321-4321-4321-4321-cba987654321' doesn't exist"},"id":"paths/~1sitecore~1api~1content~1transfer~1v1~1transfers~1{transferId}~1chunksets~1{chunksetId}~1chunks~1{chunkId}/get/responses/404/content/application~1json/example"},"paths/~1sitecore~1api~1content~1transfer~1v1~1transfers~1{transferId}~1chunksets~1{chunksetId}~1chunks~1{chunkId}/put/responses/400/content/application~1json/example":{"value":{"Error":"Transfer configuration validation failed: Invalid item path '/sitecore/content/invalid-path'"},"id":"paths/~1sitecore~1api~1content~1transfer~1v1~1transfers~1{transferId}~1chunksets~1{chunksetId}~1chunks~1{chunkId}/put/responses/400/content/application~1json/example"},"paths/~1sitecore~1api~1content~1transfer~1v1~1transfers~1{transferId}~1chunksets~1{chunksetId}~1complete/post/responses/200/content/application~1json/example":{"value":{"ContentTransferFileName":"content-transfer-12345678-1234-1234-1234-123456789abc.raif"},"id":"paths/~1sitecore~1api~1content~1transfer~1v1~1transfers~1{transferId}~1chunksets~1{chunksetId}~1complete/post/responses/200/content/application~1json/example"},"paths/~1sitecore~1api~1content~1transfer~1v1~1transfers~1{transferId}~1chunksets~1{chunksetId}~1complete/post/responses/400/content/application~1json/example":{"value":{"Error":"Transfer configuration validation failed: Invalid item path '/sitecore/content/invalid-path'"},"id":"paths/~1sitecore~1api~1content~1transfer~1v1~1transfers~1{transferId}~1chunksets~1{chunksetId}~1complete/post/responses/400/content/application~1json/example"},"paths/~1sitecore~1api~1content~1transfer~1v1~1transfers~1{transferId}/delete/responses/404/content/application~1json/example":{"value":{"Error":"Transfer with ID '12345678-1234-1234-1234-123456789abc' was not found"},"id":"paths/~1sitecore~1api~1content~1transfer~1v1~1transfers~1{transferId}/delete/responses/404/content/application~1json/example"}},"securitySchemeStore":{"bearerAuth":{"id":"bearerAuth","type":"http","scheme":"bearer","bearerFormat":"JWT"}},"servers":[{"url":"https://{host}","variables":{"host":{"default":"your-environment.sitecorecloud.io","description":"The environment host name."}}}],"specType":"openapi"},"options":{"hideInfoMetadata":true,"sanitize":true,"sortRequiredPropsFirst":true,"corsProxyUrl":"https://cors.redoc.ly","mockServer":{"off":true,"position":"off"},"disableRouter":true,"downloadUrls":[{"url":"/_bundle/sai/content-transfer-api/index.json?download"},{"url":"/_bundle/sai/content-transfer-api/index.yaml?download"}],"excludeFromSearch":false,"replayFeatures":{"graphql":false},"specType":"openapi","markdocOptions":{"tags":{},"nodes":{},"components":{}},"metadata":{"title":"Content Transfer API","description":"The Content Transfer REST API allows SitecoreAI *Organization Admins* and *Organization Owners* to initiate, monitor, and finalize content transfer operations for migrating content data from one SitecoreAI environment (the *source*) to another (the *destination*). This enables efficient transfer of data between environments using chunked data streaming with encryption and compression support.\n\nEach transfer operation includes at least one set of chunked data, where each chunk set represents a single data tree that was nominated for transfer. When an operation is complete, each of its chunk sets will be represented by a `.raif` file in the *destination* environment. To finish integrating the transferred data, use the separate [Item Transfer API](https://api-docs.sitecore.com/sai/item-transfer) to have the destination database consume the `.raif` files.\n\nNote the following:\n- To use this REST API, you must authorize your API requests.\n- You must be an *Organization Admin* or *Organization Owner* to use this API. \n- Different endpoints in this API are called against different environments. You will switch between a *source* base URL and a *destination* base URL depending on the step in the workflow. Each endpoint description specifies which environment to use.\n\n# Migrating content\n\nNote: If you previously used the Package Designer for content migrations, [review the differences](https://doc.sitecore.com/sai/en/developers/sitecoreai/deploying-sitecoreai/migrating-content-between-sitecoreai-environments.html) between the designer and the modern API-based approach.\n\nThe Content Transfer API covers the *source* side of a content migration. After completing the steps in this API, use the [Item Transfer API](https://api-docs.sitecore.com/sai/item-transfer) to incorporate the transferred data into the destination database.\n\nBefore you begin, ensure you have the *Organization Admin* or *Organization Owner* role, and that you have determined your *source* and *destination* [base URLs](#section/base-url) and created a [JWT](#section/authorization) for each environment. \n\n## Create the transfer\n\nIn your *source* environment, [create a content transfer operation](#operation/ContentTransfer_CreateContentTransfer) using a unique transfer ID of your choice. For each item you want to transfer, specify the item path, whether to include descendants, and how to handle conflicts with existing items in the destination. Depending on how much data is being transferred, the operation creates one or more chunk sets.\n\nEnsure that the item's parent chain already exists in the destination environment with the same item IDs. If it does not, the item will transfer successfully but will not appear in the content tree. To avoid this, transfer from a common ancestor using `Scope: ItemAndDescendants`, or transfer the parent items first.\n\n## Wait for the transfer to be ready\n\n[Poll the operation details](#operation/ContentTransfer_GetContentTransferStatus) in your *source* environment until `State` is `Completed`. If `State` is `Failed`, create a new transfer operation. For each chunk set in the response, record the `ChunkSetId` and `ChunkCount` because you'll need them to retrieve and save the chunks.\n\n## Transfer chunks\n\nFor each chunk set, repeat the following for every chunk in the set:\n\n1. In your *source* environment, [retrieve the chunk](#operation/ContentTransfer_GetChunkAsync). Make one request per chunk, using `chunkId` values `0` through `ChunkCount - 1`. Note the `IsMedia` value from the `Content-Disposition` response header because you'll need it when saving the chunk. You can retrieve multiple chunks in parallel.\n2. In your *destination* environment, [save the chunk](#operation/ContentTransfer_SaveChunkAsync), forwarding the binary stream exactly as received without modification. You can save chunks in parallel with retrieval, but every chunk must be saved before completing the chunk set.\n\nAfter all chunks in a set are saved, [complete the chunk set](#operation/ContentTransfer_CompleteChunkSetAsync) in your *destination* environment. This generates a `.raif` file and returns its name. Record the name for use in the Item Transfer API. Repeat for every chunk set in the operation.\n\n## Delete the transfer\n\n[Delete the transfer operation](#operation/ContentTransfer_DeleteContentTransfer) from your *source* environment to clean up all associated resources. You can do this immediately after downloading all chunks from the *source* environment. \n\n## Next steps\n\nProceed to the [Item Transfer API](https://api-docs.sitecore.com/sai/item-transfer) to incorporate the `.raif` files into the destination database.\n\n# Base URL\nIn the base URL, replace `{host}` with your environment host name. You need two base URLs: one for your *source* environment (where you're migrating data from) and one for your *destination* environment (where you're migrating data to). You will switch between them as you follow the migration workflow.\n\nFind the environment host name in SitecoreAI Deploy > **Projects** > your project > **Authoring environments** > your environment > **Details** > **Environment host name**.\n\nExample environment host name: `your-environment.sitecorecloud.io`\n\n# Authorization\nTo authorize your requests, use environment automation client credentials and generate a JSON Web Token (JWT).\n\nNote: To create client credentials, you must be an [Organization Admin or Organization Owner](https://doc.sitecore.com/portal/en/developers/sitecore-cloud-portal/roles.html).\n\n## Create an automation client\n1. In the Sitecore Cloud Portal, open SitecoreAI Deploy.\n2. Click **Credentials** > **Environment** > **Create credentials** > **Automation**.\n3. Fill out the automation client details, then click **Create**.\n4. Copy the client ID and the client secret because you won't be able to view them again in SitecoreAI Deploy. You'll use them to request a JWT.\n\n## Request a JWT\n\nRun the following cURL command to request a JWT. Replace the placeholder values with your client ID and client secret.\n```curl\n  curl -X POST 'https://auth.sitecorecloud.io/oauth/token' \\\n  --header 'Content-Type: application/x-www-form-urlencoded' \\\n  --data-urlencode 'client_id={YOUR_CLIENT_ID}' \\\n  --data-urlencode 'client_secret={YOUR_CLIENT_SECRET}' \\\n  --data-urlencode 'grant_type=client_credentials' \\\n  --data-urlencode 'audience=https://api.sitecorecloud.io'\n```\n\nThe JWT expires in 24 hours. If your requests unexpectedly return a response with status `403 Forbidden`, request a new JWT by repeating this `POST` request.\n\nWe recommend that you cache the JWT for 24 hours to avoid repeating this `POST` request while the JWT is still valid.\n\n## Include the JWT in the request header\n\nYou can now start making REST API requests. You must include the JWT in the request header of every request. For example:\n```curl\n  curl -X GET '{YOUR_BASE_URL}/...' \\\n  -H 'Authorization: Bearer {YOUR_JWT}' \\\n  -H 'Accept: application/json'\n```\n","product":"SitecoreAI"}},"baseSlug":"/sai/content-transfer-api","routesMapping":{}}