Heartbeat of the uploader: the uploading page calls this about every minute while it hashes or sends bytes, so the batch is told apart from an abandoned one. 409 UPLOAD_BATCH_NOT_DISCARDABLE once the batch is no longer in progress.
POST
/v1/upload-batches/{batchId}/activity-requestscurl -X POST 'https://api.embodiflow.io/v1/upload-batches/{batchId}/activity-requests' \
-H 'Authorization: Bearer $EMBODIFLOW_PAT'Authorization
Send a personal access token with every request.
- Authorization: Bearer PAT
Path parameters
- batchIdstringrequired
Header parameters
- Idempotency-Keystring
Optional idempotency key, at most 255 characters (UUIDv4 recommended). A repeated key returns the first response byte-for-byte, including a 5xx. The same key with a different body, or a second in-flight request, returns 409 IDEMPOTENCY_CONFLICT. Keys are unique per tenant and retained for 24 hours.
Responses
Success
- dataobjectrequired
- lastActivityAtstringrequired
Response example
{
"data": {
"lastActivityAt": "string"
}
}Servershttps://api.embodiflow.io/v1https://api.embodiflow.dev/v1