Skip to main content
POST
Move a shared rule to all sequences

Authorizations

X-API-Key
string
header
required

Query Parameters

dry_run
boolean
default:false

Check it and answer the rule as all sequences would keep it.

Body

application/json

Keep a rule several sequences share once, for all sequences.

ids
string<uuid>[]
required

The rule's copies, as the overlap lists them (learning_ids).

Required array length: 1 - 500 elements

Response

Successful Response

What keeping a shared rule once, for all sequences, did.

learning
AgentLearningReadSchema · object
required

The rule as all sequences keep it (on a dry run, would keep it).

updated
integer
required

How many copies this call moved or removed (on a dry run, would): the newest moved unless all sequences keep it already, and the rest removed. A copy edited meanwhile stays, and is not counted.