`POST /api/v1/assignments/{name}/plan` — plan an assignment against every agent its selector currently matches.
POST
/api/v1/assignments/{name}/plan
const url = 'https://example.com/api/v1/assignments/example/plan';const options = {method: 'POST'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/api/v1/assignments/example/planParameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” name
required
string
Assignment name
Responses
Section titled “ Responses ”Per-agent plan outcomes
Media type application/json
Example generated
exampleAssignment not found