{"enrollment": "required", "method": "POST", "required_fields": {"taskArn": "Your ECS task ARN from the container metadata service. Retrieve it by querying the ECS_CONTAINER_METADATA_URI_V4 environment variable with /task appended, e.g.: curl $ECS_CONTAINER_METADATA_URI_V4/task and use the TaskARN field.", "containerId": "Your container ID from the metadata response."}, "example": {"taskArn": "arn:aws:ecs:us-east-1:123456789:task/cluster-name/abc123", "containerId": "abc123def456"}, "note": "After enrollment, use the returned token to access /api/admin, /api/containers, and other protected endpoints. Alternatively, download and run the Agent SDK at /api/agent/sdk for automated enrollment and continuous task management."}