POST
/v1/internal/agent-insights/enrollmentEnrol projects in the auto-first-run rolloutEnrols the given projects, creating their job row if needed, or clears their enrolment. Idempotent.
Request body
requiredapplication/json
objectRequest
enrolledbooleanrequiredTrue enrols the given projects, false clears their enrolment
project_idsarray of string · uuidrequiredShow child attributes
{
"enrolled": true,
"project_ids": [
"00000000-0000-0000-0000-000000000000"
]
}Responses
objectResponse
already_run_project_idsarray of string · uuidIds whose automatic run already happened, so enrolling has no effect
Show child attributes
clearedinteger · int32enrolledinteger · int32unknown_project_idsarray of string · uuidIds that match no project
Show child attributes
{
"already_run_project_ids": [
"00000000-0000-0000-0000-000000000000"
],
"cleared": 0,
"enrolled": 0,
"unknown_project_ids": [
"00000000-0000-0000-0000-000000000000"
]
}