Skip to content

Stores one operator choice on the existing run row.

PUT
/v1/m/sessions/runs/{ref}/peers
curl --request PUT \
--url https://example.com/v1/m/sessions/runs/example/peers \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "peers": [ "example" ], "peers_rule": "same-template" }'

Stores one operator choice on the existing run row. The route supplies run-write authorization in the run’s recorded workspace.

ref
required
string

Path parameter ref.

X-Olivares-Tenant
string format: uuid

Target tenant id; required when the principal can act in more than one tenant.

Media type application/json
One of:
object
peers
required

The sessions this run may message or hand work to. Send this or peers_rule, not both.

Array<string>
<= 128 items unique items
peers_rule

Every live session launched from the same template in this folder. Send this or peers, not both.

string
Allowed values: same-template

OK

Media type application/json
object
Example generated
{}

Bad request

Media type application/json
object
Example generated
{}

Unauthenticated

Media type application/json
object
Example generated
{}

Forbidden

Media type application/json
object
Example generated
{}

Not found

Media type application/json
object
Example generated
{}

Conflict / setup required

Media type application/json
object
Example generated
{}

Rate limited

Media type application/json
object
Example generated
{}