Skip to content

Publish (or clear) the manual source→robot mapping

POST
/v1/datasets/{dataset_id}/source-robot
curl --request POST \
--url https://example.com/v1/datasets/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/source-robot \
--header 'Content-Type: application/json' \
--data '{ "robot_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0" }'

Set every episode of the source dataset to one fleet robot — the manual edge; never inferred. robot_id: null clears the mapping.

dataset_id
required
string format: uuid
account_id

Act on this account (active)

string | null format: uuid

Act on this account (active)

x-api-key
string | null
Media type application/json
SetSourceRobotBody
object
robot_id
string | null format: uuid
Example generated
{
"robot_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"
}

Successful Response

Media type application/json
Example generated
example

Validation Error

Media type application/json
HTTPValidationError
object
detail
Array<object>
ValidationError
object
loc
required
Location
Array<string | integer>
msg
required
Message
string
type
required
Error Type
string
input
ctx
Context
object
Example generated
{
"detail": [
{
"loc": [
"example"
],
"msg": "example",
"type": "example",
"input": "example",
"ctx": {}
}
]
}