Skip to content

`POST /api/v1/agents/{node_id}/apply` — apply modules to an agent.

POST
/api/v1/agents/{node_id}/apply
curl --request POST \
--url https://example.com/api/v1/agents/example/apply \
--header 'Content-Type: application/json' \
--data '{ "modules": [ "example" ] }'
node_id
required
string

Agent node ID

Media type application/json

Request body for POST /api/v1/agents/{node_id}/apply and plan.

object
modules
required

Module names to apply/plan.

Array<string>
Example generated
{
"modules": [
"example"
]
}

Apply result

Media type application/json
Example generated
example

Invalid request body or module

Agent or module not found