Create Or Update Run

Updates a run if it exists, otherwise it’s created from scratch. Will throw if the workspace of an existing run is different from the workspace of the request.

Headers

AuthorizationstringRequired

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

Request

This endpoint expects an object.
createRunRequestobjectRequired
runRidstringOptional

If a run with the same rid already exists, it will be updated. Otherwise, a new run will be created.

Response

This endpoint returns an object.
ridstring
runNumberlong
titlestring
descriptionstring
startTimeobject
propertiesmap from strings to strings
labelsset of strings
createdAtdatetime
updatedAtdatetime
assetDataScopeslist of objects

returns the data scopes for the assets associated with the run.

dataSourcesmap from strings to objects
attachmentsset of strings
assetslist of strings
isArchivedboolean
runPrefixstringOptional
authorRidstringOptional
endTimeobjectOptional
assetstringOptional