Configure SFTP Delivery
Delivery
Configure SFTP Delivery
Set up secure SFTP server delivery for squid run results
POST
Configure SFTP Delivery
Configure SFTP delivery to securely store run results on your own SFTP server. Results will be automatically uploaded to your specified server and directory when runs complete.
Headers
Your API authentication token. Value:
Token YOUR_API_KEYMust be application/json. Value:
application/jsonQuery Parameters
The unique identifier (hash) of the squid for which to configure SFTP delivery. Example:
c106a44a98044ef18acc59986ae10967Request Body
SFTP server hostname or IP address. Example:
"sftp.example.com"SFTP server port number (default is 22). Example:
22Username for SFTP authentication. Example:
"user"Password for SFTP authentication. Example:
"myC00lP@ssword"Target directory path on the SFTP server where files will be uploaded. Example:
"/upload/path"Set to true to enable SFTP delivery, false to disable. Example:
trueResponse Field Explanations
SFTP server hostname. Example:
"sftp.example.com"SFTP server port. Example:
22SFTP username. Example:
"user"SFTP password (returned in response). Example:
"myC00lP@ssword"Target directory path. Example:
"/upload/path"Whether SFTP delivery is active. Example:
trueThe directory path must exist on the server. Lobstr will not create directories automatically.
Code Examples
Response
201