cURL
curl --request PATCH \ --url https://api.sftpsync.io/pipeline-runs/{id}/status \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data ' { "status": "acknowledged" } '
{ "id": "<string>", "filename": "<string>", "status": "pending", "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z", "clientId": "<string>", "workspaceId": "<string>", "path": "<string>", "size": 123, "mimetype": "<string>", "metadata": {}, "errorMessage": "<string>", "processedAt": "2023-11-07T05:31:56Z", "schemaId": "<string>", "pipelineId": "<string>" }
acknowledged
Updated pipeline run
pending
processing
completed
failed