Source Control
Authorizations
X-N8N-API-KEYstringRequired
Body
forcebooleanOptionalExample:
trueautoPublishstring · enumOptionalDefault:
Controls automatic workflow publishing after import:
none: Keep workflows in their local published state (default)all: Publish all imported workflowspublished: Publish only workflows that were published locally before import
noneExample: publishedPossible values: Responses
200
Pull result containing the list of files that were pulled from the remote repository.
application/json
filestringRequired
idstringRequired
namestringRequired
typestring · enumRequiredPossible values:
statusstring · enumRequiredPossible values:
locationstring · enumRequiredPossible values:
conflictbooleanRequired
updatedAtstringRequired
pushedbooleanOptional
isLocalPublishedbooleanOptional
isRemoteArchivedbooleanOptional
parentFolderIdstring · nullableOptional
folderPathstring[]Optional
publishingErrorstringOptional
400
The request is invalid or provides malformed data.
409
Conflict due to uncommitted local changes or merge conflicts. The response body lists every file in the pull diff; files causing the conflict have conflict: true or status: modified. Retry with force=true to discard local changes.
application/json
post/source-control/pull
Last updated
Was this helpful?