Skip to main content
POST
/
api
/
v2
/
runs
/
{runId}
:create-automatic-run-association-for-assets
CreateAutomaticRunAssociationForAssets
curl --request POST \
  --url https://your-sift-api-url.com/api/v2/runs/{runId}:create-automatic-run-association-for-assets \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "assetNames": [
    "<string>"
  ]
}'
{}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

runId
string
required

The ID of the run to associate the asset with.

Body

application/json
assetNames
string[]
required

A list of asset names to automatically associate with the run. Any data that is received for these assets will automatically added to the run. This applies even if the run has concluded, so long as the new data contains timestamps that are between the start_time and stop_time. If any of the assets are already associated with a different run whose run period (the period between start_time and end_time) overlaps with the requested run period, an error will be returned.

Response

A successful response.

The response is of type object.